summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-11-16 08:14:26 +0000
committer Riddle Hsu <riddlehsu@google.com> 2022-11-18 16:22:25 +0000
commit6cfcecc884e8deb754edc1ec1229fe67c1630eab (patch)
tree30cdff5c72cded856e79f0c2eed4d67d03775dae /tests/DynamicCodeLoggerIntegrationTests/src
parent8d6647d4735e47305ed4db54e405071097a27da1 (diff)
Do not skip wake-and-unlock animation
When systemui requests WAKE_AND_UNLOCK (from standalone fingerprint sensor), DisplayPolicy will have mScreenOnEarly but no mScreenOnFully yet. If the animation is skipped, a snapshot starting window with fixed rotation transform won't be notified by finishing transition to restore the state. Also because the screen will be fully on, the animation can still be visible. This change passes ignoreScreenOn with considering isKeyguardGoingAway. And refactor the logic to a method deferCommitVisibilityChange so it is easier to read. Also add a quick path for shell transition because if it is enabled, isTransitionSet and isAnimating(TYPE_RECENTS) will always be false. Fixes: 258383126 Test: atest ActivityRecordTests#testSetVisibility_invisibleToVisible Change-Id: I2519eb558262a9f9126ed093448a9a6cefb76faa
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions