diff options
author | Lyn Han <lynhan@google.com> | 2020-03-12 10:31:19 -0700 |
---|---|---|
committer | Lyn Han <lynhan@google.com> | 2020-03-13 04:37:17 +0000 |
commit | bf1b3d66315010b1671124017edad7f3d5f709c3 (patch) | |
tree | d542b3e2dd781d2f0d3f01348980a74969b69f91 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 28ab493385d3b3875bfe0fd4b24633b633f85bb8 (diff) |
Move overflow bubble to stack on update
BubbleData#getOrCreateBubble is called per update, pre-inflation
- If bubble overflowed, remove it from overflow list,
- add it to pending bubbles, where it will be removed on
notificationEntryUpdated, post inflation
- return this bubble instead of creating a new one
Fixes: 150396294
Test: atest SystemUITests
Test: manual
1. Add people bubbles
2. Add more bubbles to get people in overflow
3. Add bubbles for same people, so that they are "active" in stack
4. Go to overflow => overflow no longer shows people "active" in stack
Change-Id: I79c1ba92533169da0e82414f2ad507cbf20d8561
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions