diff options
| author | Gabriele M <moto.falcon.git@gmail.com> | 2017-04-19 13:04:35 +0200 |
|---|---|---|
| committer | Dan Pasanen <dan.pasanen@gmail.com> | 2017-04-25 14:53:56 +0000 |
| commit | 1f0ec6ea1a8004113280bbca99fd6f2c7e8380c9 (patch) | |
| tree | 869eb61e3c71228cc82d4a4587fde9e53f2c3cbb | |
| parent | fe9ee12252712102d2a77a94cdbc27382b9a460a (diff) | |
| download | android_packages_apps_Gallery2-1f0ec6ea1a8004113280bbca99fd6f2c7e8380c9.tar.gz android_packages_apps_Gallery2-1f0ec6ea1a8004113280bbca99fd6f2c7e8380c9.tar.bz2 android_packages_apps_Gallery2-1f0ec6ea1a8004113280bbca99fd6f2c7e8380c9.zip | |
Revert "Gallery2: hide navigation bar when we turn off lights"
This interferes with double tap gestures and causes an abrupt resize
of the view whenever the navbar gets hidden.
This reverts commit e20c65beb6a19d4051dec284709d572211e4fc01.
Change-Id: I65f9db9c0832a4aef684337ac6df9c06771bb44a
| -rwxr-xr-x | src/com/android/gallery3d/ui/GLRootView.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/gallery3d/ui/GLRootView.java b/src/com/android/gallery3d/ui/GLRootView.java index c8f5415cb..579fd05d0 100755 --- a/src/com/android/gallery3d/ui/GLRootView.java +++ b/src/com/android/gallery3d/ui/GLRootView.java @@ -574,9 +574,7 @@ public class GLRootView extends GLSurfaceView if (enabled) { flags = STATUS_BAR_HIDDEN; if (ApiHelper.HAS_VIEW_SYSTEM_UI_FLAG_LAYOUT_STABLE) { - flags |= (SYSTEM_UI_FLAG_FULLSCREEN - | SYSTEM_UI_FLAG_LAYOUT_STABLE - | SYSTEM_UI_FLAG_HIDE_NAVIGATION); + flags |= (SYSTEM_UI_FLAG_FULLSCREEN | SYSTEM_UI_FLAG_LAYOUT_STABLE); } } setSystemUiVisibility(flags); |
