diff options
| author | 2022-12-02 23:56:27 +0800 | |
|---|---|---|
| committer | 2022-12-02 23:56:27 +0800 | |
| commit | 607c7a191434b58e44b4d727dd6a5ba936653d1e (patch) | |
| tree | 75d27af9ef169f67f423b1a077bf6617a9559638 /libs/androidfw/StringPool.cpp | |
| parent | 2a23c2e341e5211626b0b28c4cccfb3d10fddbc9 (diff) | |
Reduce operations in postApplyAnimation for shell transition
This is a partial alternative solution of [1] to avoid black background
(no wallpaper target) when turning on screen with a translucent activity
which is occluding keyguard while AOD is disabled.
[1]: Ifc3ce28424fe87b1e0a0a2af07bdad559575ebec
Now instead of always recomputing wallpaper target after committing
visibility, the update hint only needs to be set when there is a
translucent occluding activity.
Also use usingShellTransitions to skip some legacy animation checks
that shell transition doesn't care.
Bug: 260059642
Test: Enable shell transition. Disable AOD
KeyguardTests#testDialogShowWhenLockedActivity
KeyguardTests#testTranslucentShowWhenLockedActivity
Test: Transition latency of OpenAppMicrobenchmark
Change-Id: Ic3c704f0579690c51f7188a26c5256dc3e74e1f7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions