Merge "Make MediaController use low profile system UI" into ics-mr1

This commit is contained in:
Marco Nelissen
2011-10-31 10:46:33 -07:00
committed by Android (Google) Code Review

View File

@@ -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);
}