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

Commit c1374e8e authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Fix build

Restore unused-but-public "resolveAdjustedSize" method.

Change-Id: I2f2bdbf96c484bcd457790fde970f1c67296b857
parent cccef471
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -183,6 +183,10 @@ public class VideoView extends SurfaceView implements MediaPlayerControl {
        info.setClassName(VideoView.class.getName());
    }

    public int resolveAdjustedSize(int desiredSize, int measureSpec) {
        return getDefaultSize(desiredSize, measureSpec);
    }

    private void initVideoView() {
        mVideoWidth = 0;
        mVideoHeight = 0;