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

Commit 7d5420ed authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Enable kernel UID state updates.

Test: builds, boots
Bug: 34364961
Change-Id: Ia20c666063cb2e5cd91b401cc3be48fc83959010
parent 470ecb2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ public class UsageStatsService extends SystemService implements
    private static final long FLUSH_INTERVAL = COMPRESS_TIME ? TEN_SECONDS : TWENTY_MINUTES;
    private static final long TIME_CHANGE_THRESHOLD_MILLIS = 2 * 1000; // Two seconds.

    private static final boolean ENABLE_KERNEL_UPDATES = false;
    private static final boolean ENABLE_KERNEL_UPDATES = true;
    private static final File KERNEL_COUNTER_FILE = new File("/proc/uid_procstat/set");

    long mAppIdleScreenThresholdMillis;