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
This commit is contained in:
James Dong
2011-12-06 17:55:38 -08:00
parent 738a154a1b
commit ca402cdcac

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