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

Commit 58e2702d authored by Kweku Adams's avatar Kweku Adams
Browse files

Fix typo.

Comparing the wrong variable meant it wasn't being updated properly.

Bug: 158300259
Test: Android builds
Test: Spot check dumpsys of tare, jobscheduler, and alarmmanager
Change-Id: I4257469284acc23ba4db99751fad3e495d9d155c
parent 987c93ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ class DeviceIdleModifier extends Modifier {
                    mIrs.onDeviceStateChanged();
                }
            } else if (PowerManager.ACTION_LIGHT_DEVICE_IDLE_MODE_CHANGED.equals(action)) {
                if (mDeviceIdle != mPowerManager.isLightDeviceIdleMode()) {
                if (mDeviceLightIdle != mPowerManager.isLightDeviceIdleMode()) {
                    mDeviceLightIdle = mPowerManager.isLightDeviceIdleMode();
                    mIrs.onDeviceStateChanged();
                }