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: Id3f988c0158783120e2c3f8b8dab52716a3ae416
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
|
// Found the topmost stack on target display. Now check if the topmost task's
|
||||||
// description changed.
|
// description changed.
|
||||||
if (taskInfo.taskId == stackInfo.taskIds[stackInfo.taskIds.length - 1]) {
|
if (taskInfo.taskId == stackInfo.taskIds[stackInfo.taskIds.length - 1]) {
|
||||||
mHost.onTaskBackgroundColorChanged(VirtualDisplayTaskEmbedder.this,
|
mHost.post(()-> mHost.onTaskBackgroundColorChanged(VirtualDisplayTaskEmbedder.this,
|
||||||
taskInfo.taskDescription.getBackgroundColor());
|
taskInfo.taskDescription.getBackgroundColor()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user