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
This commit is contained in:
@@ -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}.
|
||||
|
||||
Reference in New Issue
Block a user