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

Commit 545dc467 authored by LuK1337's avatar LuK1337 Committed by Roman Birg
Browse files

Disable proximity check on power key properly

Change-Id: If1ca0fa02805ce2fbe5a9ac1ab56a5e62beca4e1
parent 33e91d32
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6406,7 +6406,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
    }

    private void wakeUpFromPowerKey(long eventTime) {
        wakeUp(eventTime, mAllowTheaterModeWakeFromPowerKey, "android.policy:POWER", true);
        wakeUp(eventTime, mAllowTheaterModeWakeFromPowerKey, "android.policy:POWER");
    }

    private boolean wakeUp(long wakeTime, boolean wakeInTheaterMode, String reason) {