Add logging for gesture monitors
We've been ignoring logging for gesture monitors in the past. But knowing which gesture monitors are receiving touches may help increase confidence that input is working as intended. Also, adding the logs about 'pilferPointers' invocation will help understand which gesture monitor is currently stealing the gesture, which could help debug some gesture nav issues. We also remove some of the spammy input logs here. The removed logs have never been helpful in the past. Logs: 02-13 00:04:47.255 8243 8358 I input_interaction: Interaction with windows: f9aab6c com.google.latencyTester/com.google.latencyTester.activities.MainActivity (server), edge-swipe (server), swipe-up (server), PointerEventDispatcher0 (server), 02-13 00:05:11.559 8243 12326 I InputDispatcher: Monitor edge-swipe (server) is stealing touch from [f9aab6c com.google.latencyTester/com.google.latencyTester.activities.MainActivity (server), ] 02-13 00:05:11.561 8243 8359 E InputDispatcher: EventId=714770554 total = 3.2 -- eventTime = 22685488444000, readTime = 22685491479371, notify = 22685491650934, enqueue = 22685491671298 02-13 00:05:11.561 16958 16958 I view_enqueue_input_event: [Motion - Cancel,com.google.latencyTester/com.google.latencyTester.activities.MainActivity] 02-13 00:05:11.561 8243 8358 I input_interaction: Interaction with windows: edge-swipe (server), swipe-up (server), PointerEventDispatcher0 (server), Bug: 176302696 Test: interacted with the device and observed the logs pasted above Change-Id: I26d51e4fb4022060585211fda3e691a191d9009d
Loading
Please register or sign in to comment