Merge "third part apps can disable the secret lockscreen"
This commit is contained in:
@ -773,6 +773,11 @@ public class KeyguardViewMediator extends SystemUI {
|
||||
synchronized (this) {
|
||||
if (DEBUG) Log.d(TAG, "setKeyguardEnabled(" + enabled + ")");
|
||||
|
||||
if (isSecure()) {
|
||||
Log.d(TAG, "current mode is SecurityMode, ignore hide keyguard");
|
||||
return;
|
||||
}
|
||||
|
||||
mExternallyEnabled = enabled;
|
||||
|
||||
if (!enabled && mShowing) {
|
||||
|
Reference in New Issue
Block a user