Set task properties to prevent the task being null. This behaviour is expected by existing callers and was likely broken by ag/28151977

Fix: 374339873
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: manual
Change-Id: I54ea7a714174375eb0d7481cab246fbbe9133fb4
diff --git a/quickstep/src/com/android/quickstep/TaskIconCache.java b/quickstep/src/com/android/quickstep/TaskIconCache.java
index 91fa72d..c4221a1 100644
--- a/quickstep/src/com/android/quickstep/TaskIconCache.java
+++ b/quickstep/src/com/android/quickstep/TaskIconCache.java
@@ -116,6 +116,10 @@
                 () -> getCacheEntry(task),
                 MAIN_EXECUTOR,
                 result -> {
+                    task.icon = result.icon;
+                    task.titleDescription = result.contentDescription;
+                    task.title = result.title;
+
                     callback.onTaskIconReceived(
                             result.icon,
                             result.contentDescription,