OSDN Git Service

Fix notification panel bug which prevented proper resizing
authorChet Haase <chet@google.com>
Tue, 21 Aug 2012 00:34:33 +0000 (17:34 -0700)
committerChet Haase <chet@google.com>
Tue, 21 Aug 2012 00:38:29 +0000 (17:38 -0700)
commit179ec6d0bc9963ffc065a4e7983743bb5e4ce9fe
treee49ebb6a17cc789440202de976b77b9d4a8bbd35
parentc2cb8d226399c3cb93bad7008b4049d493d4f1d2
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
packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java