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

Commit b75a956c authored by YK Hung's avatar YK Hung Committed by Android (Google) Code Review
Browse files

Merge "Update the constant fields in the BatteryOptimizeUtils" into main

parents 8979681a e5536bb1
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_"},