commit | 793da64d37e63c435d7c94d54b1994dd61b9d916 | [log] [tgz] |
---|---|---|
author | Michael Wachenschwanz <mwachens@google.com> | Thu Jun 11 16:14:48 2020 -0700 |
committer | Michael Wachenschwanz <mwachens@google.com> | Fri Jun 19 10:44:49 2020 -0700 |
tree | 88ceb438779a448e5984c43ceb095d7cafac1cbf | |
parent | 853ee379371ffa2e9aadd8dc3a96c4ef245e3924 [diff] |
Move AppStandbyController calls out of UsageStats lock Move reportEvent, flushToDisk, and dumping out of the UsageStats lock. Fixes: 158361735 Test: atest com.android.server.usage.AppStandbyControllerTests Test: atest android.app.usage.UsageStatsTest Test: manual ("adb shell dumpsys usagestats", with multiple users) Change-Id: I9f5c2adcb3ef71e82b969b35e7129e715fbfa00d