Skip to content

Commit 179ec6d

Browse files
committed
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
1 parent c2cb8d2 commit 179ec6d

File tree

1 file changed

+1
-0
lines changed
  • packages/SystemUI/src/com/android/systemui/statusbar/phone

1 file changed

+1
-0
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime)
6666
private final Runnable mStopAnimator = new Runnable() { public void run() {
6767
if (mTimeAnimator.isStarted()) {
6868
mTimeAnimator.end();
69+
mRubberbanding = false;
6970
}
7071
}};
7172

0 commit comments

Comments
 (0)