diff options
author | Christoph Studer <chstuder@google.com> | 2014-08-22 20:51:26 +0200 |
---|---|---|
committer | Christoph Studer <chstuder@google.com> | 2014-08-22 21:03:48 +0200 |
commit | 0a31453864282afdada45cd371d03969ad1b1cb7 (patch) | |
tree | e6610daa36d22f717d04deac704cc5b73a30665e /services | |
parent | 856b2b81357ddc29c782f3827a877dc1a4aac7f9 (diff) | |
download | frameworks_base-0a31453864282afdada45cd371d03969ad1b1cb7.zip frameworks_base-0a31453864282afdada45cd371d03969ad1b1cb7.tar.gz frameworks_base-0a31453864282afdada45cd371d03969ad1b1cb7.tar.bz2 |
NoMan: Turn off aggregated stats
Aggregated stats can grow unboundedly and shouldn't be enabled
for prod builds.
Bug: 16777910
Change-Id: I1c9303fc3aab93fd75f4dfbbf2e3de467a72f99e
Diffstat (limited to 'services')
-rw-r--r-- | services/core/java/com/android/server/notification/NotificationUsageStats.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/notification/NotificationUsageStats.java b/services/core/java/com/android/server/notification/NotificationUsageStats.java index 1df662c..3d13d21 100644 --- a/services/core/java/com/android/server/notification/NotificationUsageStats.java +++ b/services/core/java/com/android/server/notification/NotificationUsageStats.java @@ -48,7 +48,7 @@ import java.util.Map; public class NotificationUsageStats { // WARNING: Aggregated stats can grow unboundedly with pkg+id+tag. // Don't enable on production builds. - private static final boolean ENABLE_AGGREGATED_IN_MEMORY_STATS = true; + private static final boolean ENABLE_AGGREGATED_IN_MEMORY_STATS = false; private static final boolean ENABLE_SQLITE_LOG = true; private static final AggregatedStats[] EMPTY_AGGREGATED_STATS = new AggregatedStats[0]; |