Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb2e2cae authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Allow I/O when installing providers.

Bug: 17879170
Change-Id: I073d5b56bab6db01290aad5386c53c305669dc5b
parent 95dc663d
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -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) {