package a3;

import android.text.TextUtils;
import androidx.preference.Preference;

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

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final int f287b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final String f288c;

    public y(Preference preference) {
        this.f288c = preference.getClass().getName();
        this.f286a = preference.f3577f0;
        this.f287b = preference.f3579g0;
    }

    public final boolean equals(Object obj) {
        if (!(obj instanceof y)) {
            return false;
        }
        y yVar = (y) obj;
        return this.f286a == yVar.f286a && this.f287b == yVar.f287b && TextUtils.equals(this.f288c, yVar.f288c);
    }

    public final int hashCode() {
        return this.f288c.hashCode() + ((((527 + this.f286a) * 31) + this.f287b) * 31);
    }
}
