diff options
| author | 2017-01-24 15:17:18 -0700 | |
|---|---|---|
| committer | 2017-01-24 15:17:18 -0700 | |
| commit | 7d5420eda7e3aa4d95ab0c0fdaecf95f2e39d2d7 (patch) | |
| tree | c38ef404f2c6eb4574bb8a78052559f6c0430a9b /services/usage/java | |
| parent | 470ecb2c6c72826a919d471cd3ae2cfce800f777 (diff) | |
Enable kernel UID state updates.
Test: builds, boots
Bug: 34364961
Change-Id: Ia20c666063cb2e5cd91b401cc3be48fc83959010
Diffstat (limited to 'services/usage/java')
| -rw-r--r-- | services/usage/java/com/android/server/usage/UsageStatsService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/usage/java/com/android/server/usage/UsageStatsService.java b/services/usage/java/com/android/server/usage/UsageStatsService.java index 6dfb48bfbcf9..7a69803c8463 100644 --- a/services/usage/java/com/android/server/usage/UsageStatsService.java +++ b/services/usage/java/com/android/server/usage/UsageStatsService.java @@ -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; |