Catch RuntimeException thrown by MediaMetadataRetriever
This commit is contained in:
parent
02f3cdfb42
commit
e5b9b68e28
|
@ -69,6 +69,11 @@ public class ExternalMedia implements Playable {
|
|||
e.printStackTrace();
|
||||
throw new PlayableException(
|
||||
"IllegalArgumentException when setting up MediaMetadataReceiver");
|
||||
} catch (RuntimeException e) {
|
||||
// http://code.google.com/p/android/issues/detail?id=39770
|
||||
e.printStackTrace();
|
||||
throw new PlayableException(
|
||||
"RuntimeException when setting up MediaMetadataRetriever");
|
||||
}
|
||||
episodeTitle = mmr
|
||||
.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE);
|
||||
|
|
Loading…
Reference in New Issue