| Index: content/public/android/java/src/org/chromium/content/browser/ActivityContentVideoViewClient.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ActivityContentVideoViewClient.java b/content/public/android/java/src/org/chromium/content/browser/ActivityContentVideoViewClient.java
|
| index 292993229b8ba8ba9e7b845c667914da770216a5..bf539737ea24f314615e8e90556ba1a7fd4c646f 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/ActivityContentVideoViewClient.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/ActivityContentVideoViewClient.java
|
| @@ -4,6 +4,7 @@
|
|
|
| package org.chromium.content.browser;
|
|
|
| +import android.annotation.SuppressLint;
|
| import android.app.Activity;
|
| import android.os.Build;
|
| import android.view.Gravity;
|
| @@ -54,11 +55,12 @@ public class ActivityContentVideoViewClient implements ContentVideoViewClient {
|
| * @param view The decor view belongs to the activity window
|
| * @param enterFullscreen True if video is going fullscreen, or false otherwise.
|
| */
|
| + @SuppressLint("InlinedApi")
|
| private void setSystemUiVisibility(View view, boolean enterFullscreen) {
|
| if (enterFullscreen) {
|
| mActivity.getWindow().setFlags(
|
| - WindowManager.LayoutParams.FLAG_FULLSCREEN,
|
| - WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
| + WindowManager.LayoutParams.FLAG_FULLSCREEN,
|
| + WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
| } else {
|
| mActivity.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
| }
|
|
|