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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16551868

Change-Id: I85d29f3687c1a96f1f7ac9ca661640c0519bed5e
This commit is contained in:
TreeHugger Robot
2021-12-30 22:54:39 +00:00
committed by Automerger Merge Worker

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];
} }
} }