From b047e36f2c7fe9c938f4fd933f53c6fd2d5e3127 Mon Sep 17 00:00:00 2001 From: Hyunyoung Song Date: Wed, 29 Jun 2016 14:03:20 -0700 Subject: [PATCH] Remove SYSTEM_UI_FLAG_LIGHT_NAV_BAR flag bit from systemUiVisibility call Change-Id: Idf360a3580eff2ef873e7e0c20eb5ee2355d9be7 --- .../launcher3/allapps/AllAppsTransitionController.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/com/android/launcher3/allapps/AllAppsTransitionController.java b/src/com/android/launcher3/allapps/AllAppsTransitionController.java index 4c51dfe915..97be4ed4ab 100644 --- a/src/com/android/launcher3/allapps/AllAppsTransitionController.java +++ b/src/com/android/launcher3/allapps/AllAppsTransitionController.java @@ -279,17 +279,13 @@ public class AllAppsTransitionController implements TouchController, VerticalPul return; } int systemUiFlags = mLauncher.getWindow().getDecorView().getSystemUiVisibility(); - // SYSTEM_UI_FLAG_LIGHT_NAV_BAR == SYSTEM_UI_FLAG_LIGHT_STATUS_BAR << 1 - // Use proper constant once API is submitted. if (enable) { mLauncher.getWindow().getDecorView().setSystemUiVisibility(systemUiFlags - | View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR - | (View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR << 1)); + | View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); } else { mLauncher.getWindow().getDecorView().setSystemUiVisibility(systemUiFlags - & ~(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR - |(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR << 1))); + & ~(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR)); } mLightStatusBar = enable;