commit | 17e2a6b137f269b97546c75a02019120359faa6f | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Tue Feb 20 18:28:10 2024 -0600 |
committer | Riddle Hsu <riddlehsu@google.com> | Fri Feb 23 12:39:02 2024 +0000 |
tree | bf72e2af923573cb08efe3e41bd85b4d460a053f | |
parent | ce8d4a38b4c6a925a5c24c365187ba8f2e6f61f4 [diff] |
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