Adding debug tracing for b/262282528

We see two long-clicks on the taskbar instead of expected one.

Bug: 262282528
Test: presubmit
Change-Id: I231d54ac08cf53ac7b0b6177da6b671314998021
This commit is contained in:
vadimt committed 2023-05-19 17:04:04 -07:00
1 parent 47ab6f8ba2
commit 144a9508be
2 files changed
+6

No files matched your search

@@ -153,6 +153,11 @@ public class TaskbarDragController extends DragController<BaseTaskbarContext> im
return false;
}
TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "onTaskbarItemLongClick");
if (TestProtocol.sDebugTracing) {
Log.d(TestProtocol.TWO_TASKBAR_LONG_CLICKS,
"TaskbarDragController.startDragOnLongClick",
new Throwable());
}
BubbleTextView btv = (BubbleTextView) view;
mActivity.onDragStart();
btv.post(() -> {