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

Skip to content
Commit 17e2a6b1 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Do not hold wm lock when loading recent task files

The task files are now loaded into ByteArrayInputStream without
any lock. Then the existing xml parser can still accept it as
InputStream to restore task from byte array directly in wm lock
without accessing storage.

PackageConfigPersister uses its own lock, so it doesn't need to
be in wm lock.

Fix: 323134961
Test: atest RecentTasksTest TaskPersisterTest

Change-Id: I0899e8835b21e30deebd024700e345759081b209
parent ce8d4a38
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