OSDN Git Service

QS: Only hide grid if there is detail to show
authorJason Monk <jmonk@google.com>
Wed, 29 Oct 2014 15:03:41 +0000 (11:03 -0400)
committerJason Monk <jmonk@google.com>
Wed, 29 Oct 2014 15:03:41 +0000 (11:03 -0400)
commit98fa70c98f61fe1589b81deb260422b92d4c443a
tree1057d3cd8a55b5878289ee4913fa43b81398da7d
parenta9a550dd8e87b33979670cf856838ba227500547
QS: Only hide grid if there is detail to show

If the animation ends at the 'same' time as handleShowDetail is
running it is possible for the grid content to get cleared by the
animation callback just after it is shown in handleShowDetail.
This checks mDetailRecord to avoid that chance.

Bug: 18009138
Change-Id: Ia2951f44b5a1470321bf6580daf33917bbcb1ffd
packages/SystemUI/src/com/android/systemui/qs/QSPanel.java