From ff73cb6a4d2e1e3eed0596b1f417f35255181fe6 Mon Sep 17 00:00:00 2001 From: sarah541 Date: Wed, 7 Sep 2022 16:02:31 -0400 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/26867 - Remove feature flag for first run onboarding updates --- app/src/main/java/org/mozilla/fenix/utils/Settings.kt | 9 --------- app/src/main/res/values/preference_keys.xml | 2 -- nimbus.fml.yaml | 4 ---- 3 files changed, 15 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/utils/Settings.kt b/app/src/main/java/org/mozilla/fenix/utils/Settings.kt index 5033b8bd36..c9a2a96718 100644 --- a/app/src/main/java/org/mozilla/fenix/utils/Settings.kt +++ b/app/src/main/java/org/mozilla/fenix/utils/Settings.kt @@ -1255,15 +1255,6 @@ class Settings(private val appContext: Context) : PreferencesHolder { default = { mr2022Sections[Mr2022Section.HOME_ONBOARDING_DIALOG_EXISTING_USERS] == true }, ) - /** - * Indicates if home onboarding dialog should be shown. - */ - var showFirstRunOnboardingUpdate by lazyFeatureFlagPreference( - appContext.getPreferenceKey(R.string.pref_key_show_first_run_onboarding_update), - featureFlag = FeatureFlags.showFirstRunOnboardingUpdates, - default = { mr2022Sections[Mr2022Section.HOME_ONBOARDING_DIALOG_NEW_USERS] == true }, - ) - /** * Indicates if the recent tabs functionality should be visible. * Returns true if the [FeatureFlags.showRecentTabsFeature] and [R.string.pref_key_recent_tabs] are true. diff --git a/app/src/main/res/values/preference_keys.xml b/app/src/main/res/values/preference_keys.xml index 27818cef0d..09d692a9e2 100644 --- a/app/src/main/res/values/preference_keys.xml +++ b/app/src/main/res/values/preference_keys.xml @@ -243,8 +243,6 @@ pref_key_should_show_sync_cfr pref_key_should_show_home_onboarding_dialog - - pref_key_show_first_run_onboarding_update pref_key_should_show_total_cookie_protection_popup diff --git a/nimbus.fml.yaml b/nimbus.fml.yaml index 253004b2d9..8b27263994 100644 --- a/nimbus.fml.yaml +++ b/nimbus.fml.yaml @@ -189,7 +189,6 @@ features: type: Map default: { - "home-onboarding-dialog-new-users": false, "home-onboarding-dialog-existing-users": false, "sync-cfr": false, "wallpapers-selection-tool": false, @@ -201,7 +200,6 @@ features: - channel: developer value: { "sections-enabled": { - "home-onboarding-dialog-new-users": true, "home-onboarding-dialog-existing-users": true, "sync-cfr": true, "wallpapers-selection-tool": true, @@ -337,8 +335,6 @@ types: variants: home-onboarding-dialog-existing-users: description: Home onboarding dialog for upgraded users. - home-onboarding-dialog-new-users: - description: Home onboarding dialog for new users. sync-cfr: description: CFR for the first time you see a synced tab on the home screen. wallpapers-selection-tool: