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

Skip to content
Commit 5990b7f6 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
Merged-In: I2b8472659392b9e7c499bb816dd23e9470655af4
parent f38c1aa1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment