| Index: chrome/browser/bookmarks/enhanced_bookmarks_features.cc
|
| diff --git a/chrome/browser/bookmarks/enhanced_bookmarks_features.cc b/chrome/browser/bookmarks/enhanced_bookmarks_features.cc
|
| index 1992640e967b934469bd68af88ca166631565d03..142e5cb7092d05ce49d56fa9b3cc641ce4b846eb 100644
|
| --- a/chrome/browser/bookmarks/enhanced_bookmarks_features.cc
|
| +++ b/chrome/browser/bookmarks/enhanced_bookmarks_features.cc
|
| @@ -22,6 +22,10 @@
|
| #include "extensions/common/features/feature.h"
|
| #include "extensions/common/features/feature_provider.h"
|
|
|
| +#if defined(OS_ANDROID)
|
| +#include "base/android/build_info.h"
|
| +#endif
|
| +
|
| namespace {
|
|
|
| const char kFieldTrialName[] = "EnhancedBookmarks";
|
| @@ -135,6 +139,11 @@ void UpdateBookmarksExperimentState(
|
| }
|
|
|
| #if defined(OS_ANDROID)
|
| + if (base::android::BuildInfo::GetInstance()->sdk_int() <=
|
| + base::android::SdkVersion::SDK_VERSION_ICE_CREAM_SANDWICH_MR1) {
|
| + opt_out = true;
|
| + bookmarks_experiment_new_state = BOOKMARKS_EXPERIMENT_NONE;
|
| + }
|
| bool opt_in = !opt_out &&
|
| base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
|
| switches::kEnhancedBookmarksExperiment) == "1";
|
|
|