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

Commit 0a314538 authored by Christoph Studer's avatar Christoph Studer
Browse files

NoMan: Turn off aggregated stats

Aggregated stats can grow unboundedly and shouldn't be enabled
for prod builds.

Bug: 16777910
Change-Id: I1c9303fc3aab93fd75f4dfbbf2e3de467a72f99e
parent 856b2b81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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];