We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0bb4d07 + d979dd7 commit 9c673b0Copy full SHA for 9c673b0
policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java
@@ -214,9 +214,9 @@ public void setNeedsInput(boolean needsInput) {
214
*/
215
public synchronized void reset() {
216
if (DEBUG) Log.d(TAG, "reset()");
217
- if (mKeyguardView != null) {
218
- mKeyguardView.reset();
219
- }
+ // User might have switched, check if we need to go back to keyguard
+ // TODO: It's preferable to stay and show the correct lockscreen or unlock if none
+ maybeCreateKeyguardLocked(shouldEnableScreenRotation());
220
}
221
222
public synchronized void onScreenTurnedOff() {
0 commit comments