diff options
author | Amith Yamasani <yamasani@google.com> | 2015-06-12 23:38:24 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-06-12 23:38:26 +0000 |
commit | 480d6eb953aa12a495a080557d4ea84782db2328 (patch) | |
tree | 5810e2654ab3de2c798bec2a5c8ab86049371a7c /services/usage/java | |
parent | 8491d2dea90bf462b09befb604138a77d746f94a (diff) | |
parent | d82dbb3ffe418773b0d57d63b09e69fd6dd944bb (diff) | |
download | frameworks_base-480d6eb953aa12a495a080557d4ea84782db2328.zip frameworks_base-480d6eb953aa12a495a080557d4ea84782db2328.tar.gz frameworks_base-480d6eb953aa12a495a080557d4ea84782db2328.tar.bz2 |
Merge "Fix negative inactiveTime on creating a new user" into mnc-dev
Diffstat (limited to 'services/usage/java')
-rw-r--r-- | services/usage/java/com/android/server/usage/IntervalStats.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/usage/java/com/android/server/usage/IntervalStats.java b/services/usage/java/com/android/server/usage/IntervalStats.java index 1aa2978..7f379fe 100644 --- a/services/usage/java/com/android/server/usage/IntervalStats.java +++ b/services/usage/java/com/android/server/usage/IntervalStats.java @@ -48,7 +48,7 @@ class IntervalStats { usageStats.mPackageName = getCachedStringRef(packageName); usageStats.mBeginTimeStamp = beginTime; usageStats.mEndTimeStamp = endTime; - usageStats.mBeginIdleTime = endTime; + usageStats.mBeginIdleTime = 0; packageStats.put(usageStats.mPackageName, usageStats); } return usageStats; |