package l;

import android.view.textclassifier.TextClassifier;
import android.widget.TextView;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;

/* JADX INFO: loaded from: classes.dex */
public final class u0 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final TextView f29850a;

    @Nullable
    private TextClassifier mTextClassifier;

    public u0(TextView textView) {
        this.f29850a = (TextView) p0.g.checkNotNull(textView);
    }

    public final TextClassifier a() {
        TextClassifier textClassifier = this.mTextClassifier;
        return textClassifier == null ? t0.a(this.f29850a) : textClassifier;
    }

    @RequiresApi(api = 26)
    public void setTextClassifier(@Nullable TextClassifier textClassifier) {
        this.mTextClassifier = textClassifier;
    }
}
