mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Add logs for null task list am: a46d36240b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16495546 Change-Id: I64a851428833a4d127e4a3ffc23a6fe511ceb73d
This commit is contained in:
@@ -34,6 +34,7 @@ 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;
|
||||
@@ -760,8 +761,10 @@ public class SystemUiProxy implements ISystemUiProxy,
|
||||
public ArrayList<GroupedRecentTaskInfo> getRecentTasks(int numTasks, int userId) {
|
||||
if (mRecentTasks != null) {
|
||||
try {
|
||||
return new ArrayList<>(Arrays.asList(mRecentTasks.getRecentTasks(numTasks,
|
||||
RECENT_IGNORE_UNAVAILABLE, userId)));
|
||||
final GroupedRecentTaskInfo[] tasks = mRecentTasks.getRecentTasks(numTasks,
|
||||
RECENT_IGNORE_UNAVAILABLE, userId);
|
||||
Log.d("b/206648922", "getRecentTasks(" + numTasks + "): result=" + tasks);
|
||||
return new ArrayList<>(Arrays.asList(tasks));
|
||||
} catch (RemoteException e) {
|
||||
Log.w(TAG, "Failed call getRecentTasks", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user