Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 84c7e4e

Browse files
committedFeb 13, 2024
Set debug logging flag for ClockDrawableWrapper
Bug: 319168409 Change-Id: Id154287a12e1b51a0aeabacebcd32bc695bdcc0b
1 parent 9ac91ff commit 84c7e4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎ext_tests/src/com/android/launcher3/testing/DebugTestInformationHandler.java

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import com.android.launcher3.LauncherAppState;
3434
import com.android.launcher3.LauncherModel;
3535
import com.android.launcher3.ShortcutAndWidgetContainer;
36+
import com.android.launcher3.icons.ClockDrawableWrapper;
3637
import com.android.launcher3.testing.shared.TestProtocol;
3738

3839
import java.util.ArrayList;
@@ -136,10 +137,12 @@ public Bundle call(String method, String arg, @Nullable Bundle extras) {
136137

137138
case TestProtocol.REQUEST_ENABLE_DEBUG_TRACING:
138139
TestProtocol.sDebugTracing = true;
140+
ClockDrawableWrapper.sRunningInTest = true;
139141
return response;
140142

141143
case TestProtocol.REQUEST_DISABLE_DEBUG_TRACING:
142144
TestProtocol.sDebugTracing = false;
145+
ClockDrawableWrapper.sRunningInTest = false;
143146
return response;
144147

145148
case TestProtocol.REQUEST_PID: {

0 commit comments

Comments
 (0)
Please sign in to comment.