Add debug logging for task view touch controllers.
Proguard should remove these logging paths from user builds. Bug: 350398650 Test: Manual. Verify logs are present. Flag: com.android.launcher3.enable_expressive_dismiss_task_motion Change-Id: Ie1d1532782c443672cde5c5dfe1ccaa49e100cd3
This commit is contained in:
1 parent
dd25302794
commit
d6027ed5a6
4 files changed
+51
-6
No files matched your search
@@ -964,4 +964,15 @@ public final class Utilities {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs with DEBUG priority if the current device is a debug device.
|
||||
*
|
||||
* <p>Debug devices by default include -eng and -userdebug builds, but not -user builds.
|
||||
*/
|
||||
public static void debugLog(String tag, String message) {
|
||||
if (BuildConfig.IS_DEBUG_DEVICE) {
|
||||
Log.d(tag, message);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user