enable prediction logging

reverting accidental commit on ag/10673926

Bug: 142753423
Change-Id: I8d2f5f591b200484282f0b170fccab4f99b93fae
(cherry picked from commit 0570a795f9)
This commit is contained in:
Samuel Fufa committed 2020-03-25 23:51:34 +00:00
1 parent ace493908c
commit 210774dfaa
1 file changed
+2 -1
@@ -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();