diff options
| author | Songchun Fan <schfan@google.com> | 2022-04-14 23:51:38 +0000 |
|---|---|---|
| committer | Songchun Fan <schfan@google.com> | 2022-04-22 13:46:30 +0000 |
| commit | 5990b7f6f21635910047c8eea4402abbab960cb7 (patch) | |
| tree | bc12c4cc354673ef38a8cd92e25801b7e5f3c3c1 /core/java/android | |
| parent | f38c1aa17773ca0b0ef213d1cc69446047861880 (diff) | |
[AppsFilter] use snapshots instead of live data
Remove all runWithStates that use the live data and use snapshots
instead. This ensures that if AppsFilter is called by a snapshot, it
uses the data from the same snapshot. Also prevent corner-case lock
contentions where a snapshot calls to acquire mPm.mLock.
BUG: 226668722
Test: unit test
Test: manual check of boot time
Change-Id: I2b8472659392b9e7c499bb816dd23e9470655af4
Merged-In: I2b8472659392b9e7c499bb816dd23e9470655af4
Diffstat (limited to 'core/java/android')
0 files changed, 0 insertions, 0 deletions
