diff --git a/browser/brave_browser_features.cc b/browser/brave_browser_features.cc index 41ca71a5fdbd..85c244faad08 100644 --- a/browser/brave_browser_features.cc +++ b/browser/brave_browser_features.cc @@ -46,10 +46,12 @@ BASE_FEATURE(kBraveDayZeroExperiment, "BraveDayZeroExperiment", base::FEATURE_DISABLED_BY_DEFAULT); +#if BUILDFLAG(IS_ANDROID) // Enable new onboarding on Android BASE_FEATURE(kNewAndroidOnboarding, "NewAndroidOnboarding", base::FEATURE_DISABLED_BY_DEFAULT); +#endif // BUILDFLAG(IS_ANDROID) // The variant of the "day zero" experiment. i.e. A, B, C, D, etc. const base::FeatureParam kBraveDayZeroExperimentVariant{ diff --git a/browser/brave_browser_features.h b/browser/brave_browser_features.h index efe7b1525e33..ad30895a251e 100644 --- a/browser/brave_browser_features.h +++ b/browser/brave_browser_features.h @@ -19,7 +19,9 @@ BASE_DECLARE_FEATURE(kBraveCopyCleanLinkFromJs); BASE_DECLARE_FEATURE(kBraveOverrideDownloadDangerLevel); BASE_DECLARE_FEATURE(kBraveWebViewRoundedCorners); BASE_DECLARE_FEATURE(kBraveDayZeroExperiment); +#if BUILDFLAG(IS_ANDROID) BASE_DECLARE_FEATURE(kNewAndroidOnboarding); +#endif // BUILDFLAG(IS_ANDROID) extern const base::FeatureParam kBraveDayZeroExperimentVariant; diff --git a/chromium_src/chrome/browser/flags/android/chrome_feature_list.cc b/chromium_src/chrome/browser/flags/android/chrome_feature_list.cc index ff791611da13..8cc98935e6b1 100644 --- a/chromium_src/chrome/browser/flags/android/chrome_feature_list.cc +++ b/chromium_src/chrome/browser/flags/android/chrome_feature_list.cc @@ -48,7 +48,7 @@ &brave_shields::features::kBraveLocalhostAccessPermission, \ &brave_shields::features::kBlockAllCookiesToggle, \ &brave_shields::features::kBraveShieldsElementPicker, \ - &features::kNewAndroidOnboarding, + &features::kNewAndroidOnboarding // clang-format on