commit | 76e9d76c22fe164f301e85ebbcbdd4cae26fca71 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Tue Jan 12 10:36:09 2016 -0800 |
committer | Adam Lesinski <adamlesinski@google.com> | Tue Jan 12 16:52:45 2016 -0800 |
tree | e6117901a49f9fc7b70a222b4a4b58bc1a06ceff | |
parent | d9434699e4ef8c528ce01223ee9ef200bfd693e4 [diff] |
UsageStats: Fix issue where initializing data for first time would cause crash With the updated rolling window of stats for app idleness, we need to make sure it is populated before we initialize some defaults. Now that we look at older entries to figure out idleness, if those entries are in the future (due to time change), set them to the current screen on time. Bug:26504153 Change-Id: Ia22add0e8eaf0f137002bbe3e91d747fef5b7d69