Handle MediaMetadataRetriever.release IOException

MediaMetadataRetriever.release now declares a thrown IOException.

Bug: 200173116
Test: Should be a non-functional change (only relevant when using MediaDataSource).
Change-Id: Ia3f5f01ee79feb35a10ec8bbbef6db88b32f2161
This commit is contained in:
Santiago Seifert
2021-09-22 10:56:34 +00:00
parent 748b753771
commit c4ce65c11e
@@ -74,7 +74,7 @@ public class MediaMetadataRetrieverWrapper {
public void release() {
try {
mRetriever.release();
} catch (RuntimeException e) {
} catch (RuntimeException | IOException e) {
LogUtil.e(LogUtil.BUGLE_TAG, "MediaMetadataRetriever.release failed", e);
}
}