summaryrefslogtreecommitdiffstats
path: root/media/tests
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-04-19 13:30:20 -0700
committerJames Dong <jdong@google.com>2012-04-27 15:48:46 -0700
commit7a9734d769d97470ce6fac0594dd007804d33432 (patch)
treeca8065dee6e8540066d992dbefed8785dfe6601a /media/tests
parent665a376d245d7bbfc43e3cfa651afc7448604afa (diff)
downloadframeworks_base-7a9734d769d97470ce6fac0594dd007804d33432.zip
frameworks_base-7a9734d769d97470ce6fac0594dd007804d33432.tar.gz
frameworks_base-7a9734d769d97470ce6fac0594dd007804d33432.tar.bz2
Unhide APIs for timed text and multiple audio track switch APIs
o made all the member variables in helper classes for TimedText to be public and final since they are read-only o removed Text and TextPos helper classes o added two public methods in TimedText class: getText() and getBounds() o cleaned up the javadoc of related methods in MediaPlayer.java and TimedText.java classes o make the inner classes of TimedText static and final o change invoke and let it throw RuntimeException on failure (thus a test class needs to be modified also). o related-to-bug: 6110705,5542712 Change-Id: Ia1dd1fd5eb8e9fd1b61c6c0d67405edb627a3002
Diffstat (limited to 'media/tests')
-rw-r--r--media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerInvokeTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerInvokeTest.java b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerInvokeTest.java
index 0b96bae..55a1545 100644
--- a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerInvokeTest.java
+++ b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerInvokeTest.java
@@ -65,7 +65,7 @@ public class MediaPlayerInvokeTest extends ActivityInstrumentationTestCase2<Medi
int val = rnd.nextInt();
request.writeInt(val);
- assertEquals(0, mPlayer.invoke(request, reply));
+ mPlayer.invoke(request, reply);
assertEquals(val, reply.readInt());
}
}