From 08126d915c9d934eed269a073c8b5f7991367bf7 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Tue, 11 Jan 2022 20:06:16 +0000 Subject: [PATCH] Revert "Add logs for null task list" This reverts commit a46d36240b08e458fb25fb1231ed3ebd4a618c3a. Reason for revert: Reverting logs for release Change-Id: I65ae1ea691d5fb3d70a2db4beba08d7460b99e2b --- quickstep/src/com/android/quickstep/SystemUiProxy.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/quickstep/src/com/android/quickstep/SystemUiProxy.java b/quickstep/src/com/android/quickstep/SystemUiProxy.java index a34343888d..67e7f88c33 100644 --- a/quickstep/src/com/android/quickstep/SystemUiProxy.java +++ b/quickstep/src/com/android/quickstep/SystemUiProxy.java @@ -34,7 +34,6 @@ import android.os.IBinder.DeathRecipient; import android.os.RemoteException; import android.os.UserHandle; import android.util.Log; -import android.util.Slog; import android.view.MotionEvent; import android.view.RemoteAnimationAdapter; import android.view.RemoteAnimationTarget; @@ -761,10 +760,8 @@ public class SystemUiProxy implements ISystemUiProxy, public ArrayList getRecentTasks(int numTasks, int userId) { if (mRecentTasks != null) { try { - final GroupedRecentTaskInfo[] tasks = mRecentTasks.getRecentTasks(numTasks, - RECENT_IGNORE_UNAVAILABLE, userId); - Log.d("b/206648922", "getRecentTasks(" + numTasks + "): result=" + tasks); - return new ArrayList<>(Arrays.asList(tasks)); + return new ArrayList<>(Arrays.asList(mRecentTasks.getRecentTasks(numTasks, + RECENT_IGNORE_UNAVAILABLE, userId))); } catch (RemoteException e) { Log.w(TAG, "Failed call getRecentTasks", e); }