From 179ec6d0bc9963ffc065a4e7983743bb5e4ce9fe Mon Sep 17 00:00:00 2001 From: Chet Haase Date: Mon, 20 Aug 2012 17:34:33 -0700 Subject: Fix notification panel bug which prevented proper resizing When the notification panel is opened larger than the list's length, the penl is put into a "rubber band" mode, to animate the bottom of the panel back to the end of the list. But the rubber band mode is never unset, which causes an improper result if another notification is ended, preventing the panel from resizing to the new, appropriate size of the list. Fix is to unset the rubber banding flag when the snapping animation finishes. Issue #6992133 Notification bar does not drop down completely in Mako Change-Id: Id93918086353f58d6eb6bb071556f08eb2e2706e --- .../SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/SystemUI') 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 b595257af363..33f467f157ea 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java @@ -66,6 +66,7 @@ public class PanelView extends FrameLayout { private final Runnable mStopAnimator = new Runnable() { public void run() { if (mTimeAnimator.isStarted()) { mTimeAnimator.end(); + mRubberbanding = false; } }}; -- cgit v1.2.3-59-g8ed1b