OSDN Git Service

Hide QS customizer correctly
authorYoshinori Hirano <yoshinori.hirano@sonymobile.com>
Mon, 5 Sep 2016 07:11:59 +0000 (16:11 +0900)
committerYoshinori Hirano <Yoshinori.Hirano@sonymobile.com>
Tue, 18 Oct 2016 04:31:47 +0000 (04:31 +0000)
commit1dd7d07460b1044a5037a9e1c8a3eb1016a4b421
treed219e6097f27335b83f3acfad33ee13da1d30157
parentff5c3ad08b186e71b7b1466c576c5d44f05746ca
Hide QS customizer correctly

When users open and close QS customizer quickly, QSCustomizer#hide()
is not called because QSCustomizer#isCustomizing() returns false.
The isCustomizing() becomes true when the expand animation ends.
The hide() should be called even though the animation is ongoing.

Bug: 30545089
Test: manual - open and close QS customizer quickly

Change-Id: Ic483addfb6ae9da31c997fec7778e5acd718c353
packages/SystemUI/src/com/android/systemui/qs/QSPanel.java
packages/SystemUI/src/com/android/systemui/qs/customize/QSCustomizer.java