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

Commit 8267a95e authored by Selim Gurun's avatar Selim Gurun Committed by Android Git Automerger
Browse files

am f37bec2b: Merge "Cleanup remainings of old webview."

* commit 'f37bec2bcce152f9cc787d508dd3c480f712a5e9':
  Cleanup remainings of old webview.
parents 268d1cad 049803a0
Loading
Loading
Loading
Loading
+0 −22
Original line number Diff line number Diff line
@@ -50,28 +50,6 @@ public final class WebViewFactory {
    private static WebViewFactoryProvider sProviderInstance;
    private static final Object sProviderLock = new Object();

    public static boolean isExperimentalWebViewAvailable() {
        // TODO: Remove callers of this method then remove it.
        return false;  // Hide the toggle in Developer Settings.
    }

    /** @hide */
    public static void setUseExperimentalWebView(boolean enable) {
        // TODO: Remove callers of this method then remove it.
    }

    /** @hide */
    public static boolean useExperimentalWebView() {
        // TODO: Remove callers of this method then remove it.
        return true;
    }

    /** @hide */
    public static boolean isUseExperimentalWebViewSet() {
        // TODO: Remove callers of this method then remove it.
        return false;  // User has not modifed Developer Settings
    }

    static WebViewFactoryProvider getProvider() {
        synchronized (sProviderLock) {
            // For now the main purpose of this function (and the factory abstraction) is to keep
+0 −7
Original line number Diff line number Diff line
@@ -1108,13 +1108,6 @@ public final class ProcessStats implements Parcelable {
                mRuntime = runtime;
            }
        }
        String webview = WebViewFactory.useExperimentalWebView() ? "chromeview" : "webview";
        if (!Objects.equals(webview, mWebView)) {
            changed = true;
            if (update) {
                mWebView = webview;
            }
        }
        return changed;
    }