summaryrefslogtreecommitdiffstats
path: root/tests/SerialChat
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2016-01-07 18:24:53 -0800
committerThe Android Automerger <android-build@google.com>2016-02-24 13:21:09 -0800
commitbfe0b64f562869c30f9bbc7292910e2380d54b25 (patch)
tree273a90e8c7d3543d205e2f14596bf9692c7f415f /tests/SerialChat
parent1e24c428efa7b0836154fa909bdcf2d3e7210462 (diff)
downloadframeworks_base-bfe0b64f562869c30f9bbc7292910e2380d54b25.zip
frameworks_base-bfe0b64f562869c30f9bbc7292910e2380d54b25.tar.gz
frameworks_base-bfe0b64f562869c30f9bbc7292910e2380d54b25.tar.bz2
DO NOT MERGE ANYWHERE: UsageStatsService: Fix app idle issue at rollover time
App Idle queries are very frequent and so they only check in memory stats. However, in memory stats can be missing some entries, especially after a rollover, but also due to a larger bug fixed in master (too risky to take now). The fix is to do a deep query (reading older files from disk) and maintain a parallel cache of stats for app idle. That way the rolling window of data required to serve app idle queries stays in memory. Bug:26355386 Change-Id: I6a29bbc25214f6a3c2f24c8c079936e66f99e42e
Diffstat (limited to 'tests/SerialChat')
0 files changed, 0 insertions, 0 deletions