diff options
| author | 2022-04-14 23:49:07 +0000 | |
|---|---|---|
| committer | 2022-04-14 23:54:28 +0000 | |
| commit | 6827e13a2d71b3c6c14bbf3a70f0ceccd0c5129f (patch) | |
| tree | edc522db3af2cb4b9fa9779bc155af052413792d /libs/androidfw/StringPool.cpp | |
| parent | 83464b4395add40c0303d22a61c0e306b08e1286 (diff) | |
Skip onTaskMovedToFront if the bubble selection is animating
When a bubble gets dismissed while the stack is expanded, we should
select the next available bubble. Instead, we are collapsing.
This is because we get an onTaskMovedToFront event for the app
behind bubbles moving to the front, which causes the stack to
collapse. To fix this I add a check to see if the switch animation
is running, and if so we skip the collapse in onTaskMovedToFront.
Bug: 208648025
Test: manual - have multiple bubbles, expand the stack, visit each
bubble
- dismiss each bubble by dragging to dismiss target
=> observe that after dismissing each bubble, the next
bubble is selected (if available)
Change-Id: If82c004ecd1ec8920e934dbae2107b4c37853cb5
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions