diff options
| author | 2025-02-18 14:49:06 +0000 | |
|---|---|---|
| committer | 2025-02-18 14:49:06 +0000 | |
| commit | d8181994c4eb1d010404c915b5e388319d48bc26 (patch) | |
| tree | 97c615cd7f881eb530c8f03ada10bf885a65643e /libs/androidfw/ObbFile.cpp | |
| parent | d9f8e5f2494d4c5b96de510ea73467a8944c34b9 (diff) | |
Don't hold lock when calling into ExternalStorageService
Make sure that we don't hold StorageSessionController lock when calling
into ExternalStorageService hosted my MediaProvider. It was found that
Watchdog was crashing SystemServer because some other operations were
waiting to hold StorageSessionController lock which was held by
notifyVolumeStateChanged, and if this operation takes long, other
operations will be blocked for no reason, even if they don't require
calling into ExternalStorageService.
Bug: 369519866
Test: Manual
Flag: EXEMPT bufix
Change-Id: I0dc31e10579227f252597779225de1a19c82ea9a
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions