Issue #19040 - Update marketing data setting description

pull/420/head
Sebastian Kaspari 3 years ago
parent 5d500a1d66
commit d973d31bbb

@ -67,13 +67,6 @@ class DataChoicesFragment : PreferenceFragmentCompat() {
requirePreference<SwitchPreference>(R.string.pref_key_marketing_telemetry).apply {
isChecked = context.settings().isMarketingTelemetryEnabled
val appName = context.getString(R.string.app_name)
summary = String.format(
context.getString(R.string.preferences_marketing_data_description),
appName
)
onPreferenceChangeListener = SharedPreferenceUpdater()
}

@ -446,6 +446,8 @@
<string name="preferences_marketing_data">Marketing data</string>
<!-- Preference description for marketing data collection, parameter is the app name (e.g. Firefox) -->
<string name="preferences_marketing_data_description">Shares data about what features you use in %1$s with Leanplum, our mobile marketing vendor.</string>
<!-- Preference description for marketing data collection -->
<string name="preferences_marketing_data_description2">Shares basic usage data with Adjust, our mobile marketing vendor</string>
<!-- Title for studies preferences -->
<string name="preference_experiments_2">Studies</string>
<!-- Summary for studies preferences -->

@ -9,7 +9,7 @@
android:title="@string/preference_usage_data" />
<SwitchPreference
android:key="@string/pref_key_marketing_telemetry"
android:summary="@string/preferences_marketing_data_description"
android:summary="@string/preferences_marketing_data_description2"
android:title="@string/preferences_marketing_data" />
<SwitchPreference
android:key="@string/pref_key_experimentation"

Loading…
Cancel
Save