summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2014-10-17 20:14:23 +0200
committerAdrian Roos <roosa@google.com>2014-10-17 20:14:23 +0200
commit74558c3a5980e50a1bdb099fe8a31d9eeb804e20 (patch)
treecba2177607864b59597a3f71f74aade7f8a5fb54 /packages/SystemUI
parentdf385fffe822a7854fb7ce9c5e46ee007646c89e (diff)
downloadframeworks_base-74558c3a5980e50a1bdb099fe8a31d9eeb804e20.zip
frameworks_base-74558c3a5980e50a1bdb099fe8a31d9eeb804e20.tar.gz
frameworks_base-74558c3a5980e50a1bdb099fe8a31d9eeb804e20.tar.bz2
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
Diffstat (limited to 'packages/SystemUI')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java1
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java3
2 files changed, 1 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
index a6fccb6..c19bdff 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -802,6 +802,7 @@ public class NotificationPanelView extends PanelView implements
requestPanelHeightUpdate();
mNotificationStackScroller.setInterceptDelegateEnabled(expanded);
mStatusBar.setQsExpanded(expanded);
+ mQsPanel.setExpanded(expanded);
}
}
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java
index ca853a9..247252c 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java
@@ -302,9 +302,6 @@ public class StatusBarHeaderView extends RelativeLayout implements View.OnClickL
updateSystemIconsLayoutParams();
updateClickTargets();
updateMultiUserSwitch();
- if (mQSPanel != null) {
- mQSPanel.setExpanded(mExpanded);
- }
updateClockScale();
updateAvatarScale();
updateClockLp();