Loading core/java/android/webkit/WebViewFactory.java +0 −22 Original line number Diff line number Diff line Loading @@ -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 Loading core/java/com/android/internal/app/ProcessStats.java +0 −7 Original line number Diff line number Diff line Loading @@ -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; } Loading Loading
core/java/android/webkit/WebViewFactory.java +0 −22 Original line number Diff line number Diff line Loading @@ -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 Loading
core/java/com/android/internal/app/ProcessStats.java +0 −7 Original line number Diff line number Diff line Loading @@ -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; } Loading