Add setting for continuing playback when app is closed

This commit is contained in:
Alexander Capehart
2025-11-04 10:09:21 -07:00
parent 64d7fecfd2
commit 1a2ea90d7e
5 changed files with 21 additions and 1 deletions
+1
View File
@@ -40,6 +40,7 @@
<string name="set_key_rewind_prev" translatable="false">KEY_PREV_REWIND</string>
<string name="set_key_repeat_pause" translatable="false">KEY_LOOP_PAUSE</string>
<string name="set_key_remember_pause" translatable="false">auxio_remember_pause</string>
<string name="set_key_continue_app_closed" translatable="false">auxio_continue_app_closed</string>
<string name="set_key_home_tabs" translatable="false">auxio_home_tabs</string>
<string name="set_key_hide_collaborators" translatable="false">auxio_hide_collaborators</string>
+2
View File
@@ -303,6 +303,8 @@
<string name="set_repeat_pause_desc">Pause when a song repeats</string>
<string name="set_remember_pause">Remember pause</string>
<string name="set_remember_pause_desc">Remain playing/paused when skipping or editing queue</string>
<string name="set_continue_app_closed">Continue when app closed</string>
<string name="set_continue_app_closed_desc">Continue playback when app is swiped away from recents</string>
<string name="set_replay_gain">Volume normalization</string>
<string name="set_replay_gain_mode">ReplayGain strategy</string>
<string name="set_replay_gain_mode_off">Off</string>
@@ -27,6 +27,12 @@
app:summary="@string/set_remember_pause_desc"
app:title="@string/set_remember_pause" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:key="@string/set_key_continue_app_closed"
app:summary="@string/set_continue_app_closed_desc"
app:title="@string/set_continue_app_closed" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/set_replay_gain">