diff options
| author | 2023-08-25 15:10:13 -0700 | |
|---|---|---|
| committer | 2023-08-29 13:11:23 -0700 | |
| commit | dd2b9e6c8aa7f55cb854e7b8dfd413dd1105bce4 (patch) | |
| tree | 5af400b0a2746637a79ab3a713167c07c9fbad80 /libs/input/PointerController.h | |
| parent | 7f5bf41e859c2727caf6f0b3e0cf05cf1dc3084b (diff) | |
Replace onTaskMovedToFront with a transition observer in bubbles
The TaskStackListenerCallback is not synchronized with shell transit
which results in this bug. Instead of using it, use a Transition
Observer to see when tasks are opening / moving to front.
To ensure home / recents are handled correctly (since we don't
get shell transitions for those), start checking for recentapps
and homekey in the close system dialogs broadcast.
Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.bubble.ShowBubbleAndShowImeTest#testShowBubbleAndShowIme
Test: atest BubblesTransitionObserverTest BubblesTest
Test: - have more than 1 bubble and have a telegram bubble
- hit the 'x' in telegram UI to finish the activity
=> observe that the next bubble is selected
Bug: 296821517
Change-Id: I60fe7b619d2433c5ed1e085cee7c3d564d77cd92
Diffstat (limited to 'libs/input/PointerController.h')
0 files changed, 0 insertions, 0 deletions