summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorJosh Tsuji <tsuji@google.com>2021-02-17 20:56:25 -0500
committerJosh Tsuji <tsuji@google.com>2021-02-17 21:00:52 -0500
commitf701d3ef0d56dcdd0b740dc5eae6e9fa3c274b96 (patch)
tree89b4b866d6edeed2b2bcdbd0ec9ca85f786b6c90 /rs/java/android/renderscript/Program.java
parentd000396e2e9a260e7c78a896af10fc9245283886 (diff)
Fix issues with interrupted screen off animations.
Two problems here: - The activity lock screen was not being shown after the doze animation finished because forceCallbacks was false. We short-circuited if showing == showing and aodShowing == aodShowing, and both of those are true after the screen off animation. - Notifications would be gone until the next lock/unlock, sometimes longer. This is because we were overridding the doze amount in the NotificationWakeUpCoordinator, so that the notifications are not visible as the shade animates in during the screen off animation. If interrupted, the doze amount in the wake up coordinator remained overridden at 1f, which meant we were hiding them thinking we were on AOD. Fixes: 180100349 Test: Press the power button to trigger screen off, quickly auth via fingerprint before the animation finishes. notice that the notification shade has notifications wow! Change-Id: Iad608121adcc53c7d471607c438ba4542ea58143
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions