This correction in AudioPolicyManager does not directly fix the issue but a potential problem identified when working on the resolution. The problem is that audio output path is not updated immediately when a headset is unplugged if music or notifications are active. This is however not observable because: - music is paused by music app when the headset is unplugged, and correct path is re-established when music is resumed. - ringtones and notifications are playing on both headset and speaker and are still audible on speaker when the headset is unplugged even if the actual output path is not changed to speaker only. There could be an impact on applications using MUSIC stream and not reacting to Intent AudioManager.ACTION_AUDIO_BECOMING_NOISY though.
Description
No description provided
Languages
C++
90.2%
Objective-C
4.6%
C
2.8%
Makefile
2.4%