Add debug logging for null task list
Bug: 206648922 Test: Adding logs Change-Id: If2eec374eafd1287253404ba9d6af00612d9be5c
This commit is contained in:
@@ -25,6 +25,7 @@ import android.app.ActivityTaskManager;
|
||||
import android.app.TaskInfo;
|
||||
import android.content.Context;
|
||||
import android.os.RemoteException;
|
||||
import android.util.Slog;
|
||||
import android.util.SparseArray;
|
||||
import android.util.SparseIntArray;
|
||||
|
||||
@@ -316,6 +317,7 @@ public class RecentTasksController implements TaskStackListenerCallback,
|
||||
(controller) -> out[0] = controller.getRecentTasks(maxNum, flags, userId)
|
||||
.toArray(new GroupedRecentTaskInfo[0]),
|
||||
true /* blocking */);
|
||||
Slog.d("b/206648922", "getRecentTasks(" + maxNum + "): " + out[0]);
|
||||
return out[0];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user