commit | fb7b3208dfcb9647d14203ad5b81c1e3a50fec53 | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Wed May 06 20:24:21 2020 -0700 |
committer | Varun Shah <varunshah@google.com> | Thu May 07 03:38:39 2020 +0000 |
tree | 025b20a7ec65ffee62e29462dce643136a7f8985 | |
parent | 40f632b78c25a7f60f154c9e6357eed039a03bf1 [diff] |
Persist UsageStats before backup. This fixes a bug where in-memory usage stats were not being backed up, potentially causing a loss of up to 20 minutes of data when restoring. Fixes: 155930164 Test: atest UsageStatsDatabaseTest Test: atest android.app.usage.cts.UsageStatsTest Change-Id: I454f64e7de3f7a6046c408859998a3e51d5d338d