package c.b.f;

import android.view.textclassifier.TextClassificationManager;
import android.view.textclassifier.TextClassifier;
import android.widget.TextView;

/* JADX INFO: compiled from: AppCompatTextClassifierHelper.java */
/* JADX INFO: loaded from: classes.dex */
public final class c0 {
    public TextView a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public TextClassifier f781b;

    /* JADX INFO: compiled from: AppCompatTextClassifierHelper.java */
    public static final class a {
        public static TextClassifier a(TextView textView) {
            TextClassificationManager textClassificationManager = (TextClassificationManager) textView.getContext().getSystemService(TextClassificationManager.class);
            return textClassificationManager != null ? textClassificationManager.getTextClassifier() : TextClassifier.NO_OP;
        }
    }

    public c0(TextView textView) {
        this.a = textView;
    }
}
