commit | 50ddd5856b464e470920c67f101ddd72465eda44 | [log] [tgz] |
---|---|---|
author | Tim Murray <timmurray@google.com> | Mon Jan 11 17:00:29 2021 -0800 |
committer | Tim Murray <timmurray@google.com> | Tue Jan 12 19:39:10 2021 -0800 |
tree | aabb707a168d3cf602a94d04ffa90cbf71055af8 | |
parent | dae30affe732cea67d06d1f0c06304cc5630e2e1 [diff] |
AppWidgetServiceImpl: add mWidgetPackages lock JobScheduler calls isBoundWidgetPackage(), but this can be extremely slow while AppWidgetService is doing any meaningful work, causing problems for the rest of the system. Remove that serialization by moving mWidgetPackages behind its own lock. Test: atest CtsAppWidgetTestCases Bug: 161866124 Change-Id: Idae7d16d375dfd41f802ad193fa1ec939093c67a