Partially revert "Handle WebView assets correctly when multiple APKs are used."
This reverts the WebViewFactory changes from commit
527fa8f4de which appear to have changed
the way that the asset path is updated in an incompatible way.
Bug: 124116212
Fixes: 128489090
Test: launch affected applications
Change-Id: Id53dedef4fa55a6b8cea8a60326a4b8acd3422f8
This commit is contained in:
@@ -448,7 +448,8 @@ public final class WebViewFactory {
|
||||
|
||||
Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, "WebViewFactory.getChromiumProviderClass()");
|
||||
try {
|
||||
new WebViewDelegate().addWebViewAssetPath(initialApplication);
|
||||
initialApplication.getAssets().addAssetPathAsSharedLibrary(
|
||||
webViewContext.getApplicationInfo().sourceDir);
|
||||
ClassLoader clazzLoader = webViewContext.getClassLoader();
|
||||
|
||||
Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, "WebViewFactory.loadNativeLibrary()");
|
||||
|
||||
Reference in New Issue
Block a user