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

Commit 082593ba authored by Tao Bai's avatar Tao Bai Committed by Android (Google) Code Review
Browse files

Merge "Using addAssetPathAsSharedLibrary to load asset."

parents 01168521 dd337646
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -248,7 +248,7 @@ public final class WebViewFactory {
            Context webViewContext = initialApplication.createPackageContext(
                    sPackageInfo.packageName,
                    Context.CONTEXT_INCLUDE_CODE | Context.CONTEXT_IGNORE_SECURITY);
            initialApplication.getAssets().addAssetPath(
            initialApplication.getAssets().addAssetPathAsSharedLibrary(
                    webViewContext.getApplicationInfo().sourceDir);
            ClassLoader clazzLoader = webViewContext.getClassLoader();
            Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, "Class.forName()");