diff options
| author | 2024-03-06 15:23:29 +0000 | |
|---|---|---|
| committer | 2024-03-18 03:20:34 +0000 | |
| commit | 0feb3b49d81ace491bc5375cbea49cf9998fce27 (patch) | |
| tree | fbca28ecc73715b0fcc33e005f920188dc75b22b /libs/androidfw/StringPool.cpp | |
| parent | bb73b66d6da45ed7eebff62a9b18158a7cb94f61 (diff) | |
Fix Animation for recent apps in the foreground
The fix introduced by ag/26400047 revealed an issue with how foreground tasks are identified. Foreground tasks were marked as the first non-app selector task on the task stack, however it doesnt actually check to see if that task is currently visible on the screen. Now we have a unique animation for the task being on the foreground, we want to ensure that a task being on foreground means it is currently visible on the screen to avoid animation jank.
Bug: 328417244
Test: manual testing
Test: atest com.android.systemui.mediaprojection.appselector.data.ShellRecentTaskListProviderTest
Flag: ACONFIG com.android.systemui.pss_app_selector_abrupt_exit_fix NEXTFOOD
Change-Id: I11a0f57138ecc1f84885467e814a15626d9c5cd1
(cherry picked from commit 97fbb590077875a0882a4b273f907d522fa83bf0)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions