summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jing Ji <jji@google.com> 2022-03-30 17:46:08 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-03-30 17:46:08 +0000
commit24c45b96bbaff43ab9031ca09a46e426f8420322 (patch)
tree5ba4fa281c15776cc387579a12e0093809fa9fd3
parent3ad19f7a7cf292e7b49cf9b524aba2501c8c6bf6 (diff)
parent45f6377249592d32d5b4f770d184fe9a7a6d0dec (diff)
Merge "Extend the min interval of the alert on abusive bg apps" into tm-dev
-rw-r--r--services/core/java/com/android/server/am/AppRestrictionController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/am/AppRestrictionController.java b/services/core/java/com/android/server/am/AppRestrictionController.java
index 004760a302a7..3f307fa53d8a 100644
--- a/services/core/java/com/android/server/am/AppRestrictionController.java
+++ b/services/core/java/com/android/server/am/AppRestrictionController.java
@@ -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}.