Skip to content

Commit 5cf1698

Browse files
Ionut Cristian Bedregeanumergify[bot]
authored andcommitted
[focus] For 5837 - Add Autoplay settings screen
Until now only audible videos were blocked by default, this commit add a new settings screen to let the user to choose the state of Autoplay X-Channel-Revision: [main] mozilla-mobile/android-components@96444dd X-Channel-Revision: [main] mozilla-mobile/fenix@d039188 X-Channel-Revision: [main] mozilla-mobile/focus-android@a9a09b1 X-Channel-Converted-Revision: [main] mozilla-mobile/firefox-android@ae83982
1 parent 7ae5c8b commit 5cf1698

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mozilla-mobile/firefox-android/focus-android",
33
"revs": {
4-
"main": "b183161a44745a31b91d447225577fc698ac158e"
4+
"main": "ae839829b76cfd89a6387b82bb16554a3286cb83"
55
}
66
}

mozilla-mobile/focus-android/app/src/main/res/values/strings.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,24 @@
607607
<!-- Title of Advanced Setting category -->
608608
<string name="preference_category_advanced">Advanced</string>
609609

610+
<!-- Preference for site permissions -->
611+
<string name="preference_site_permissions">Site permissions</string>
612+
613+
<!-- Preference for autoplay -->
614+
<string name="preference_autoplay">Autoplay</string>
615+
616+
<!-- Preference for allow autoplay audio and video-->
617+
<string name="preference_allow_audio_video_autoplay">Allow audio and video</string>
618+
619+
<!-- Preference for block autoplay audio only-->
620+
<string name="preference_block_autoplay_audio_only">Block audio only</string>
621+
622+
<!-- Preference summary for block autoplay audio only-->
623+
<string name="preference_block_autoplay_audio_only_summary">Recommended</string>
624+
625+
<!-- Preference for block autoplay audio and video-->
626+
<string name="preference_block_autoplay_audio_video">Block audio and video</string>
627+
610628
<!-- Preference for studies -->
611629
<string name="preference_studies">Studies</string>
612630

0 commit comments

Comments
 (0)