summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiarhei Vishniakou <svv@google.com>2022-09-12 15:07:16 +0000
committerSiarhei Vishniakou <svv@google.com>2022-09-12 21:23:31 +0000
commit076dc75aaea9e68838eabb90722b88954bb634d5 (patch)
treeb92aba883da8a0282360f847cd6283bd042c83ba
parent7fa3483dfb0b6eefdb8eeb990172d673bbed2665 (diff)
downloadnative-076dc75aaea9e68838eabb90722b88954bb634d5.tar.gz
Enable touch occlusion logs
These logs were made optional in ag/17073502, but that was not intentional. These are useful for debugging obstructed touch issues, so let's bring them back. Bug: 246404700 Test: adb logcat Change-Id: Ieca99d790d2a1c9680de9a89e0113e177488dc7b
-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.