Merge "Add ADAPTIVE_BATTERY_MANAGEMENT_ENABLED" into pi-dev
am: 4620d9b3a3
Change-Id: I4890f4b4e1f8dbcf144b2e613165382d67b70de3
This commit is contained in:
@@ -10804,14 +10804,27 @@ public final class Settings {
|
||||
public static final String SYNC_MANAGER_CONSTANTS = "sync_manager_constants";
|
||||
|
||||
/**
|
||||
* Whether or not App Standby feature is enabled. This controls throttling of apps
|
||||
* based on usage patterns and predictions.
|
||||
* Whether or not App Standby feature is enabled by system. This controls throttling of apps
|
||||
* based on usage patterns and predictions. Platform will turn on this feature if both this
|
||||
* flag and {@link #ADAPTIVE_BATTERY_MANAGEMENT_ENABLED} is on.
|
||||
* Type: int (0 for false, 1 for true)
|
||||
* Default: 1
|
||||
* @hide
|
||||
* @see #ADAPTIVE_BATTERY_MANAGEMENT_ENABLED
|
||||
*/
|
||||
public static final String APP_STANDBY_ENABLED = "app_standby_enabled";
|
||||
|
||||
/**
|
||||
* Whether or not adaptive battery feature is enabled by user. Platform will turn on this
|
||||
* feature if both this flag and {@link #APP_STANDBY_ENABLED} is on.
|
||||
* Type: int (0 for false, 1 for true)
|
||||
* Default: 1
|
||||
* @hide
|
||||
* @see #APP_STANDBY_ENABLED
|
||||
*/
|
||||
public static final String ADAPTIVE_BATTERY_MANAGEMENT_ENABLED =
|
||||
"adaptive_battery_management_enabled";
|
||||
|
||||
/**
|
||||
* Whether or not app auto restriction is enabled. When it is enabled, settings app will
|
||||
* auto restrict the app if it has bad behavior(e.g. hold wakelock for long time).
|
||||
|
||||
Reference in New Issue
Block a user