Merge "Don't hold the CPH lock while installing providers." into sc-dev
This commit is contained in:
@@ -1206,10 +1206,10 @@ public class ContentProviderHelper {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (providers != null) {
|
||||||
|
mService.mSystemThread.installSystemProviders(providers);
|
||||||
|
}
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
if (providers != null) {
|
|
||||||
mService.mSystemThread.installSystemProviders(providers);
|
|
||||||
}
|
|
||||||
mSystemProvidersInstalled = true;
|
mSystemProvidersInstalled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user