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

Commit ab9b7091 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android Git Automerger
Browse files

am 6d4b9f0b: Merge "Make MediaController use low profile system UI" into ics-mr1

* commit '6d4b9f0b':
  Make MediaController use low profile system UI
parents 5889ce79 6d4b9f0b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -150,7 +150,9 @@ public class HTML5VideoFullScreen extends HTML5VideoView
    private void prepareForFullScreen() {
        // So in full screen, we reset the MediaPlayer
        mPlayer.reset();
        setMediaController(new MediaController(mProxy.getContext()));
        MediaController mc = new MediaController(mProxy.getContext());
        mc.setSystemUiVisibility(mLayout.getSystemUiVisibility());
        setMediaController(mc);
        mPlayer.setScreenOnWhilePlaying(true);
        prepareDataAndDisplayMode(mProxy);
    }