package defpackage;

import android.content.res.Resources;
import android.view.View;
import androidx.leanback.widget.VerticalGridView;

/* renamed from: ᵿᵽᵤ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class ViewOnFocusChangeListenerC5536 implements View.OnFocusChangeListener {

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public View f20797;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final /* synthetic */ C5195 f20798;

    public ViewOnFocusChangeListenerC5536(C5195 c5195, C4263 c4263) {
        this.f20798 = c5195;
    }

    @Override // android.view.View.OnFocusChangeListener
    public final void onFocusChange(View view, boolean z) throws Resources.NotFoundException {
        C5195 c5195 = this.f20798;
        C1041 c1041 = c5195.f19385;
        VerticalGridView verticalGridView = c5195.f19395;
        if (verticalGridView.f887) {
            C2503 c2503 = (C2503) verticalGridView.m567(view);
            if (z) {
                this.f20797 = view;
                C2718 c2718 = c2503.f9763;
            } else if (this.f20797 == view) {
                c1041.getClass();
                c2503.m6356(false);
                this.f20797 = null;
            }
            c1041.getClass();
        }
    }
}
