From 931f5464f51f700cda7be8567263e552981615e3 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Wed, 25 May 2016 11:19:04 -0400 Subject: [PATCH] QS Edit: Hide black bar in landscape Change-Id: I954e5571c01945b697c6254c168c1830467ff7db Fixes: 28924803 --- .../res/layout/qs_customize_panel_content.xml | 1 + .../android/systemui/qs/customize/QSCustomizer.java | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/packages/SystemUI/res/layout/qs_customize_panel_content.xml b/packages/SystemUI/res/layout/qs_customize_panel_content.xml index 64385649fe148..ca0248e066eb0 100644 --- a/packages/SystemUI/res/layout/qs_customize_panel_content.xml +++ b/packages/SystemUI/res/layout/qs_customize_panel_content.xml @@ -35,6 +35,7 @@ android:importantForAccessibility="no" /> = 600 + || newConfig.orientation != Configuration.ORIENTATION_LANDSCAPE; + navBackdrop.setVisibility(shouldShow ? View.VISIBLE : View.GONE); + } + } + public void setHost(QSTileHost host) { mHost = host; mPhoneStatusBar = host.getPhoneStatusBar();