Skip to content

StreamVolumeManager crash on certain devices #8106

@Tolriq

Description

@Tolriq

[REQUIRED] Issue description

Got the following stackTrace on specific device (from Play Console no way to reproduce)

Device: ZTE Z717VL / Android 10 (SDK 29)

java.lang.IllegalStateException: 
  at android.os.Parcel.createException (Parcel.java:2082)
  at android.os.Parcel.readException (Parcel.java:2042)
  at android.os.Parcel.readException (Parcel.java:1990)
  at android.app.IActivityManager$Stub$Proxy.registerReceiver (IActivityManager.java:4952)
  at android.app.ContextImpl.registerReceiverInternal (ContextImpl.java:1537)
  at android.app.ContextImpl.registerReceiver (ContextImpl.java:1498)
  at android.app.ContextImpl.registerReceiver (ContextImpl.java:1486)
  at android.content.ContextWrapper.registerReceiver (ContextWrapper.java:637)
  at com.google.android.exoplayer2.StreamVolumeManager.<init> (StreamVolumeManager.java)
                                                       getVolumeFromManager (StreamVolumeManager.java)
                                                        init> (StreamVolumeManager.java)
  at com.google.android.exoplayer2.SimpleExoPlayer.<init> (SimpleExoPlayer.java)

Maybe related to #8087

[REQUIRED] Reproduction steps

Device specific crash occurring when building ExoPlayer. Since my application does not rely at all on volume management by ExoPlayer would be nice is there was a workaround.

[REQUIRED] A full bug report captured from the device

Unable to provide as user did not contact me

[REQUIRED] Version of ExoPlayer being used

2.12.0

[REQUIRED] Device(s) and version(s) of Android being used

Device: ZTE Z717VL / Android 10 (SDK 29)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions