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

Commit f7ecc6c8 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Fix inverted condition of hierarchical animation"

parents e30ed059 d8302836
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -611,7 +611,7 @@ class Task extends WindowContainer<AppWindowToken> implements ConfigurationConta

    @Override
    public SurfaceControl getAnimationLeashParent() {
        if (!WindowManagerService.sHierarchicalAnimations) {
        if (WindowManagerService.sHierarchicalAnimations) {
            return super.getAnimationLeashParent();
        }
        // Currently, only the recents animation will create animation leashes for tasks. In this