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

Commit 03c76e2b authored by Ignacio Solla's avatar Ignacio Solla Committed by Android (Google) Code Review
Browse files

Merge "[WebView] Remove fallback call to WebViewFactoryProvider no-arg constructor."

parents 0f4a1abc 1ea39b35
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -116,13 +116,9 @@ public final class WebViewFactory {

                StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads();
                Trace.traceBegin(Trace.TRACE_TAG_WEBVIEW, "providerClass.newInstance()");
                try {
                try {
                    sProviderInstance = providerClass.getConstructor(WebViewDelegate.class)
                            .newInstance(new WebViewDelegate());
                    } catch (Exception e) {
                        sProviderInstance = providerClass.newInstance();
                    }
                    if (DEBUG) Log.v(LOGTAG, "Loaded provider: " + sProviderInstance);
                    return sProviderInstance;
                } catch (Exception e) {