summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipUtils.cpp
diff options
context:
space:
mode:
author Josh Tsuji <tsuji@google.com> 2022-12-22 16:11:54 -0500
committer Josh Tsuji <tsuji@google.com> 2023-01-05 12:53:34 -0500
commit767467732e3c237293a1c2734e7feb1040f66070 (patch)
tree06cb7716c44befcda3e73bcb0a04ac584ca53ace /libs/androidfw/ZipUtils.cpp
parentf1f50ee221a3cdb296493d652059a27a1683553d (diff)
Override alpha to 0f if we're no longer interactive.
This is a safe way to ensure the surface is immediately no longer visible, until the screen off lifecycle event arrives and ends up canceling the unlock sequence and sleeping the device. WM resets the surface alpha after the animation ends, so this should be safe. Since the surface alpha is usually close to 0f when this condition is met, it's not usually perceptible that we jump-cut to 0f. Test: press the power button while also triggering an unlock Test: atest KeyguardUnlockAnimationControllerTest Bug: 260094933 Change-Id: I15a9decf1dcfac0b60b3f4e97a2e470098961743
Diffstat (limited to 'libs/androidfw/ZipUtils.cpp')
0 files changed, 0 insertions, 0 deletions