summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Winson Chung <winsonc@google.com> 2022-09-23 05:10:38 +0000
committer Winson Chung <winsonc@google.com> 2022-09-23 05:12:59 +0000
commit9989ffa47d61cf926f364370b7dd24a73e7ed9a9 (patch)
tree896883015c65e2479beb0d09407f0e3734e9415b /libs/androidfw/ResourceTimer.cpp
parentbc3406f6383dcdec8fb31884d342f1deea38f45e (diff)
Workaround for slow -1 drawing when swiping home
- Recents animation is the one most affected by this visually (other transitions are blocked from starting entirely, which is another issue). TLDR, the -1 is always visible by modulates the alpha of its window as the user swipes to/from it. As such, it's still considered an interesting window for allDrawn purposes, but in rare cases, AGSA may not be scheduled and the drawing of the -1 window even if it is alpha=0, will block Launcher's allDrawn state and prevent the Launcher surface from being shown. As a workaround, we ignore non-base windows associated with the recents animation target activity if their alpha is 0 for the purposes of considering when all windows are drawn. Bug: 245407006 Test: TBD Change-Id: I91ed411eb36e23f22c0a3b2bbbd80b6632b8c0b5
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions