Auxio/app/src/main/java/org/oxycblt/auxio
OxygenCobalt 1b791074ec
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.
2022-03-05 20:34:12 -07:00
..
accent ui: general cleanup 2022-02-23 15:26:40 -07:00
coil music: add more failsafes to loading process 2022-03-01 19:52:28 -07:00
detail playback: replace headset focus with headset autoplay 2022-03-05 20:34:12 -07:00
excluded all: rework logging 2022-02-22 17:24:51 -07:00
home playback: fix headset focus autoplay issue 2022-03-03 18:47:55 -07:00
music playback: fix headset focus autoplay issue 2022-03-03 18:47:55 -07:00
playback playback: replace headset focus with headset autoplay 2022-03-05 20:34:12 -07:00
search music: rename BaseModel to Item 2022-02-22 17:44:36 -07:00
settings playback: replace headset focus with headset autoplay 2022-03-05 20:34:12 -07:00
ui music: add more failsafes to loading process 2022-03-01 19:52:28 -07:00
util playback: replace headset focus with headset autoplay 2022-03-05 20:34:12 -07:00
widgets all: rework logging 2022-02-22 17:24:51 -07:00
AuxioApp.kt playback: fix headset focus autoplay issue 2022-03-03 18:47:55 -07:00
MainActivity.kt playback: fix headset focus autoplay issue 2022-03-03 18:47:55 -07:00
MainFragment.kt coil: make mosaics use squareframetransform 2022-02-24 14:58:59 -07:00