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

Commit 29e48400 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 am: 8aab4958

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

Change-Id: I63a99a298027d72f93b531a70e6416a7bcee8940
parents de4e6664 8aab4958
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) {