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

Commit 631a0202 authored by Abel Tesfaye's avatar Abel Tesfaye Committed by Automerger Merge Worker
Browse files

Merge "Disallow attention check when power save mode is enabled" into sc-dev am: 5d5f7f7f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14388352

Change-Id: Ie372dd3cf808ffe2e9c386ce7c8d3d61cfe73dda
parents f9716b01 5d5f7f7f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -257,8 +257,8 @@ public class AttentionManagerService extends SystemService {
            return false;
        }

        // don't allow attention check in screen off state
        if (!mPowerManager.isInteractive()) {
        // don't allow attention check in screen off state or power save mode
        if (!mPowerManager.isInteractive() || mPowerManager.isPowerSaveMode()) {
            return false;
        }