Merge "Don't hold the CPH lock while installing providers." into sc-dev

This commit is contained in:
Varun Shah
2021-04-13 02:58:47 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}