OSDN Git Service

Fixed an issue where the panel could be stuck expanding
authorSelim Cinek <cinek@google.com>
Tue, 23 May 2017 00:09:55 +0000 (17:09 -0700)
committerSelim Cinek <cinek@google.com>
Tue, 23 May 2017 00:11:58 +0000 (17:11 -0700)
commiteede5d71bd7ba2d4b1c20ab1ea4e2670a938b6bd
tree3b5b106e20f4ab4492d7ff454779722c4ccb65b0
parent605351c56c43608c58ca164e4ff81e03baf244c5
Fixed an issue where the panel could be stuck expanding

Because we are aborting animations when the screen turns off
we also have to finish the expansion in that case, otherwise
it can be stuck in that state and the padding would never
update anymore.

Test: runtest systemui
Change-Id: Ia8f901fad06ef8d972a24b696e94940f64cc1957
Fixes: 38308213
packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java