Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e224cefb authored by Mike Lockwood's avatar Mike Lockwood
Browse files

Do not turn off screen immediately after undocking.



Change-Id: I1d01d141961d1e26d814a202745ce77678fd4518
BUG: 2356385

Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent bb2e5c91
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -511,7 +511,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE);
        mBroadcastWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
                "PhoneWindowManager.mBroadcastWakeLock");
        mDockWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK,
        mDockWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK | PowerManager.ON_AFTER_RELEASE,
                "PhoneWindowManager.mDockWakeLock");
        mDockWakeLock.setReferenceCounted(false);
        mEnableShiftMenuBugReports = "1".equals(SystemProperties.get("ro.debuggable"));