Merge "Enable latency metrics"

This commit is contained in:
TreeHugger Robot
2021-07-15 05:55:16 +00:00
committed by Android (Google) Code Review

View File

@@ -253,11 +253,11 @@ public final class ViewRootImpl implements ViewParent,
private static final boolean MT_RENDERER_AVAILABLE = true;
/**
* Whether or not to report end-to-end input latency. Disabled temporarily as a
* Whether or not to report end-to-end input latency. Can be disabled temporarily as a
* risk mitigation against potential jank caused by acquiring a weak reference
* per frame
* per frame.
*/
private static final boolean ENABLE_INPUT_LATENCY_TRACKING = false;
private static final boolean ENABLE_INPUT_LATENCY_TRACKING = true;
/**
* Set this system property to true to force the view hierarchy to render