am aea823b0: Fix failure in testMuxer().
* commit 'aea823b0eb88a585e66019202945316a33a8934c':
Fix failure in testMuxer().
diff --git a/tests/tests/media/src/android/media/cts/NativeDecoderTest.java b/tests/tests/media/src/android/media/cts/NativeDecoderTest.java
index 76620c1..81c5113 100644
--- a/tests/tests/media/src/android/media/cts/NativeDecoderTest.java
+++ b/tests/tests/media/src/android/media/cts/NativeDecoderTest.java
@@ -406,6 +406,10 @@
}
private void testMuxer(int res, boolean webm) throws Exception {
+ if (!supportsPlayback(res)) {
+ Log.i(TAG, "SKIPPING testMuxer() resid=" + res + " Unsupported decorder.");
+ return;
+ }
AssetFileDescriptor infd = mResources.openRawResourceFd(res);
File base = mContext.getExternalFilesDir(null);