This repository was archived by the owner on Jul 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed
src/main/java/org/mozilla/fenix Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -547,6 +547,15 @@ features:
547
547
type : Boolean
548
548
default : false
549
549
550
+ merino-recommendations :
551
+ description : Sets the recommendations provider service to Merino.
552
+ variables :
553
+ enabled :
554
+ description : >
555
+ Whether or not to enable Merino endpoint to serve recommendations.
556
+ type : Boolean
557
+ default : false
558
+
550
559
microsurveys :
551
560
description : Feature for microsurveys.
552
561
variables :
Original file line number Diff line number Diff line change @@ -78,11 +78,6 @@ object FeatureFlags {
78
78
*/
79
79
const val HOMEPAGE_AS_NEW_TAB = false
80
80
81
- /* *
82
- * Enables Merino content recommendations.
83
- */
84
- const val MERINO_CONTENT_RECOMMENDATIONS = false
85
-
86
81
/* *
87
82
* Enables the Unified Trust Panel.
88
83
*/
Original file line number Diff line number Diff line change @@ -1686,9 +1686,10 @@ class Settings(private val appContext: Context) : PreferencesHolder {
1686
1686
/* *
1687
1687
* Indicates if Merino content recommendations should be shown.
1688
1688
*/
1689
- var showContentRecommendations by booleanPreference (
1689
+ var showContentRecommendations by lazyFeatureFlagPreference (
1690
1690
key = appContext.getPreferenceKey(R .string.pref_key_pocket_content_recommendations),
1691
- default = FeatureFlags .MERINO_CONTENT_RECOMMENDATIONS ,
1691
+ default = { FxNimbus .features.merinoRecommendations.value().enabled },
1692
+ featureFlag = true ,
1692
1693
)
1693
1694
1694
1695
/* *
You can’t perform that action at this time.
0 commit comments