From 324ed2378a9d506ee9ee38b27ed0317658951e33 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Thu, 7 Apr 2016 11:48:49 -0400 Subject: [PATCH] Fix QS expanding The QS host triggers the expand by clicking on a view that will expand QS, but the header itself doesn't handle expands anymore, it is handled by the expand indicator. Bug: 28060735 Change-Id: I4daaeb754d294d5e6647dedf36ab2161c6a0fa56 --- .../android/systemui/statusbar/phone/QuickStatusBarHeader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStatusBarHeader.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStatusBarHeader.java index f3aba4f81ce0c..e8170fb5dc26f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStatusBarHeader.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStatusBarHeader.java @@ -309,7 +309,7 @@ public class QuickStatusBarHeader extends BaseStatusBarHeader implements public void setupHost(final QSTileHost host) { mHost = host; - host.setHeaderView(this); + host.setHeaderView(mExpandIndicator); mHeaderQsPanel.setQSPanelAndHeader(mQsPanel, this); mHeaderQsPanel.setHost(host, null /* No customization in header */); setUserInfoController(host.getUserInfoController());