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

Commit a0be4f99 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "QuickBoot: don't wake up screen when usb connected"

parents fd94f6fe 7fa84944
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1297,6 +1297,10 @@ public final class PowerManagerService extends IPowerManager.Stub
            return false;
        }

       if (SystemProperties.getInt("sys.quickboot.enable", 0) == 1) {
            return false;
        }

        // Don't wake when undocked from wireless charger.
        // See WirelessChargerDetector for justification.
        if (wasPowered && !mIsPowered