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
This commit is contained in:
Jason Monk
2016-04-07 11:48:49 -04:00
parent b65b7105cd
commit 324ed2378a

View File

@@ -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());