Update the constant fields in the BatteryOptimizeUtils
Test: presubmit Bug: 306329984 Change-Id: I64df1d6f632f913e2d3629f640c6c75437e19e13
This commit is contained in:
@@ -69,10 +69,10 @@ public class BatteryOptimizeUtils {
|
|||||||
| PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS;
|
| PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS;
|
||||||
|
|
||||||
// Optimization modes.
|
// Optimization modes.
|
||||||
static final int MODE_UNKNOWN = 0;
|
public static final int MODE_UNKNOWN = 0;
|
||||||
static final int MODE_RESTRICTED = 1;
|
public static final int MODE_RESTRICTED = 1;
|
||||||
static final int MODE_UNRESTRICTED = 2;
|
public static final int MODE_UNRESTRICTED = 2;
|
||||||
static final int MODE_OPTIMIZED = 3;
|
public static final int MODE_OPTIMIZED = 3;
|
||||||
|
|
||||||
@IntDef(
|
@IntDef(
|
||||||
prefix = {"MODE_"},
|
prefix = {"MODE_"},
|
||||||
|
|||||||
Reference in New Issue
Block a user