Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77ac2b9a authored by Songchun Fan's avatar Songchun Fan
Browse files

[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
parent b4a66a4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment