playback: replace headset focus with headset autoplay
Turn the headset focus setting into the headset autoplay setting. The way auxio handles headsets is...odd. Sometimes the MediaSession handles it and Auxio could not care less, and sometimes Auxio actually needs to handle it. As a result, the idea of being able to disable headset focus is more or less moot because it will only apply to some devices and not others. On the other end, the way Auxio automatically begins playback once a headset is plugged in is also quite weird. It only works on wired headsets, and when it does, it overrides all other apps that might also be playing audio. It's not to say that it's a bad feature, but it's also one that I don't want to make the defualt. Auxio should still play along within the confines of Android's expectations, after all. Replacing the existing "Headset focus" setting with a new "Headset autoplay" setting solves both of these issues, as it prevents a mis-guided disabling of the setting that doesn't actually disable the feature and it relegates the quirky autoplay behavior to an setting not enabled by default.
This commit is contained in:
@@ -83,10 +83,8 @@
|
||||
<string name="set_audio">音频</string>
|
||||
<string name="set_focus">音频焦点</string>
|
||||
<string name="set_focus_desc">有其它音频播放(比如电话)时暂停</string>
|
||||
<string name="set_plug_mgt">设备焦点</string>
|
||||
<string name="set_plug_mgt_desc">设备连接状态改变时播放/暂停</string>
|
||||
<string name="set_replay_gain">回放增益</string>
|
||||
<string name="set_replay_gain_off">关</string>
|
||||
<string name="set_off">关</string>
|
||||
<string name="set_replay_gain_track">偏好曲目</string>
|
||||
<string name="set_replay_gain_album">偏好专辑</string>
|
||||
<string name="set_replay_gain_dynamic">动态</string>
|
||||
|
||||
Reference in New Issue
Block a user