From 210774dfaa0ff163f206e07d049892f4e63300b4 Mon Sep 17 00:00:00 2001 From: Samuel Fufa Date: Mon, 23 Mar 2020 10:03:06 -0700 Subject: [PATCH] enable prediction logging reverting accidental commit on ag/10673926 Bug: 142753423 Change-Id: I8d2f5f591b200484282f0b170fccab4f99b93fae (cherry picked from commit 0570a795f99e67079fb999eb5b7e86d1672a4094) --- .../launcher3/hybridhotseat/HotseatPredictionController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/HotseatPredictionController.java b/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/HotseatPredictionController.java index d82e9f0115..801408f488 100644 --- a/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/HotseatPredictionController.java +++ b/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/HotseatPredictionController.java @@ -48,6 +48,7 @@ import com.android.launcher3.Launcher; import com.android.launcher3.LauncherSettings; import com.android.launcher3.LauncherState; import com.android.launcher3.R; +import com.android.launcher3.Utilities; import com.android.launcher3.Workspace; import com.android.launcher3.WorkspaceItemInfo; import com.android.launcher3.allapps.AllAppsStore; @@ -325,7 +326,7 @@ public class HotseatPredictionController implements DragController.DragListener, mComponentKeyMappers.add(new ComponentKeyMapper(key, mDynamicItemCache)); } predictionLog.append("]"); - if (false) FileLog.d(TAG, predictionLog.toString()); + if (Utilities.IS_DEBUG_DEVICE) FileLog.d(TAG, predictionLog.toString()); updateDependencies(); if (isReady()) { fillGapsWithPrediction();