Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 144a9508 authored by vadimt's avatar vadimt
Browse files

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
parent 47ab6f8b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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(() -> {
+1 −0
Original line number Diff line number Diff line
@@ -154,6 +154,7 @@ public final class TestProtocol {
    public static final String PERMANENT_DIAG_TAG = "TaplTarget";
    public static final String VIEW_AND_ACTIVITY_LEAKS = "b/260260325";
    public static final String WORK_TAB_MISSING = "b/243688989";
    public static final String TWO_TASKBAR_LONG_CLICKS = "b/262282528";

    public static final String REQUEST_EMULATE_DISPLAY = "emulate-display";
    public static final String REQUEST_STOP_EMULATE_DISPLAY = "stop-emulate-display";