Merge "Unit Testing for TaskbarEduTooltipController" into main

This commit is contained in:
Jagrut Desai authored and Android (Google) Code Review committed 2024-07-26 22:44:16 +00:00
commit 65b5eb472e
7 files changed
+269 -37

No files matched your search

+5
View File
@@ -178,6 +178,11 @@ public final class Utilities {
sIsRunningInTestHarness = true;
}
/** Disables running test in test harness mode */
public static void disableRunningInTestHarnessForTests() {
sIsRunningInTestHarness = false;
}
public static boolean isPropertyEnabled(String propertyName) {
return Log.isLoggable(propertyName, Log.VERBOSE);
}