Aggregated stats can grow unboundedly and shouldn't be enabled
for prod builds.
Bug:
16777910
Change-Id: I1c9303fc3aab93fd75f4dfbbf2e3de467a72f99e
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];