Skip to content
Commit 55ddc123 authored by Mady Mellor's avatar Mady Mellor
Browse files

Prevent NPE when dragging last bubble from expanded state

- We null out stackview when it's removed from the window, this happens
  when the last bubble is removed from the view
- When the last bubble is dragged out, we trigger some other updates
  these get applied *after* the remove step so stackview is null at that
  time. These updates are to set selected bubble to null & collapse the
  stack. These don't technically need to tell stackView about them.
- I don't think this is an ideal solution

Test: drag out last bubble while stack is expanded
Fixes: 157778325
Change-Id: Ia55bf3ba315599ed8afb390ad481e0d3700b1b97
parent a2746525
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment