Loading packages/Keyguard/src/com/android/keyguard/KeyguardSimpleHostView.java +7 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ public class KeyguardSimpleHostView extends KeyguardViewBase { public KeyguardSimpleHostView(Context context, AttributeSet attrs) { super(context, attrs); KeyguardUpdateMonitor.getInstance(context).registerCallback(mUpdateCallback); } @Override Loading Loading @@ -62,4 +63,10 @@ public class KeyguardSimpleHostView extends KeyguardViewBase { // TODO Auto-generated method stub } private KeyguardUpdateMonitorCallback mUpdateCallback = new KeyguardUpdateMonitorCallback() { @Override public void onUserSwitchComplete(int userId) { getSecurityContainer().showPrimarySecurityScreen(false /* turning off */); } }; } Loading
packages/Keyguard/src/com/android/keyguard/KeyguardSimpleHostView.java +7 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ public class KeyguardSimpleHostView extends KeyguardViewBase { public KeyguardSimpleHostView(Context context, AttributeSet attrs) { super(context, attrs); KeyguardUpdateMonitor.getInstance(context).registerCallback(mUpdateCallback); } @Override Loading Loading @@ -62,4 +63,10 @@ public class KeyguardSimpleHostView extends KeyguardViewBase { // TODO Auto-generated method stub } private KeyguardUpdateMonitorCallback mUpdateCallback = new KeyguardUpdateMonitorCallback() { @Override public void onUserSwitchComplete(int userId) { getSecurityContainer().showPrimarySecurityScreen(false /* turning off */); } }; }