Merge "Clean up ENABLE_INPUT_CONSUMER_REASON_LOGGING" into udc-dev

This commit is contained in:
Treehugger Robot
2023-04-06 21:28:38 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 10 deletions

View File

@@ -910,10 +910,6 @@ public class TouchInteractionService extends Service
private void logInputConsumerSelectionReason(
InputConsumer consumer, CompoundString reasonString) {
if (!FeatureFlags.ENABLE_INPUT_CONSUMER_REASON_LOGGING.get()) {
ActiveGestureLog.INSTANCE.addLog("setInputConsumer: " + consumer.getName());
return;
}
ActiveGestureLog.INSTANCE.addLog(new CompoundString("setInputConsumer: ")
.append(consumer.getName())
.append(". reason(s):")