StagefrightTest unselectTrack exception handling

Bug: 170149965
Test: cts-tradefed run cts -m CtsSecurityBulletinTestCases -t android.security.cts.StagefrightTest
Change-Id: I85b3f515585f0a5f97c2c874e8735f988fd17e6f
diff --git a/tests/tests/security/src/android/security/cts/StagefrightTest.java b/tests/tests/security/src/android/security/cts/StagefrightTest.java
index 90af907..f4d7fa0 100644
--- a/tests/tests/security/src/android/security/cts/StagefrightTest.java
+++ b/tests/tests/security/src/android/security/cts/StagefrightTest.java
@@ -1984,7 +1984,11 @@
                     codec.release();
                 }
             }
-            ex.unselectTrack(t);
+            try {
+                ex.unselectTrack(t);
+            } catch (IllegalArgumentException e) {
+                // since we're just cleaning up, we don't care if it fails
+            }
         }
         ex.release();
         String cve = rname.replace("_", "-").toUpperCase();