From 3b0a43b548ac8206c468326576c172700bec7d26 Mon Sep 17 00:00:00 2001 From: Nicolo' Mazzucato Date: Mon, 16 Jan 2023 15:01:07 +0000 Subject: [PATCH] Add tracing for setEdgeBackPlugin It seems this happens at every unfold, and still takes most of the taskbar initialization time due to `setLayoutParam` when the edge back plugin is set. This trace will make it more easily visible in traces. Bug: 219035565 Test: Checked perfetto traces for the new sections to be visible Change-Id: I74e793467eb37705b2647d0ea9c64bd7b5191d9e --- .../gestural/EdgeBackGestureHandler.java | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/EdgeBackGestureHandler.java b/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/EdgeBackGestureHandler.java index 245a55d32df4b..3e6eb05ff96d5 100644 --- a/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/EdgeBackGestureHandler.java +++ b/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/EdgeBackGestureHandler.java @@ -525,6 +525,15 @@ public class EdgeBackGestureHandler implements PluginListener