Set debug logging flag for ClockDrawableWrapper
Bug: 319168409 Change-Id: Id154287a12e1b51a0aeabacebcd32bc695bdcc0b
This commit is contained in:
@@ -33,6 +33,7 @@ import com.android.launcher3.BubbleTextView;
|
||||
import com.android.launcher3.LauncherAppState;
|
||||
import com.android.launcher3.LauncherModel;
|
||||
import com.android.launcher3.ShortcutAndWidgetContainer;
|
||||
import com.android.launcher3.icons.ClockDrawableWrapper;
|
||||
import com.android.launcher3.testing.shared.TestProtocol;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -136,10 +137,12 @@ public class DebugTestInformationHandler extends TestInformationHandler {
|
||||
|
||||
case TestProtocol.REQUEST_ENABLE_DEBUG_TRACING:
|
||||
TestProtocol.sDebugTracing = true;
|
||||
ClockDrawableWrapper.sRunningInTest = true;
|
||||
return response;
|
||||
|
||||
case TestProtocol.REQUEST_DISABLE_DEBUG_TRACING:
|
||||
TestProtocol.sDebugTracing = false;
|
||||
ClockDrawableWrapper.sRunningInTest = false;
|
||||
return response;
|
||||
|
||||
case TestProtocol.REQUEST_PID: {
|
||||
|
||||
Reference in New Issue
Block a user