Merge "Update onVideoSizeChanged() callback method Java doc to explicitly specify the conditions under which the width/height passed to the callback could be 0."

This commit is contained in:
James Dong
2011-12-07 23:05:03 -08:00
committed by Android (Google) Code Review

View File

@@ -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