OSDN Git Service

Disable "double tap to check" when "always on"
authorLucas Dupin <dupin@google.com>
Sun, 11 Feb 2018 02:18:19 +0000 (18:18 -0800)
committerLucas Dupin <dupin@google.com>
Mon, 12 Feb 2018 23:28:59 +0000 (15:28 -0800)
commit8e490b40390f3d5361d32a5884ec841f7c3b2da4
tree002b40e63a4352b2cbbfb7bc8bbd8b6ba1b488ef
parentd4c1d5ee90f76bcdf7f8f539ca704db85f12b289
Disable "double tap to check" when "always on"

"Double tap to check" has no effect when AOD is enabled.
Double tapping will take you to the lock screen anyway.

Test: manual
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DoubleTapScreenPreferenceControllerTest
Change-Id: Ia97b7ecb00a9d83b867959d83642d476841e2f13
Fixes: 73096311
src/com/android/settings/display/AmbientDisplaySettings.java
src/com/android/settings/gestures/DoubleTapScreenPreferenceController.java
tests/robotests/src/com/android/settings/gestures/DoubleTapScreenPreferenceControllerTest.java