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

Commit 966604f1 authored by Jeff Brown's avatar Jeff Brown
Browse files

Fix typo that causes dreaming on battery.

Bug: 13173012
Change-Id: I611970a5b4c4b0072ce52e3fc6a57dd3a0c075b3
parent e0dd3ca8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1553,7 +1553,7 @@ public final class PowerManagerService extends com.android.server.SystemService
            return false;
        }
        if (!isBeingKeptAwakeLocked()) {
            if (!mIsPowered && !mDreamsEnabledByDefaultConfig) {
            if (!mIsPowered && !mDreamsEnabledOnBatteryConfig) {
                return false;
            }
            if (!mIsPowered