LeOSium_old/patches/0001-Vanadium/0026-disable-content-feed-s...

37 lines
2.1 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Daniel Micay <danielmicay@gmail.com>
Date: Sun, 22 Mar 2020 01:23:48 -0400
Subject: [PATCH] disable content feed suggestions by default
---
.../org/chromium/chrome/browser/flags/ChromeFeatureList.java | 2 +-
components/feed/feed_feature_list.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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
index 957ccbd940466..73954ddc3e289 100644
--- 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
@@ -623,7 +623,7 @@ public abstract class ChromeFeatureList {
new CachedFlag(INCOGNITO_REAUTHENTICATION_FOR_ANDROID, false);
public static final CachedFlag sInstanceSwitcher = new CachedFlag(INSTANCE_SWITCHER, true);
public static final CachedFlag sInstantStart = new CachedFlag(INSTANT_START, false);
- public static final CachedFlag sInterestFeedV2 = new CachedFlag(INTEREST_FEED_V2, true);
+ public static final CachedFlag sInterestFeedV2 = new CachedFlag(INTEREST_FEED_V2, false);
public static final CachedFlag sLensCameraAssistedSearch =
new CachedFlag(LENS_CAMERA_ASSISTED_SEARCH, true);
public static final CachedFlag sOmahaMinSdkVersionAndroid =
diff --git a/components/feed/feed_feature_list.cc b/components/feed/feed_feature_list.cc
index a8b36a9ace946..93f8bc7a9af6e 100644
--- a/components/feed/feed_feature_list.cc
+++ b/components/feed/feed_feature_list.cc
@@ -24,7 +24,7 @@ BASE_FEATURE(kInterestFeedContentSuggestions,
// changed, please update the cached one's default value in CachedFeatureFlags.
BASE_FEATURE(kInterestFeedV2,
"InterestFeedV2",
- base::FEATURE_ENABLED_BY_DEFAULT);
+ base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kInterestFeedV2Autoplay,
"InterestFeedV2Autoplay",