Fix entering fullscreen logic for KK+.
commit1373a32b6c7950ff86f3277606082bf3aea15724
authortedchoc <tedchoc@chromium.org>
Mon, 24 Aug 2015 19:09:46 +0000 (24 12:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 24 Aug 2015 19:10:34 +0000 (24 19:10 +0000)
tree3f5081c001558c3a07f1c0112bc1971334181014
parentaa882dfb8b79bcb2141db62c552063a4b38e823d
Fix entering fullscreen logic for KK+.

SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN needs to be specified seperately from
            flags |= View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION;
            flags |= View.SYSTEM_UI_FLAG_HIDE_NAVIGATION;
            flags |= View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
because some combniation of those three prevents the expected layout
from SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN.

BUG=512222

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

Cr-Commit-Position: refs/heads/master@{#345138}
chrome/android/java/src/org/chromium/chrome/browser/fullscreen/FullscreenHtmlApiHandler.java
chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/FullscreenManagerTest.java