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

Commit 71eac9eb authored by Kweku Adams's avatar Kweku Adams
Browse files

Disable restricted bucket.

Bug: 158099599
Test: atest CtsUsageStatsTestCases:UsageStatsTest
Test: atest FrameworksServicesTests:AppIdleHistoryTests
Test: atest FrameworksServicesTests:AppStandbyControllerTests
Change-Id: I40e769037148177530edc43ae0c01d4d29aec857
parent c4ac9d23
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -154,6 +154,7 @@ public final class UsageStatsManager {
     * been misbehaving in some manner.
     * Apps in this bucket will have the most restrictions, including network restrictions and
     * additional restrictions on jobs.
     * <p> Note: this bucket is not enabled in {@link Build.VERSION_CODES#R}.
     * @see #getAppStandbyBucket()
     */
    public static final int STANDBY_BUCKET_RESTRICTED = 45;
+1 −1
Original line number Diff line number Diff line
@@ -11974,7 +11974,7 @@ public final class Settings {
         * @see #ENABLE_RESTRICTED_BUCKET
         * @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