OSDN Git Service

DozeService: Seperate double tap and pickup
authorAdrian Roos <roosa@google.com>
Tue, 20 Sep 2016 21:03:21 +0000 (14:03 -0700)
committerAdrian Roos <roosa@google.com>
Tue, 27 Sep 2016 19:07:36 +0000 (19:07 +0000)
commit7294c115fd33a9259bf584092a1131dbeccf04bd
treecadad11a563966b486b94a9f6e9972232f941e34
parent6f300c17296cc2fa717be1c9390b4f09c43d0b4c
DozeService: Seperate double tap and pickup

Adds handling for a separate double tap gesture
and allows enabling double tap and pickup
individually.

Test: Turn screen off, toggle gestures with `adb shell settings put secure doze_pulse_on_pick_up 0/1` and `adb shell settings put secure doze_pulse_on_double_tap 0/1`
Bug: 30595437
Change-Id: Id7b79f90b28429cf321544a3e425cf33c575d1c3
packages/SystemUI/res/values/config.xml
packages/SystemUI/src/com/android/systemui/doze/DozeLog.java
packages/SystemUI/src/com/android/systemui/doze/DozeService.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeScrimController.java