Why this overloading issue in calling in CM13 and/or Android 6.0?


Question

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




  1. Have 3.5 mm plug your phone and listen to music.

  2. Unplug 3.5 mmm plug


    • you see that Spotify has stopped playing when inspecting it in the notification bar and hearing no music anymore


  3. Do nothing with your phone in two hours

  4. Call with your phone after two hours

  5. You hear Spotify's music, instead of dialing -sound.

  6. Stop calling.

  7. 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




  1. unplugging 3.5 mm did not stop music

  2. 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


Answer

I managed lastly to reproduce the problem in CM13 ROM. So it is CM13 specific. They have just one maintainer for the phone, which is too little, for my demands. I moved back to OxygenOS because they have several teams and old CM developers working for the ROM.
This is my second CM phone which has such critical weaknesses.
The other reason for the change is that that CM13 system breaks each time when you update it. You have to wipe nearly everything to have a stable update/upgrade.
In short, reasons to move from CM13 to OxygenOS in Oneplus 2




  1. Support teams of old CM developers, OxygenOS and HydrogenOS working for the ROM.

  2. Support of continuous stable updates and upgrades for OxygenOS.

  3. Knowledge of the hardware for better software.

  4. Aim to be Nexus-like environment.

  5. Responsive customer support.



Reasons to leave CM




  1. No continuous stable updates and upgrades of CM in all phones where I have used CM.

  2. No teams working for individual phones. Those little bugs can be critical, which I cannot have.

  3. No resources to think, define and fix customers' issues/bug-reports of the ROM for individual devices.

  4. No hardware knowledge and development so less vertical understanding.

  5. Unresponsive customer support.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes