Fix a lint issue with Desktop.java.

Currently, the lint warns at:
Error: Field requires API level 19 (current min is 14):
    android.view.View#SYSTEM_UI_FLAG_IMMERSIVE_STICKY [InlinedApi]

So we need to add @SuppressLint to suppress this lint error.

BUG=327768

Review URL: https://codereview.chromium.org/420393006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287466 0039d316-1c4b-4281-b951-d872f2087c98
parent 3d14584b
......@@ -112,6 +112,7 @@ public class Desktop extends Activity implements View.OnSystemUiVisibilityChange
decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_VISIBLE);
}
@SuppressLint("InlinedApi")
public void hideActionBar() {
mOverlayButton.setVisibility(View.VISIBLE);
getActionBar().hide();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment