Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca402cdc authored by James Dong's avatar James Dong
Browse files

Update onVideoSizeChanged() callback method Java doc to explicitly specify the...

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
parent 738a154a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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