Merge "Adding additional log to track down crash" into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-12-30 22:47:08 +00:00
committed by Android (Google) Code Review

View File

@@ -292,6 +292,7 @@ public class RecentTasksController implements TaskStackListenerCallback,
* Invalidates this instance, preventing future calls from updating the controller. * Invalidates this instance, preventing future calls from updating the controller.
*/ */
void invalidate() { void invalidate() {
Slog.d("b/206648922", "invalidating controller: " + mController);
mController = null; mController = null;
} }
@@ -317,7 +318,8 @@ public class RecentTasksController implements TaskStackListenerCallback,
(controller) -> out[0] = controller.getRecentTasks(maxNum, flags, userId) (controller) -> out[0] = controller.getRecentTasks(maxNum, flags, userId)
.toArray(new GroupedRecentTaskInfo[0]), .toArray(new GroupedRecentTaskInfo[0]),
true /* blocking */); true /* blocking */);
Slog.d("b/206648922", "getRecentTasks(" + maxNum + "): " + out[0]); Slog.d("b/206648922", "getRecentTasks(" + maxNum + "): " + out[0]
+ " mController=" + mController);
return out[0]; return out[0];
} }
} }