diff options
author | Mady Mellor <madym@google.com> | 2021-10-07 17:57:26 -0700 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2021-10-07 18:19:28 -0700 |
commit | 5981b9fa2707c22ad98e34b889507d4a0d747dbe (patch) | |
tree | 39b1cacfe4b35b1a82b19be0657b3fd05747139b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 356b103c6ff8fb9cfb96f4830ce4494c42e073e0 (diff) |
Fix an issue that caused an NPE
If the overflow is empty when the last bubble
is dismissed we collapse the stack. If it's not empty
we show the overflow contents.
We were overflowing bubbles AFTER making the choice
to select the overflow or collapse the stack which
causes problems.
Test: atest BubbleDataTest
Test: manual - have 1 bubble and an empty overflow
- navigate to the overflow, dismiss the bubble
=> no crash
Bug: 202320538
Change-Id: Ic838c5c61bcd714d8de94672d3c4ed753d4f6fa6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions