Merge "VirtualDisplayTaskEmbedder: Post background color change callback" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-06-04 15:28:56 +00:00
committed by Android (Google) Code Review

View File

@@ -365,8 +365,8 @@ public class VirtualDisplayTaskEmbedder extends TaskEmbedder {
// Found the topmost stack on target display. Now check if the topmost task's
// description changed.
if (taskInfo.taskId == stackInfo.taskIds[stackInfo.taskIds.length - 1]) {
mHost.onTaskBackgroundColorChanged(VirtualDisplayTaskEmbedder.this,
taskInfo.taskDescription.getBackgroundColor());
mHost.post(()-> mHost.onTaskBackgroundColorChanged(VirtualDisplayTaskEmbedder.this,
taskInfo.taskDescription.getBackgroundColor()));
}
}