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

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

Change-Id: I19903b4a4acafb3e7824dffc0c4a429d950f6f51
This commit is contained in:
TreeHugger Robot
2020-06-04 15:41:55 +00:00
committed by Automerger Merge Worker

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()));
}
}