mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
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:
committed by
Android (Google) Code Review
commit
78b6e76486
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user