Allow I/O when installing providers.
Bug: 17879170 Change-Id: I073d5b56bab6db01290aad5386c53c305669dc5b
This commit is contained in:
@@ -2513,7 +2513,12 @@ public final class ActivityThread {
|
||||
}
|
||||
|
||||
public void handleInstallProvider(ProviderInfo info) {
|
||||
installContentProviders(mInitialApplication, Lists.newArrayList(info));
|
||||
final StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites();
|
||||
try {
|
||||
installContentProviders(mInitialApplication, Lists.newArrayList(info));
|
||||
} finally {
|
||||
StrictMode.setThreadPolicy(oldPolicy);
|
||||
}
|
||||
}
|
||||
|
||||
private void handleEnterAnimationComplete(IBinder token) {
|
||||
|
||||
Reference in New Issue
Block a user