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

Commit 27c65cca authored by Kweku Adams's avatar Kweku Adams
Browse files

Add missing ServiceType values to IntDef.

FORCE_BACKGROUND_CHECK and NIGHT_MODE were accidentally excluded from
the ServiceType @IntDef definition.

Bug: N/A
Test: N/A
Change-Id: Ib66bb2ce004a6577515ac185d0aef2dd5f1ed49b
parent 6dabb471
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -694,9 +694,11 @@ public final class PowerManager {
            ServiceType.BATTERY_STATS,
            ServiceType.DATA_SAVER,
            ServiceType.FORCE_ALL_APPS_STANDBY,
            ServiceType.FORCE_BACKGROUND_CHECK,
            ServiceType.OPTIONAL_SENSORS,
            ServiceType.AOD,
            ServiceType.QUICK_DOZE,
            ServiceType.NIGHT_MODE,
    })
    public @interface ServiceType {
        int NULL = 0;