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

Commit 45f63772 authored by Jing Ji's avatar Jing Ji
Browse files

Extend the min interval of the alert on abusive bg apps

Set default to 30 days between the notifications on the same app.

Bug: 203105544
Test: atest FrameworksMockingServicesTests:BackgroundRestrictionTest
Change-Id: I56aa96b7284b4f974a5103834f2034eb9834ee06
parent 923eb82c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -678,7 +678,7 @@ public final class AppRestrictionController {
        /**
         * Default value to {@link #mBgAbusiveNotificationMinIntervalMs}.
         */
        static final long DEFAULT_BG_ABUSIVE_NOTIFICATION_MINIMAL_INTERVAL_MS = ONE_DAY;
        static final long DEFAULT_BG_ABUSIVE_NOTIFICATION_MINIMAL_INTERVAL_MS = 30 * ONE_DAY;

        /**
         * Default value to {@link #mBgAbusiveNotificationMinIntervalMs}.