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 23:02:44 +0000 (16:02 -0700)
commit2c2f0e27d1055fe79693b5ff4bbf7bd907073ade
treee232ea9dde4f3d3b4c23eea185c18e9f51eceaaa
parent22612c7297109afb7c2d7c860753975e6855943e
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
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