package o;

import android.content.res.ColorStateList;
import android.graphics.drawable.Animatable2;
import android.graphics.drawable.Drawable;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.k6, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1643k6 extends Animatable2.AnimationCallback {
    public final /* synthetic */ WN a;

    public C1643k6(WN wn) {
        this.a = wn;
    }

    @Override // android.graphics.drawable.Animatable2.AnimationCallback
    public final void onAnimationEnd(Drawable drawable) {
        ColorStateList colorStateList = this.a.b.z;
        if (colorStateList != null) {
            drawable.setTintList(colorStateList);
        }
    }

    @Override // android.graphics.drawable.Animatable2.AnimationCallback
    public final void onAnimationStart(Drawable drawable) {
        YN yn = this.a.b;
        ColorStateList colorStateList = yn.z;
        if (colorStateList != null) {
            drawable.setTint(colorStateList.getColorForState(yn.D, colorStateList.getDefaultColor()));
        }
    }
}
