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
Loading
Please register or sign in to comment