Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[expo-media-library][android] Prevent from crashing when MediaMetadataRetriever failed #9855

Conversation

lukmccall
Copy link
Contributor

Why

Probably fixes #9839 - I can't reproduce it. Hovewer, with setDataSource failed: status = 0x80000000 we can't do anything.

How

Prevent from crashing when MediaMetadaRetriver throws a RuntimeException.

Test Plan

  • expo-client ✅

Changelog

  • Fixed RuntimeException: setDataSource failed: status = 0x80000000 caused by MediaMetadataRetriever.

@github-actions
Copy link
Contributor

Native Component List for this branch is ready

@lukmccall lukmccall merged commit 9aede9b into master Aug 31, 2020
@lukmccall lukmccall deleted the @lukmccall/expo-media-library/handle-crashes-caused-by-media-metadata-retriver branch August 31, 2020 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[media-library] RuntimeException "setDataSource failed" in MediaLibraryUtils.java
2 participants