diff options
| author | 2019-03-25 16:27:51 -0700 | |
|---|---|---|
| committer | 2019-03-25 16:27:51 -0700 | |
| commit | 62206ccb11fbddf63cde69f5ad7efa94e775e36c (patch) | |
| tree | 401f3d9ce83b16873a2db3ad41678426180cbd9a | |
| parent | 2e5dd8cffe49d7cac98ae39b6224c787e66b6ba1 (diff) | |
Respond to taps and lifts when AOD is off
Gesture registration happens in the doze machine, meaning
that there's a dependency between slpi gestures and the
doze service.
Fixes: 118930173
Test: manual
Change-Id: Ic8fd0ed1d2192720a8f0313544d491a498a5cb05
| -rw-r--r-- | core/java/android/hardware/display/AmbientDisplayConfiguration.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/java/android/hardware/display/AmbientDisplayConfiguration.java b/core/java/android/hardware/display/AmbientDisplayConfiguration.java index b122f199bc6f..c45b8ed52187 100644 --- a/core/java/android/hardware/display/AmbientDisplayConfiguration.java +++ b/core/java/android/hardware/display/AmbientDisplayConfiguration.java @@ -48,7 +48,10 @@ public class AmbientDisplayConfiguration { return pulseOnNotificationEnabled(user) || pulseOnLongPressEnabled(user) || alwaysOnEnabled(user) - || wakeScreenGestureEnabled(user); + || wakeScreenGestureEnabled(user) + || pickupGestureEnabled(user) + || tapGestureEnabled(user) + || doubleTapGestureEnabled(user); } /** {@hide} */ |