Merge "Add logs to see if launcher model isn't loaded when work profile app is added" into udc-dev

This commit is contained in:
TreeHugger Robot
2023-05-30 17:26:53 +00:00
committed by Android (Google) Code Review
3 changed files with 17 additions and 1 deletions

View File

@@ -16,6 +16,8 @@
package com.android.launcher3.testing.shared;
import android.util.Log;
/**
* Protocol for custom accessibility events for communication with UI Automation tests.
*/
@@ -161,4 +163,12 @@ public final class TestProtocol {
public static final String REQUEST_STOP_EMULATE_DISPLAY = "stop-emulate-display";
public static final String REQUEST_IS_EMULATE_DISPLAY_RUNNING = "is-emulate-display-running";
public static final String REQUEST_EMULATE_PRINT_DEVICE = "emulate-print-device";
/** Logs {@link Log#d(String, String)} if {@link #sDebugTracing} is true. */
public static void testLogD(String tag, String message) {
if (!sDebugTracing) {
return;
}
Log.d(tag, message);
}
}