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