summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-12-12 02:17:16 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-12-12 02:17:16 +0000
commit071db6cfb861b1aa99673d0e1a4c46e81635ee75 (patch)
tree7657a55f3d9000fad0ed629254fb001c73eb79c4
parent0c901a52a6afb437d0d7cf2270d7f65d4a1e5106 (diff)
parenta785d00d111b2dce9f189cb5993d06561f309fd2 (diff)
downloadnative-071db6cfb861b1aa99673d0e1a4c46e81635ee75.tar.gz
Snap for 6066667 from a785d00d111b2dce9f189cb5993d06561f309fd2 to qt-d4-release
Change-Id: Id732313db9655a4deb8444b0c6d6a5c832a1c188
-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.");