Add logs for workspace long press

Bug: 311099513
Change-Id: Ided5f317ab3c8bb68a099391f39f0e579b17c2c2
This commit is contained in:
Vinit Nayak
2023-11-21 15:44:44 -08:00
parent 7056e2d2e4
commit 74fb544c27
2 changed files with 15 additions and 0 deletions
@@ -16,6 +16,8 @@
package com.android.launcher3.testing;
import static com.android.launcher3.testing.shared.TestProtocol.WORKSPACE_LONG_PRESS;
import static com.android.launcher3.testing.shared.TestProtocol.testLogD;
import static com.android.launcher3.util.Executors.MAIN_EXECUTOR;
import static com.android.launcher3.util.Executors.MODEL_EXECUTOR;
@@ -135,10 +137,12 @@ public class DebugTestInformationHandler extends TestInformationHandler {
}
case TestProtocol.REQUEST_ENABLE_DEBUG_TRACING:
testLogD(WORKSPACE_LONG_PRESS, "enablingDebugTracing");
TestProtocol.sDebugTracing = true;
return response;
case TestProtocol.REQUEST_DISABLE_DEBUG_TRACING:
testLogD(WORKSPACE_LONG_PRESS, "disablingDebugTracing");
TestProtocol.sDebugTracing = false;
return response;