Set the right expanded state

Fixes an issue where the QS panel thought it was expanded
because it used the status bar header expansion state.

Bug: 17364798
Change-Id: I2db574f63f584d5533e2515d1d32f1fbd08bdc66
This commit is contained in:
Adrian Roos
2014-10-17 20:14:23 +02:00
parent df385fffe8
commit 74558c3a59
2 changed files with 1 additions and 3 deletions

View File

@@ -802,6 +802,7 @@ public class NotificationPanelView extends PanelView implements
requestPanelHeightUpdate();
mNotificationStackScroller.setInterceptDelegateEnabled(expanded);
mStatusBar.setQsExpanded(expanded);
mQsPanel.setExpanded(expanded);
}
}

View File

@@ -302,9 +302,6 @@ public class StatusBarHeaderView extends RelativeLayout implements View.OnClickL
updateSystemIconsLayoutParams();
updateClickTargets();
updateMultiUserSwitch();
if (mQSPanel != null) {
mQSPanel.setExpanded(mExpanded);
}
updateClockScale();
updateAvatarScale();
updateClockLp();