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

Commit b12c9da6 authored by Winson Chung's avatar Winson Chung
Browse files

Log recents listener when dumping

Bug: 242377577
Test: dumpsys activity service SystemUIService WMShell
Change-Id: I4fcb7e42cf128558c0a4340291dcc21d7a4c4bb3
parent eee35ec5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -367,6 +367,8 @@ public class RecentTasksController implements TaskStackListenerCallback,
    public void dump(@NonNull PrintWriter pw, String prefix) {
        final String innerPrefix = prefix + "  ";
        pw.println(prefix + TAG);
        pw.println(prefix + " mListener=" + mListener);
        pw.println(prefix + "Tasks:");
        ArrayList<GroupedRecentTaskInfo> recentTasks = getRecentTasks(Integer.MAX_VALUE,
                ActivityManager.RECENT_IGNORE_UNAVAILABLE, ActivityManager.getCurrentUser());
        for (int i = 0; i < recentTasks.size(); i++) {