summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2014-05-29 00:20:33 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-29 00:20:33 +0000
commitfb816fc701770f95f7d1ebc0ab5ee19584798b74 (patch)
tree0613cf61345a2fdd2c8b2f7c81650b91b42cdd8d /packages
parenta923758d80ad50ac79a22074cf6e4c9463bb2b0b (diff)
parent3c4635c19997748e0b21453f3462e347905534e0 (diff)
downloadframeworks_base-fb816fc701770f95f7d1ebc0ab5ee19584798b74.zip
frameworks_base-fb816fc701770f95f7d1ebc0ab5ee19584798b74.tar.gz
frameworks_base-fb816fc701770f95f7d1ebc0ab5ee19584798b74.tar.bz2
Merge "Fixed a bug where the user was unable to pull down statusbar." into lmp-preview-dev
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java1
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java1
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java2
3 files changed, 4 insertions, 0 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 838e5e3..0c27ab0 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -260,6 +260,7 @@ public class NotificationPanelView extends PanelView implements
mQsExpansionEnabled = qsExpansionEnabled;
}
+ @Override
public void resetViews() {
mBlockTouches = false;
mPageSwiper.reset();
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
index 1015d5b..b94f6f3 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
@@ -191,6 +191,7 @@ public class PanelBar extends FrameLayout {
pv.setExpandedFraction(0); // just in case
pv.setVisibility(View.GONE);
pv.cancelPeek();
+ pv.resetViews();
}
}
if (DEBUG) LOG("collapseAllPanels: animate=%s waiting=%s", animate, waiting);
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
index f6db8a8..c5a9b85 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
@@ -540,4 +540,6 @@ public abstract class PanelView extends FrameLayout {
mHeightAnimator, ((mHeightAnimator !=null && mHeightAnimator.isStarted())?" (started)":"")
));
}
+
+ public abstract void resetViews();
}