package com.google.android.material.floatingactionbutton;

import android.animation.Animator;
import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes2.dex */
public final class a {

    @Nullable
    private Animator currentAnimator;

    public final void a() {
        this.currentAnimator = null;
    }

    public final void b(Animator animator) {
        Animator animator2 = this.currentAnimator;
        if (animator2 != null) {
            animator2.cancel();
        }
        this.currentAnimator = animator;
    }
}
