From 647d5014d8a7d5a37356165fe953b18c7b2384db Mon Sep 17 00:00:00 2001 From: vadimt Date: Tue, 30 Jul 2019 10:36:31 -0700 Subject: [PATCH] Unconditionally logging RemoteActionShortcut events To help investigating DWB performance issues. Bug: 138273985 Change-Id: I15d7b220ac47f514c223ba6876549a0b0e9ca95b --- src/com/android/launcher3/popup/RemoteActionShortcut.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/android/launcher3/popup/RemoteActionShortcut.java b/src/com/android/launcher3/popup/RemoteActionShortcut.java index 41ab4df7bf..5a5fbabacf 100644 --- a/src/com/android/launcher3/popup/RemoteActionShortcut.java +++ b/src/com/android/launcher3/popup/RemoteActionShortcut.java @@ -29,11 +29,12 @@ import com.android.launcher3.AbstractFloatingView; import com.android.launcher3.BaseDraggingActivity; import com.android.launcher3.ItemInfo; import com.android.launcher3.R; +import com.android.launcher3.Utilities; import com.android.launcher3.userevent.nano.LauncherLogProto; public class RemoteActionShortcut extends SystemShortcut { private static final String TAG = "RemoteActionShortcut"; - private static final boolean DEBUG = false; + private static final boolean DEBUG = Utilities.IS_DEBUG_DEVICE; private final RemoteAction mAction;