Situation: there are cases where calling priority order is by-passed and/or overloaded about 1/20 of all times by other application, which I think is critical because of many things.
Do
- Have 3.5 mm plug your phone and listen to music.
- Unplug 3.5 mmm plug
- you see that Spotify has stopped playing when inspecting it in the notification bar and hearing no music anymore
- Do nothing with your phone in two hours
- Call with your phone after two hours
- You hear Spotify's music, instead of dialing -sound.
- Stop calling.
- Call again. The dialing starts Spotify's music which hides dialling -sound and the sound of the other person. The other person can answer your call but you will not here his/her sound, because Spotify is higher in the priority order, which should not be possible. I reproduced this five times.
Output when calling: the music of Spotify.
Expected output: dialing sound.
Vulnerable bug/issue because
- unplugging 3.5 mm did not stop music
- starting calling prioritized Spotify first, hiding completely the dialling sound, although this should not be possible
The point (2) is the thing which should be studied much more closely.
Similar issues with Spotify in CM13
- [S]omething strange with the audio subsystems. Once my phone started blurting out spotify music without even having spotify started, I had to reboot as to get it to stop as spotify wasn't running but still it was, phantom spotify. (pitrus-)
- ...
Phone: Oneplus 2
OS: CyanogenMod 13 Nightly 20160818-NIGHTLY-oneplus2; testing and reproducing now in Android 6.0
Rooted: no
Developer mode active: no
Recovery mode: TWRP 3.0.2
CM13 forum: https://forum.cyanogenmod.org/topic/128839-why-this-overloading-issue-in-calling-in-oneplus-2-of-cm13/
XDA forum: http://forum.xda-developers.com/oneplus-2/orig-development/rom-official-cyanogenmod-13-t3392278/page232#post68535053