From 968403dd133c3aeb30c8e4e1249014a535021802 Mon Sep 17 00:00:00 2001 From: James Cook Date: Wed, 8 Jul 2015 15:10:33 -0700 Subject: [PATCH] Fix app shelf being visible during setup wizard * Introduce a LinearLayout to hold the app shelf widgets * Hide it when the home button is hidden. If you can't go home (launch the launcher) you shouldn't be able to use the shelf to launch apps either. Bug: 22206506 Change-Id: I5118e40786a0d26d6292850fef31f2b57c1880cd --- .../res/layout/navigation_bar_with_apps.xml | 222 +++++++++--------- .../statusbar/phone/NavigationBarView.java | 10 + 2 files changed, 124 insertions(+), 108 deletions(-) diff --git a/packages/SystemUI/res/layout/navigation_bar_with_apps.xml b/packages/SystemUI/res/layout/navigation_bar_with_apps.xml index 3d000b51d5150..4c06123968d47 100644 --- a/packages/SystemUI/res/layout/navigation_bar_with_apps.xml +++ b/packages/SystemUI/res/layout/navigation_bar_with_apps.xml @@ -69,62 +69,65 @@ android:contentDescription="@string/accessibility_home" /> - - - - - - - - - - - - + + > + + + + + + + + + + + - - - - - - - - - - - - + + > + + + + + + + + + + +