summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2014-05-28 19:10:48 -0700
committerLajos Molnar <lajos@google.com>2014-05-28 19:13:17 -0700
commit8c5d0f2120d2006aa2115105b7c6dbf0b86058ae (patch)
tree3d627a6b7e9805b8e5fec716c301612757934210 /media
parentacfcf645ffb611bbb436aa0249658630c5cb5df2 (diff)
downloadframeworks_base-8c5d0f2120d2006aa2115105b7c6dbf0b86058ae.zip
frameworks_base-8c5d0f2120d2006aa2115105b7c6dbf0b86058ae.tar.gz
frameworks_base-8c5d0f2120d2006aa2115105b7c6dbf0b86058ae.tar.bz2
DO NOT MERGE: media.MediaCodec: hide NotificationCallback listener
Bug: 15091403 Change-Id: I1fd178b6872997055c2ee0b7edfa0264a7d6718b
Diffstat (limited to 'media')
-rw-r--r--media/java/android/media/MediaCodec.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/media/java/android/media/MediaCodec.java b/media/java/android/media/MediaCodec.java
index cb9d4d5..f258063 100644
--- a/media/java/android/media/MediaCodec.java
+++ b/media/java/android/media/MediaCodec.java
@@ -749,6 +749,8 @@ final public class MediaCodec {
* <p>Call this method with a null listener to stop receiving event notifications.
*
* @param cb The listener that will run.
+ *
+ * @hide
*/
public void setNotificationCallback(NotificationCallback cb) {
mNotificationCallback = cb;
@@ -758,6 +760,8 @@ final public class MediaCodec {
* MediaCodec listener interface. Used to notify the user of MediaCodec
* when there are available input and/or output buffers, a change in
* configuration or when a codec error happened.
+ *
+ * @hide
*/
public static abstract class NotificationCallback {
/**
@@ -771,6 +775,7 @@ final public class MediaCodec {
* repeatedly with a zero timeout until {@link #INFO_TRY_AGAIN_LATER} is returned.
*
* @param codec the MediaCodec instance that has an actionable event.
+ *
*/
public abstract void onCodecNotify(MediaCodec codec);
}