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:
@@ -802,6 +802,7 @@ public class NotificationPanelView extends PanelView implements
|
||||
requestPanelHeightUpdate();
|
||||
mNotificationStackScroller.setInterceptDelegateEnabled(expanded);
|
||||
mStatusBar.setQsExpanded(expanded);
|
||||
mQsPanel.setExpanded(expanded);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -302,9 +302,6 @@ public class StatusBarHeaderView extends RelativeLayout implements View.OnClickL
|
||||
updateSystemIconsLayoutParams();
|
||||
updateClickTargets();
|
||||
updateMultiUserSwitch();
|
||||
if (mQSPanel != null) {
|
||||
mQSPanel.setExpanded(mExpanded);
|
||||
}
|
||||
updateClockScale();
|
||||
updateAvatarScale();
|
||||
updateClockLp();
|
||||
|
||||
Reference in New Issue
Block a user