package o;

import android.view.accessibility.AccessibilityManager;
import android.widget.AutoCompleteTextView;
import com.google.android.material.internal.CheckableImageButton;
import java.util.WeakHashMap;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.v0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class AccessibilityManagerTouchExplorationStateChangeListenerC2675v0 implements AccessibilityManager.TouchExplorationStateChangeListener {
    public final G1 a;

    public AccessibilityManagerTouchExplorationStateChangeListenerC2675v0(G1 g1) {
        this.a = g1;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof AccessibilityManagerTouchExplorationStateChangeListenerC2675v0) {
            return this.a.equals(((AccessibilityManagerTouchExplorationStateChangeListenerC2675v0) obj).a);
        }
        return false;
    }

    public final int hashCode() {
        return this.a.hashCode();
    }

    @Override // android.view.accessibility.AccessibilityManager.TouchExplorationStateChangeListener
    public final void onTouchExplorationStateChanged(boolean z) {
        C0253Jt c0253Jt = (C0253Jt) this.a.m;
        AutoCompleteTextView autoCompleteTextView = c0253Jt.h;
        if (autoCompleteTextView == null || autoCompleteTextView.getInputType() != 0) {
            return;
        }
        CheckableImageButton checkableImageButton = c0253Jt.d;
        int i = z ? 2 : 1;
        WeakHashMap weakHashMap = Oj0.a;
        checkableImageButton.setImportantForAccessibility(i);
    }
}
