Loading services/java/com/android/server/UiModeManagerService.java +2 −0 Original line number Diff line number Diff line Loading @@ -347,11 +347,13 @@ class UiModeManagerService extends IUiModeManager.Stub { } } if (mKeyguardLock != null) { long ident = Binder.clearCallingIdentity(); if (enabled) { mKeyguardLock.disableKeyguard(); } else { mKeyguardLock.reenableKeyguard(); } Binder.restoreCallingIdentity(ident); } } } Loading Loading
services/java/com/android/server/UiModeManagerService.java +2 −0 Original line number Diff line number Diff line Loading @@ -347,11 +347,13 @@ class UiModeManagerService extends IUiModeManager.Stub { } } if (mKeyguardLock != null) { long ident = Binder.clearCallingIdentity(); if (enabled) { mKeyguardLock.disableKeyguard(); } else { mKeyguardLock.reenableKeyguard(); } Binder.restoreCallingIdentity(ident); } } } Loading