diff options
author | Mady Mellor <madym@google.com> | 2020-06-10 22:04:23 -0700 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2020-06-11 08:42:15 -0700 |
commit | 55ddc123e6c2f077194315f90f360d4aabd17252 (patch) | |
tree | 0521660860a9f9e883b1de8fa74e244c0ab80d76 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a27465258acbc7e4f0007cf2ab3d0cbfd1294893 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions