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

Commit a113e997 authored by Varun Shah's avatar Varun Shah
Browse files

Don't hold the CPH lock while installing providers.

Bug: 182011291
Test: atest ContentProviderTest [all]
Change-Id: I0050d86d9eeca6ca50f625eb52a83e321212d0a1
parent 96ab6db6
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -1206,10 +1206,10 @@ public class ContentProviderHelper {
            }
            }
        }
        }


        synchronized (this) {
        if (providers != null) {
        if (providers != null) {
            mService.mSystemThread.installSystemProviders(providers);
            mService.mSystemThread.installSystemProviders(providers);
        }
        }
        synchronized (this) {
            mSystemProvidersInstalled = true;
            mSystemProvidersInstalled = true;
        }
        }