Skip AudioTrackTest#testPlayStaticData if no audio output found

Bug: 20340550
Change-Id: Id42c3575a0195196f65e7439269ef29655e9b5d7
diff --git a/tests/tests/media/src/android/media/cts/AudioTrackTest.java b/tests/tests/media/src/android/media/cts/AudioTrackTest.java
index 4f6d27f..be68756 100644
--- a/tests/tests/media/src/android/media/cts/AudioTrackTest.java
+++ b/tests/tests/media/src/android/media/cts/AudioTrackTest.java
@@ -1360,6 +1360,9 @@
     }
 
     public void testPlayStaticData() throws Exception {
+        if (!hasAudioOutput()) {
+            return;
+        }
         // constants for test
         final String TEST_NAME = "testPlayStaticData";
         final int TEST_FORMAT_ARRAY[] = {  // 6 chirps repeated (TEST_LOOPS+1) times, 3 times