Don't hold the CPH lock while installing providers.
Bug: 182011291 Test: atest ContentProviderTest [all] Change-Id: I0050d86d9eeca6ca50f625eb52a83e321212d0a1
This commit is contained in:
@@ -1206,10 +1206,10 @@ public class ContentProviderHelper {
|
||||
}
|
||||
}
|
||||
|
||||
if (providers != null) {
|
||||
mService.mSystemThread.installSystemProviders(providers);
|
||||
}
|
||||
synchronized (this) {
|
||||
if (providers != null) {
|
||||
mService.mSystemThread.installSystemProviders(providers);
|
||||
}
|
||||
mSystemProvidersInstalled = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user