diff options
| author | 2011-12-06 17:55:38 -0800 | |
|---|---|---|
| committer | 2011-12-06 17:58:22 -0800 | |
| commit | ca402cdcacfdcd2978a22d59f446c93aad34c75e (patch) | |
| tree | 36c7217db45eb2e7fda1fea5fe33d7e1228ae6d0 | |
| parent | 738a154a1b27ff908616c336d4adf400a141eebf (diff) | |
Update onVideoSizeChanged() callback method Java doc to explicitly specify the conditions under which the width/height passed
to the callback could be 0.
Change-Id: Ie921f0af8284eccfd02c4a5826ed41fe19f9676f
related-to-bug: 5613451
| -rw-r--r-- | media/java/android/media/MediaPlayer.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/java/android/media/MediaPlayer.java b/media/java/android/media/MediaPlayer.java index 8d71dcf644d0..4c70e9de1fb8 100644 --- a/media/java/android/media/MediaPlayer.java +++ b/media/java/android/media/MediaPlayer.java @@ -1735,6 +1735,9 @@ public class MediaPlayer /** * Called to indicate the video size * + * The video size (width and height) could be 0 if there was no video, + * no display surface was set, or the value was not determined yet. + * * @param mp the MediaPlayer associated with this callback * @param width the width of the video * @param height the height of the video |