Merge "Disable restricted bucket." into rvc-dev am: 6cca001863
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11740346 Change-Id: Icec5e338a99b3e9650054810b9acebc138a4617e
This commit is contained in:
@@ -154,6 +154,7 @@ public final class UsageStatsManager {
|
|||||||
* been misbehaving in some manner.
|
* been misbehaving in some manner.
|
||||||
* Apps in this bucket will have the most restrictions, including network restrictions and
|
* Apps in this bucket will have the most restrictions, including network restrictions and
|
||||||
* additional restrictions on jobs.
|
* additional restrictions on jobs.
|
||||||
|
* <p> Note: this bucket is not enabled in {@link Build.VERSION_CODES#R}.
|
||||||
* @see #getAppStandbyBucket()
|
* @see #getAppStandbyBucket()
|
||||||
*/
|
*/
|
||||||
public static final int STANDBY_BUCKET_RESTRICTED = 45;
|
public static final int STANDBY_BUCKET_RESTRICTED = 45;
|
||||||
|
|||||||
@@ -12009,7 +12009,7 @@ public final class Settings {
|
|||||||
* @see #ENABLE_RESTRICTED_BUCKET
|
* @see #ENABLE_RESTRICTED_BUCKET
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
public static final int DEFAULT_ENABLE_RESTRICTED_BUCKET = 1;
|
public static final int DEFAULT_ENABLE_RESTRICTED_BUCKET = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether or not app auto restriction is enabled. When it is enabled, settings app will
|
* Whether or not app auto restriction is enabled. When it is enabled, settings app will
|
||||||
|
|||||||
Reference in New Issue
Block a user