diff options
| author | 2012-08-20 17:34:33 -0700 | |
|---|---|---|
| committer | 2012-08-20 17:38:29 -0700 | |
| commit | 179ec6d0bc9963ffc065a4e7983743bb5e4ce9fe (patch) | |
| tree | e49ebb6a17cc789440202de976b77b9d4a8bbd35 /packages/SystemUI/src | |
| parent | c2cb8d226399c3cb93bad7008b4049d493d4f1d2 (diff) | |
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
Diffstat (limited to 'packages/SystemUI/src')
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java | 1 |
1 files changed, 1 insertions, 0 deletions
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; } }}; |