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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user