OSDN Git Service

Fixed a bug where the HUN would interfere with the normal touches
authorSelim Cinek <cinek@google.com>
Fri, 8 May 2015 23:08:35 +0000 (16:08 -0700)
committerSelim Cinek <cinek@google.com>
Tue, 12 May 2015 00:39:36 +0000 (00:39 +0000)
commit737bff3476a3af8f930d29fccce16d033fbc3efa
tree72ac2fa06e291064263e7c85d180e3be78a08eec
parent981de3c57c5a3f1f35cf5a0c6c4c5513b1643d06
Fixed a bug where the HUN would interfere with the normal touches

When a hun came in or went away, the touchable regions were not
enforced correctly due to a race condition. This lead to the user
grabing the notification panel unintentionally and ripping him
out of the normal touch state.
Also fixed a small bug where the alpha was not correctly animating
sometimes and the HUN shadow would still draw.

Bug: 20956211
Change-Id: Iae1fef5825b3d2b8b4128cc8c3272019194cd819
(cherry picked from commit 8b4a06e9e269140c93c1a9ef5add008f7610d1a4)
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowManager.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java