OSDN Git Service

Handling the touch better when the screen turns off
authorSelim Cinek <cinek@google.com>
Wed, 3 May 2017 03:02:30 +0000 (20:02 -0700)
committerSelim Cinek <cinek@google.com>
Mon, 8 May 2017 22:49:20 +0000 (15:49 -0700)
commit48a92a5dbbf98d9f0235554e2bea3c969f7f2cee
tree40dc55709fe5549f983ed4171fcb4289674d3949
parentf323e3a5435ac21c6a5684e0aeba5f26ea699f9d
Handling the touch better when the screen turns off

Previously we were only cancelling touches when
showing keyguard, but this is not enough, since
a user might be touching it while on the keyguard
(e.g with falsing)

Fixes: 37287962
Fixes: 36416066
Fixes: 37696557
Test: manual, turn of screen while interacting
Merged-In: I572ade2380986ef087468dff721b1d1dfa7a48ab
Change-Id: I572ade2380986ef087468dff721b1d1dfa7a48ab
packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardAffordanceHelper.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java