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

Commit d8181994 authored by Omar Eissa's avatar Omar Eissa
Browse files

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
parent d9f8e5f2
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