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

Commit 6d4ccd62 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: I3efbd7c0559fd3abc6bb95641be3b07a04722b98
parents 0a8e4234 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) {