package p000.p001.p002.p008.p009.p011;

import android.app.Activity;
import android.content.Context;
import android.view.View;
import android.widget.PopupMenu;
import p000.p001.p021.p022.C1219;
import p402.InterfaceC6540;
import p402.p411.p413.C6635;

/* JADX INFO: renamed from: ނ.֏.֏.ހ.֏.ೲ.ؠ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
@InterfaceC6540
public final class C0902 extends PopupMenu {

    /* JADX INFO: renamed from: ނ.֏.֏.ހ.֏.ೲ.ؠ$֏, reason: contains not printable characters */
    public static final class C0903 implements PopupMenu.OnDismissListener {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final /* synthetic */ Context f3567;

        public C0903(Context context) {
            this.f3567 = context;
        }

        @Override // android.widget.PopupMenu.OnDismissListener
        public final void onDismiss(PopupMenu popupMenu) {
            Context context = this.f3567;
            if (!(context instanceof Activity)) {
                context = null;
            }
            Activity activity = (Activity) context;
            if (activity != null) {
                C1219.m2474(activity, true);
            }
        }
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0902(Context context, View view) {
        super(context, view);
        if (context == null) {
            C6635.m9824("context");
            throw null;
        }
        if (view == null) {
            C6635.m9824("anchor");
            throw null;
        }
        setOnDismissListener(new C0903(context));
    }
}
