Merge "Make MediaController use low profile system UI" into ics-mr1
This commit is contained in:
committed by
Android (Google) Code Review
commit
6d4b9f0b40
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user