playback: disable audio focus setting on api 31
Disable the ability to customize audio focus on Android 12 and up. Android 12 automatically regulates audio streams even further than it did in previous versions, to the point where the audio focus setting no longer makes sense on that version. I may extend the removal to all versions in the future.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="enable_theme_settings">false</bool>
|
||||
<bool name="enable_audio_focus_setting">false</bool>
|
||||
</resources>
|
||||
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="enable_theme_settings">true</bool>
|
||||
<bool name="enable_audio_focus_setting">true</bool>
|
||||
<integer name="recycler_spans">1</integer>
|
||||
</resources>
|
||||
|
||||
@@ -82,6 +82,7 @@
|
||||
app:defaultValue="true"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="KEY_AUDIO_FOCUS"
|
||||
app:isPreferenceVisible="@bool/enable_audio_focus_setting"
|
||||
app:summary="@string/set_focus_desc"
|
||||
app:title="@string/set_focus" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user