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

Commit fc19b0a9 authored by Torne (Richard Coles)'s avatar Torne (Richard Coles)
Browse files

Make WebViewUpdateService accessible by isolated apps.

It's okay for isolated apps to connect to the webview update service to
find out which APK is WebView. This enables isolated renderer processes
to load their code from the WebView APK.

Change-Id: I7441ba1bc462895a47126cd065aa6f8ca254467f
parent 2612bbc0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -190,7 +190,7 @@ public class WebViewUpdateService extends SystemService {
        userAddedFilter.addAction(Intent.ACTION_USER_ADDED);
        userAddedFilter.addAction(Intent.ACTION_USER_ADDED);
        getContext().registerReceiver(mWebViewUpdatedReceiver, userAddedFilter);
        getContext().registerReceiver(mWebViewUpdatedReceiver, userAddedFilter);


        publishBinderService("webviewupdate", new BinderService());
        publishBinderService("webviewupdate", new BinderService(), true /*allowIsolated*/);
    }
    }


    private static boolean existsValidNonFallbackProvider(WebViewProviderInfo[] providers) {
    private static boolean existsValidNonFallbackProvider(WebViewProviderInfo[] providers) {