MediaExtractor.setDataSource is now properly documented as throwing
IOException. Update cts tests.
related-to-build
Change-Id: I60a1b88517a8fbae29d1389babf439519ce77127
diff --git a/tests/tests/media/src/android/media/cts/MediaMuxerTest.java b/tests/tests/media/src/android/media/cts/MediaMuxerTest.java
index b44321c..42ae7a7 100644
--- a/tests/tests/media/src/android/media/cts/MediaMuxerTest.java
+++ b/tests/tests/media/src/android/media/cts/MediaMuxerTest.java
@@ -295,7 +295,7 @@
* makes sure the samples match.
*/
private void verifySamplesMatch(int srcMedia, String testMediaPath,
- int seekToUs) {
+ int seekToUs) throws IOException {
AssetFileDescriptor testFd = mResources.openRawResourceFd(srcMedia);
MediaExtractor extractorSrc = new MediaExtractor();
extractorSrc.setDataSource(testFd.getFileDescriptor(),