Android Chromoting: Remove exit-fullscreen button.
commiteb5e99d923abec16b5cd12b71f4c6212b60c3291
authorlambroslambrou <lambroslambrou@chromium.org>
Fri, 3 Apr 2015 07:58:12 +0000 (3 00:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 3 Apr 2015 07:59:25 +0000 (3 07:59 +0000)
treed3e6902003055f64a0ddf400362a07333e631bf4
parent82b8e167143a5f0d4dd4515c6d0e14a64f654083
Android Chromoting: Remove exit-fullscreen button.

This removes the ancient Gingerbread icon button for exiting fullscreen
and implements swipe-to-exit-fullscreen instead (by using
IMMERSIVE instead of IMMERSIVE_STICKY). With this change, the screen
would occasionally flip-flop endlessly in and out of fullscreen mode,
so I've also refactored the code not to change the SysUiVisibility flag
in response to SysUiVisibility change notifications.

BUG=430328

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

Cr-Commit-Position: refs/heads/master@{#323681}
remoting/android/java/res/layout/desktop.xml
remoting/android/java/src/org/chromium/chromoting/Desktop.java