Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8aab4958 authored by Evan Rosky's avatar Evan Rosky Committed by Automerger Merge Worker
Browse files

Merge "Add task-id to animation leash" into rvc-dev am: 77542c73

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

Change-Id: Ia79f86d6232ab4150bc66c2439981583f967cbfc
parents b3303cf9 77542c73
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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) {