Fix the lock screen bypass issue reported in http://forum.xda-developers.com/showthread.php?t=436767.

This commit is contained in:
Rich Cannings
2008-11-11 15:12:25 +09:00
parent e5ed42d1bc
commit aba0875422

View File

@@ -1325,11 +1325,10 @@ public class PhoneWindowManager implements WindowManagerPolicy {
// If the user is holding the menu key code, then we are
// going to boot into safe mode.
ActivityManagerNative.getDefault().enterSafeMode();
} else {
// tell the keyguard
mKeyguardMediator.onSystemReady();
android.os.SystemProperties.set("dev.bootcomplete", "1");
}
// tell the keyguard
mKeyguardMediator.onSystemReady();
android.os.SystemProperties.set("dev.bootcomplete", "1");
} catch (RemoteException e) {
// Ignore
}