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

Commit 061f809a authored by Torne (Richard Coles)'s avatar Torne (Richard Coles) Committed by android-build-merger
Browse files

Merge "Add logging to WebView zygote package preload." into oc-dev

am: 4396a742

Change-Id: Ia2253843589ccb740706a8659b962c0da125d097
parents 6d3f008f 4396a742
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ class WebViewZygoteInit {
        @Override
        protected boolean handlePreloadPackage(String packagePath, String libsPath,
                                               String cacheKey) {
            Log.i(TAG, "Beginning package preload");
            // Ask ApplicationLoaders to create and cache a classloader for the WebView APK so that
            // our children will reuse the same classloader instead of creating their own.
            // This enables us to preload Java and native code in the webview zygote process and
@@ -97,6 +98,7 @@ class WebViewZygoteInit {
                     IllegalAccessException | InvocationTargetException e) {
                Log.e(TAG, "Exception while preloading package", e);
            }
            Log.i(TAG, "Package preload done");
            return false;
        }
    }