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

Commit f5d102ed authored by Teng-Hui Zhu's avatar Teng-Hui Zhu
Browse files

Request Layout after video size changed

bug:6800665

Change-Id: I57010ac26246dff9da45f8fdb7ccbe39c454c54f
parent 6cf3b925
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -284,6 +284,7 @@ public class VideoView extends SurfaceView implements MediaPlayerControl {
                mVideoHeight = mp.getVideoHeight();
                if (mVideoWidth != 0 && mVideoHeight != 0) {
                    getHolder().setFixedSize(mVideoWidth, mVideoHeight);
                    requestLayout();
                }
            }
    };