summaryrefslogtreecommitdiff
path: root/services/inputflinger/InputClassifier.cpp
diff options
context:
space:
mode:
author Bill Yi <byi@google.com> 2020-03-05 18:27:29 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-03-05 18:27:29 +0000
commit11f9bbf44971994ff4aecebb06321a9f06a76d9e (patch)
treec3b6491b4c0d43bb847ad57b0efc0ad39e0d0840 /services/inputflinger/InputClassifier.cpp
parentd6dad7afc088fd5efeedf2cfb701ea531afd1816 (diff)
parent6b8bf72c0629d1647fb431c54fbcb23ffef32884 (diff)
Merge "Merge stage-aosp-master to aosp-master - DO NOT MERGE"
Diffstat (limited to 'services/inputflinger/InputClassifier.cpp')
-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.");