Don't reset the keyguard on occlusion if it's going away.
The reset() call only executes if the keyguard is visible, and causes it to reset the visible views (it can not show/hide the keyguard). However, if the keyguard is going away because of a launching occluding activity, and was previously insecure, this will cause us to decide that the views should be in SHADE state rather than KEYGUARD state, and re-render them accordingly. This causes the shade to flicker under the launching activity. This reset is not needed, as the status bar state change will change to SHADE after the launch animation occurs (or will be forced back to KEYGUARD if the unlock animation is cancelled). Fixes: 238294986 Test: launch controls from LS affordance with/without face unlock, with/without AOD Change-Id: Ib0622655ef6f51e1bcc9a98a5ce8f4e7feacb2fe
Loading
Please register or sign in to comment