OSDN Git Service

[QS] Fix alarm text in QS header
authorRohan Shah <shahrk@google.com>
Fri, 9 Mar 2018 23:47:36 +0000 (15:47 -0800)
committerRohan Shah <shahrk@google.com>
Fri, 9 Mar 2018 23:47:36 +0000 (15:47 -0800)
commita160ab18f8b573a01de37465dda0cee042984012
treefa639293c8175626c386ba4700851a9f7729e615
parent0aa191ccbf159b0d6127cfc190e2c4d5fa319eb9
[QS] Fix alarm text in QS header

Alarm text would go away until a restart. Turned out that we were
incorrectly making the view invisible immediately after animating it in
because the listener persisted on the ViewPropertyAnimator (single
instance per View).

Test: Visually using repro steps
Bug: 74359491
Change-Id: I2e0b8a9f4b767450df72f7ea7953f4ed75ae8f4c
packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java