summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2022-09-13 10:23:10 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2022-09-13 10:23:10 +0000
commitef353206fda53d646a90dfa18b4da984d428ae01 (patch)
treee2b6c42636510816ebc85c8cbba5ab8150d17fec
parent1d12a05159451356d6688e426e04913d10299fe6 (diff)
parent076dc75aaea9e68838eabb90722b88954bb634d5 (diff)
downloadnative-ef353206fda53d646a90dfa18b4da984d428ae01.tar.gz
Merge "Enable touch occlusion logs" into tm-qpr-dev
-rw-r--r--services/inputflinger/dispatcher/DebugConfig.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/services/inputflinger/dispatcher/DebugConfig.h b/services/inputflinger/dispatcher/DebugConfig.h
index 4f8995f43d..9a2aea69ec 100644
--- a/services/inputflinger/dispatcher/DebugConfig.h
+++ b/services/inputflinger/dispatcher/DebugConfig.h
@@ -75,11 +75,8 @@ const bool DEBUG_TOUCH_MODE =
/**
* Log debug messages about touch occlusion
- * Enable this via "adb shell setprop log.tag.InputDispatcherTouchOcclusion DEBUG" (requires
- * restart)
*/
-const bool DEBUG_TOUCH_OCCLUSION =
- __android_log_is_loggable(ANDROID_LOG_DEBUG, LOG_TAG "TouchOcclusion", ANDROID_LOG_INFO);
+constexpr bool DEBUG_TOUCH_OCCLUSION = true;
/**
* Log debug messages about the app switch latency optimization.