From: Daniel Micay Date: Thu, 10 Dec 2020 10:09:18 -0500 Subject: disable WebView variations support Original License: MIT - https://spdx.org/licenses/MIT.html License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html --- .../com/android/webview/chromium/WebViewChromiumAwInit.java | 6 ------ .../webview/chromium/WebViewChromiumFactoryProvider.java | 4 ---- 2 files changed, 10 deletions(-) diff --git a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumAwInit.java b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumAwInit.java --- a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumAwInit.java +++ b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumAwInit.java @@ -201,12 +201,6 @@ public class WebViewChromiumAwInit { AwBrowserProcess.configureChildProcessLauncher(); - // finishVariationsInitLocked() must precede native initialization so the seed is - // available when AwFeatureListCreator::SetUpFieldTrials() runs. - if (!FastVariationsSeedSafeModeAction.hasRun()) { - finishVariationsInitLocked(); - } - AwBrowserProcess.start(); AwBrowserProcess.handleMinidumpsAndSetMetricsConsent(true /* updateMetricsConsent */); diff --git a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java --- a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java +++ b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java @@ -488,10 +488,6 @@ public class WebViewChromiumFactoryProvider implements WebViewFactoryProvider { } } - if (!FastVariationsSeedSafeModeAction.hasRun()) { - mAwInit.startVariationsInit(); - } - mShouldDisableThreadChecking = shouldDisableThreadChecking(ctx); setSingleton(this); -- 2.25.1