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

Commit e5536bb1 authored by ykhung's avatar ykhung
Browse files

Update the constant fields in the BatteryOptimizeUtils

Test: presubmit
Bug: 306329984
Change-Id: I64df1d6f632f913e2d3629f640c6c75437e19e13
parent e07cfd8b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -69,10 +69,10 @@ public class BatteryOptimizeUtils {
                    | PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS;

    // Optimization modes.
    static final int MODE_UNKNOWN = 0;
    static final int MODE_RESTRICTED = 1;
    static final int MODE_UNRESTRICTED = 2;
    static final int MODE_OPTIMIZED = 3;
    public static final int MODE_UNKNOWN = 0;
    public static final int MODE_RESTRICTED = 1;
    public static final int MODE_UNRESTRICTED = 2;
    public static final int MODE_OPTIMIZED = 3;

    @IntDef(
            prefix = {"MODE_"},