Loading core/java/android/widget/VideoView.java +1 −0 Original line number Diff line number Diff line Loading @@ -284,6 +284,7 @@ public class VideoView extends SurfaceView implements MediaPlayerControl { mVideoHeight = mp.getVideoHeight(); if (mVideoWidth != 0 && mVideoHeight != 0) { getHolder().setFixedSize(mVideoWidth, mVideoHeight); requestLayout(); } } }; Loading Loading
core/java/android/widget/VideoView.java +1 −0 Original line number Diff line number Diff line Loading @@ -284,6 +284,7 @@ public class VideoView extends SurfaceView implements MediaPlayerControl { mVideoHeight = mp.getVideoHeight(); if (mVideoWidth != 0 && mVideoHeight != 0) { getHolder().setFixedSize(mVideoWidth, mVideoHeight); requestLayout(); } } }; Loading