Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30fc033b authored by Winson Chung's avatar Winson Chung Committed by Automerger Merge Worker
Browse files

Merge "Revert "Add logs for null task list"" into sc-v2-dev am: b92c4e23 am: daaebc89

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16615289

Change-Id: Ic3c9e5aae3bd858a4471de6a3be5027fc844f5a8
parents 2975bb25 daaebc89
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -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;
@@ -772,10 +771,8 @@ public class SystemUiProxy implements ISystemUiProxy,
    public ArrayList<GroupedRecentTaskInfo> 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);
            }