diff --git a/patches/block-autoplay-by-default.patch b/patches/block-autoplay-by-default.patch index 9232a7b..e0436f9 100644 --- a/patches/block-autoplay-by-default.patch +++ b/patches/block-autoplay-by-default.patch @@ -1,8 +1,8 @@ diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt -index df8ac39bb3..27308c8f49 100644 +index b800c22431..09b5d24039 100644 --- a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt +++ b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt -@@ -1166,7 +1166,7 @@ class Settings(private val appContext: Context) : PreferencesHolder { +@@ -1216,7 +1216,7 @@ class Settings(private val appContext: Context) : PreferencesHolder { * either [AUTOPLAY_ALLOW_ALL] or [AUTOPLAY_BLOCK_ALL]. Because of this, we are forced to save * the user selected setting as well. */ @@ -11,7 +11,7 @@ index df8ac39bb3..27308c8f49 100644 private fun getSitePermissionsPhoneFeatureAutoplayAction( feature: PhoneFeature, -@@ -1195,7 +1195,7 @@ class Settings(private val appContext: Context) : PreferencesHolder { +@@ -1245,7 +1245,7 @@ class Settings(private val appContext: Context) : PreferencesHolder { ), autoplayInaudible = getSitePermissionsPhoneFeatureAutoplayAction( feature = PhoneFeature.AUTOPLAY_INAUDIBLE, diff --git a/patches/block-cookie-banners.patch b/patches/block-cookie-banners.patch index a45a9a1..94fa136 100644 --- a/patches/block-cookie-banners.patch +++ b/patches/block-cookie-banners.patch @@ -1,9 +1,9 @@ diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt -index 2842a8204c..5a81d93037 100644 +index b800c22431..ee55f25475 100644 --- a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt +++ b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt -@@ -654,20 +654,17 @@ class Settings(private val appContext: Context) : PreferencesHolder { - true, +@@ -682,20 +682,17 @@ class Settings(private val appContext: Context) : PreferencesHolder { + false, ) - var shouldUseCookieBannerPrivateMode by lazyFeatureFlagPreference( @@ -28,10 +28,10 @@ index 2842a8204c..5a81d93037 100644 val shouldEnableCookieBannerDetectOnly: Boolean get() = cookieBannersSection[CookieBannersSection.FEATURE_SETTING_DETECT_ONLY] == 1 diff --git a/mobile/android/fenix/app/src/main/res/xml/preferences.xml b/mobile/android/fenix/app/src/main/res/xml/preferences.xml -index c03abd3..2abf25c 100644 +index 3b85a2a548..cad50ee74a 100644 --- a/mobile/android/fenix/app/src/main/res/xml/preferences.xml +++ b/mobile/android/fenix/app/src/main/res/xml/preferences.xml -@@ -111,7 +111,7 @@ +@@ -118,7 +118,7 @@ - When the feature is enabled then microsurveys can be used. - type: Boolean -- default: true -+ default: false - - set-as-default-prompt: - description: > diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt -index 777a555948..e90227f9e3 100644 +index b800c22431..020c7d59cc 100644 --- a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt +++ b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt -@@ -2137,19 +2137,12 @@ class Settings(private val appContext: Context) : PreferencesHolder { +@@ -2155,19 +2155,12 @@ class Settings(private val appContext: Context) : PreferencesHolder { /** * Indicates if the microsurvey feature is enabled. */ diff --git a/patches/disable-search-suggestions.patch b/patches/disable-search-suggestions.patch index 42291ce..c355f71 100644 --- a/patches/disable-search-suggestions.patch +++ b/patches/disable-search-suggestions.patch @@ -1,8 +1,8 @@ diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt -index 777a555948..c4d74f0de2 100644 +index b800c22431..9638c9e04a 100644 --- a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt +++ b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt -@@ -1064,7 +1064,7 @@ class Settings(private val appContext: Context) : PreferencesHolder { +@@ -1072,7 +1072,7 @@ class Settings(private val appContext: Context) : PreferencesHolder { val shouldShowSearchSuggestions by booleanPreference( appContext.getPreferenceKey(R.string.pref_key_show_search_suggestions), @@ -11,9 +11,9 @@ index 777a555948..c4d74f0de2 100644 ) val shouldAutocompleteInAwesomebar by booleanPreference( -@@ -1082,10 +1082,7 @@ class Settings(private val appContext: Context) : PreferencesHolder { - default = false, - ) +@@ -1106,10 +1106,7 @@ class Settings(private val appContext: Context) : PreferencesHolder { + trendingSearchSuggestionsEnabled && isTrendingSearchesVisible && + searchEngine?.trendingUrl != null && (!isPrivate || shouldShowSearchSuggestionsInPrivate) - var showSearchSuggestionsInPrivateOnboardingFinished by booleanPreference( - appContext.getPreferenceKey(R.string.pref_key_show_search_suggestions_in_private_onboarding), @@ -22,7 +22,7 @@ index 777a555948..c4d74f0de2 100644 + var showSearchSuggestionsInPrivateOnboardingFinished = true fun incrementVisitedInstallableCount() = pwaInstallableVisitCount.increment() - + diff --git a/mobile/android/fenix/app/src/main/res/xml/search_settings_preferences.xml b/mobile/android/fenix/app/src/main/res/xml/search_settings_preferences.xml index a4de5c1..e15e096 100644 --- a/mobile/android/fenix/app/src/main/res/xml/search_settings_preferences.xml