summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-12-11 03:32:45 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-12-11 03:32:45 +0000
commita785d00d111b2dce9f189cb5993d06561f309fd2 (patch)
tree7657a55f3d9000fad0ed629254fb001c73eb79c4
parent908c078f408b2e78eeec07725a5b181e43f4d9e2 (diff)
parent64f1c16f4ef982fb183490321ddfdeca5a9de2e0 (diff)
downloadnative-a785d00d111b2dce9f189cb5993d06561f309fd2.tar.gz
Merge "Enable deep press by default." into qt-qpr1-dev
-rw-r--r--services/inputflinger/InputClassifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/inputflinger/InputClassifier.cpp b/services/inputflinger/InputClassifier.cpp
index 6a7f2797f4..ef1a2247e9 100644
--- a/services/inputflinger/InputClassifier.cpp
+++ b/services/inputflinger/InputClassifier.cpp
@@ -82,7 +82,7 @@ static bool isTouchEvent(const NotifyMotionArgs& args) {
// Check if the "deep touch" feature is on.
static bool deepPressEnabled() {
std::string flag_value = server_configurable_flags::GetServerConfigurableFlag(
- INPUT_NATIVE_BOOT, DEEP_PRESS_ENABLED, "false");
+ INPUT_NATIVE_BOOT, DEEP_PRESS_ENABLED, "true");
std::transform(flag_value.begin(), flag_value.end(), flag_value.begin(), ::tolower);
if (flag_value == "1" || flag_value == "true") {
ALOGI("Deep press feature enabled.");