Merge "Fix typo that causes dreaming on battery." into klp-modular-dev
This commit is contained in:
@ -1553,7 +1553,7 @@ public final class PowerManagerService extends com.android.server.SystemService
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!isBeingKeptAwakeLocked()) {
|
if (!isBeingKeptAwakeLocked()) {
|
||||||
if (!mIsPowered && !mDreamsEnabledByDefaultConfig) {
|
if (!mIsPowered && !mDreamsEnabledOnBatteryConfig) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!mIsPowered
|
if (!mIsPowered
|
||||||
|
Reference in New Issue
Block a user