googlesamples / android-media-controller

Apache License 2.0
432 stars 132 forks source link

crash on Android versions older than 7.0 #30

Closed rumburake closed 3 years ago

rumburake commented 3 years ago

I wanted to test my media app on a Marshmallow device, but MCT crashes, because feature check loop uses streams which is unsupported before API 24.

Screenshot 2021-02-15 211751

We should use a simple Java loop to keep MCT working on Android 5 and 6 until the file is converted to Kotlin.

rumburake commented 3 years ago

foxed