Audio Focus Crash in [@ java.lang.SecurityException: at android.os.Parcel.createExceptionOrNull(Parcel.java)]
Categories
(Firefox for Android :: Browser Engine, defect, P5)
Tracking
()
People
(Reporter: rsainani, Unassigned)
References
()
Details
(Keywords: crash)
Crash Data
Crash report: https://crash-stats.mozilla.org/report/index/81703d4a-d129-405d-b306-5caaf0230327
Note: On Android 12 (API level 31) or later, Audio focus is managed by the system. The system forces audio playback from an app to fade out when another app requests audio focus. In addition, the system also mutes audio playback when an incoming call is received.
The crash seems to be occurring on API level 31 and above. Further investigation on handling audio focus is needed for API Level 31 and above.
Java stack trace:
java.lang.SecurityException
at android.os.Parcel.createExceptionOrNull(Parcel.java:3011)
at android.os.Parcel.createException(Parcel.java:2995)
at android.os.Parcel.readException(Parcel.java:2978)
at android.os.Parcel.readException(Parcel.java:2920)
at android.media.IAudioService$Stub$Proxy.requestAudioFocus(IAudioService.java:4635)
at android.media.AudioManager.requestAudioFocus(AudioManager.java:4366)
at android.media.AudioManager.requestAudioFocus(AudioManager.java:4115)
at mozilla.components.feature.media.focus.AudioFocusControllerV26$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:1)
at mozilla.components.feature.media.focus.AudioFocusControllerV26.request(AudioFocusControllerV26.kt:5)
at mozilla.components.feature.media.service.MediaSessionServiceDelegate.handleMediaPlaying(MediaSessionServiceDelegate.kt:55)
at mozilla.components.feature.media.MediaSessionFeature.showMediaStatus$feature_media_release(MediaSessionFeature.kt:81)
at mozilla.components.feature.media.MediaSessionFeature$mediaServiceConnection$1.onServiceConnected(MediaSessionFeature.kt:41)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2188)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2221)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7872)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Comment 1•3 years ago
|
||
The severity field is not set for this bug.
:cpeterson, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 2•11 months ago
|
||
The bug is linked to a topcrash signature, which matches the following criterion:
- Top 10 AArch64 and ARM crashes on nightly
:boek, could you consider increasing the severity of this top-crash bug?
For more information, please visit BugBot documentation.
Comment 4•11 months ago
|
||
Based on the topcrash criteria, the crash signature linked to this bug is not a topcrash signature anymore.
For more information, please visit BugBot documentation.
Updated•3 months ago
|
Description
•