Explicitly re-show rather than reset keyguard if we're not interactive.
Showing the keyguard while not interactive should only happen during race conditions involving locking and unlocking simultaneously, where we want to make sure we end up locked. "Resetting" is a short-circuit to just reset the lockscreen views if we are asked to show while already showing. If we are asked to show keyguard while not interactive, even if we think we're already showing, we should not short-circuit and instead fully re-show the keyguard to ensure we end up in the correct state. Fixes: 265025247 Test: mash power/unlock repeatedly until hitting this case Test: atest KeyguardViewMediatorTest Change-Id: Ibb80fdd3d292c4cf05203ea89bfcc113481830d6
Loading
Please register or sign in to comment