Merge "Add task-id to animation leash" into rvc-dev

This commit is contained in:
Evan Rosky
2020-06-04 20:48:04 +00:00
committed by Android (Google) Code Review

View File

@@ -3163,6 +3163,11 @@ class Task extends WindowContainer<WindowContainer> {
return false;
}
@Override
public SurfaceControl.Builder makeAnimationLeash() {
return super.makeAnimationLeash().setMetadata(METADATA_TASK_ID, mTaskId);
}
@Override
public SurfaceControl getAnimationLeashParent() {
if (WindowManagerService.sHierarchicalAnimations) {