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:
@@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user