Merge "Clean up ENABLE_INPUT_CONSUMER_REASON_LOGGING" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4c61c48dd4
@@ -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):")
|
||||
|
||||
@@ -69,17 +69,13 @@ public final class FeatureFlags {
|
||||
|
||||
/**
|
||||
* Feature flag to handle define config changes dynamically instead of killing the process.
|
||||
*
|
||||
* <p>
|
||||
*
|
||||
* To add a new flag that can be toggled through the flags UI:
|
||||
*
|
||||
* <p>
|
||||
* Declare a new ToggleableFlag below. Give it a unique key (e.g. "QSB_ON_FIRST_SCREEN"),
|
||||
* and set a default value for the flag. This will be the default value on Debug builds.
|
||||
*/
|
||||
public static final BooleanFlag ENABLE_INPUT_CONSUMER_REASON_LOGGING = getDebugFlag(270390028,
|
||||
"ENABLE_INPUT_CONSUMER_REASON_LOGGING", ENABLED,
|
||||
"Log the reason why an Input Consumer was selected for a gesture.");
|
||||
|
||||
public static final BooleanFlag ENABLE_GESTURE_ERROR_DETECTION = getDebugFlag(270389990,
|
||||
"ENABLE_GESTURE_ERROR_DETECTION", ENABLED,
|
||||
"Analyze gesture events and log detected errors");
|
||||
|
||||
Reference in New Issue
Block a user