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

Commit 8e94a60f 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: Idf69247c1eb604410be5a8460f4cd67de307a76d
parents 119bea89 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;
        }