package ῲ.Ԕ.K;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.view.View;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;

/* renamed from: ῲ.Ԕ.K.㳳  reason: contains not printable characters */
/* compiled from: FragmentManagerImpl */
public class C1540 extends AnimatorListenerAdapter {

    /* renamed from: ʬ  reason: contains not printable characters */
    public final /* synthetic */ Fragment f5633;

    /* renamed from: ῲ  reason: contains not printable characters */
    public final /* synthetic */ View f5634;

    /* renamed from: K  reason: contains not printable characters */
    public final /* synthetic */ ViewGroup f5635;

    /* renamed from: 㸾  reason: contains not printable characters */
    public final /* synthetic */ LayoutInflater$Factory2C1545 f5636;

    public C1540(LayoutInflater$Factory2C1545 r1, ViewGroup viewGroup, View view, Fragment fragment) {
        this.f5636 = r1;
        this.f5635 = viewGroup;
        this.f5634 = view;
        this.f5633 = fragment;
    }

    public void onAnimationEnd(Animator animator) {
        this.f5635.endViewTransition(this.f5634);
        Animator animator2 = this.f5633.getAnimator();
        this.f5633.setAnimator(null);
        if (animator2 != null && this.f5635.indexOfChild(this.f5634) < 0) {
            LayoutInflater$Factory2C1545 r0 = this.f5636;
            Fragment fragment = this.f5633;
            r0.m4033(fragment, fragment.getStateAfterAnimating(), 0, 0, false);
        }
    }
}
