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

Unverified Commit 1b14b629 authored by Chirayu Desai's avatar Chirayu Desai Committed by Michael Bestas
Browse files

fixup! JobScheduler: Respect allow-in-power-save perm

Change-Id: I6e4dc0f464e8783ac127390638ab93e30c413a44
parent 4ccce266
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2388,7 +2388,7 @@ public class DeviceIdleController extends SystemService

        @Override
        public int[] getPowerSaveWhitelistSystemAppIds() {
            return DeviceIdleController.this.getPowerSaveSystemWhitelistAppIds();
            return DeviceIdleController.this.getPowerSaveWhitelistSystemAppIds();
        }

        /**
@@ -2616,7 +2616,7 @@ public class DeviceIdleController extends SystemService
        }
    }

    int[] getPowerSaveSystemWhitelistAppIds() {
    int[] getPowerSaveWhitelistSystemAppIds() {
        synchronized (this) {
            return mPowerSaveWhitelistSystemAppIdArray;
        }