41 lines
2.2 KiB
Diff
41 lines
2.2 KiB
Diff
|
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
||
|
Date: Wed, 16 Nov 2022 11:18:07 +0100
|
||
|
Subject: Disable StartSurface feature
|
||
|
|
||
|
This feature would normally show a search box but leads to crashes.
|
||
|
|
||
|
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
||
|
---
|
||
|
chrome/browser/flags/android/chrome_feature_list.cc | 4 ++--
|
||
|
.../org/chromium/chrome/browser/flags/ChromeFeatureList.java | 2 +-
|
||
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
||
|
|
||
|
diff --git a/chrome/browser/flags/android/chrome_feature_list.cc b/chrome/browser/flags/android/chrome_feature_list.cc
|
||
|
--- a/chrome/browser/flags/android/chrome_feature_list.cc
|
||
|
+++ b/chrome/browser/flags/android/chrome_feature_list.cc
|
||
|
@@ -1145,8 +1145,8 @@ BASE_FEATURE(kSearchEnginesPromoV3,
|
||
|
BASE_FEATURE(kSpareTab, "SpareTab", base::FEATURE_ENABLED_BY_DEFAULT);
|
||
|
|
||
|
BASE_FEATURE(kStartSurfaceAndroid,
|
||
|
- "StartSurfaceAndroid",
|
||
|
- base::FEATURE_ENABLED_BY_DEFAULT);
|
||
|
+ "StartSurfaceAndroid", // must be disabled
|
||
|
+ base::FEATURE_DISABLED_BY_DEFAULT); // in Bromite
|
||
|
|
||
|
BASE_FEATURE(kFeedPositionAndroid,
|
||
|
"FeedPositionAndroid",
|
||
|
diff --git a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||
|
--- a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||
|
+++ b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
|
||
|
@@ -613,7 +613,7 @@ public abstract class ChromeFeatureList {
|
||
|
new CachedFlag(SHOULD_IGNORE_INTENT_SKIP_INTERNAL_CHECK, true);
|
||
|
public static final CachedFlag sSpareTab = new CachedFlag(SPARE_TAB, false);
|
||
|
public static final CachedFlag sStartSurfaceAndroid = new CachedFlag(
|
||
|
- START_SURFACE_ANDROID, ChromePreferenceKeys.FLAGS_CACHED_START_SURFACE_ENABLED, true);
|
||
|
+ START_SURFACE_ANDROID, ChromePreferenceKeys.FLAGS_CACHED_START_SURFACE_ENABLED, false);
|
||
|
public static final CachedFlag sStartSurfaceDisabledFeedImprovement =
|
||
|
new CachedFlag(START_SURFACE_DISABLED_FEED_IMPROVEMENT, false);
|
||
|
public static final CachedFlag sStartSurfaceOnTablet =
|
||
|
--
|
||
|
2.25.1
|