Skip to content

Commit 7257a32

Browse files
ztenghuiAndroid (Google) Code Review
authored andcommitted
Merge "HTML5 Video runs into super full screen mode" into ics-mr1
2 parents cb6fbc8 + f45aa7d commit 7257a32

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

core/java/android/webkit/HTML5VideoFullScreen.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ public void enterFullScreenVideoState(int layerId,
261261
mLayout.addView(getSurfaceView(), layoutParams);
262262

263263
mLayout.setVisibility(View.VISIBLE);
264+
mLayout.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE
265+
| View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);
264266

265267
WebChromeClient client = webView.getWebChromeClient();
266268
if (client != null) {

0 commit comments

Comments
 (0)