summaryrefslogtreecommitdiff
path: root/services/inputflinger/InputClassifier.cpp
diff options
context:
space:
mode:
author Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2019-12-11 04:04:42 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2019-12-11 04:04:42 +0000
commitf39cef4e3381f63ba9620a49940a9e98c17177e0 (patch)
treeeb7541dd3d6f51141b253cbe002ddbbf04f480fe /services/inputflinger/InputClassifier.cpp
parentd6a3f6e8f651efcfc247140665019fc988296de5 (diff)
parent2581ccb1a5142a383a4c71d63994addcacf3bdaa (diff)
Merge "Enable deep press by default." into qt-qpr1-dev am: a785d00d11 am: 2581ccb1a5
Change-Id: Ifa78027e5f7df0a6693d7ea23b563a08c81cb434
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 7c061c5857..ae9a34882e 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.");