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

Commit 5b887bd2 authored by Amos Bianchi's avatar Amos Bianchi
Browse files

Replace POWER_STATE_UNSPECIFIED with SCREEN_STATE_UNSPECIFIED.

They have the same numerical value 0 but are conceptually different.

Bug: 391665806
Test: builds, boots
Flag: EXEMPT refactor
Change-Id: Id80aa9e8d420cfcb665ae608527e93e9b131e1a7
parent eb3ba194
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ public final class UidBatteryConsumer extends BatteryConsumer {

                for (int screenState = 0; screenState < SCREEN_STATE_COUNT; screenState++) {
                    if (mData.layout.screenStateDataIncluded
                            && screenState == POWER_STATE_UNSPECIFIED) {
                            && screenState == SCREEN_STATE_UNSPECIFIED) {
                        continue;
                    }