package uc; import android.app.Activity; import android.content.Context; import android.os.RemoteException; import bb.f1; import bb.r1; import za.q; public final class lk0 extends km0 { /* renamed from: i reason: collision with root package name */ public final wc0 f158621i; /* renamed from: j reason: collision with root package name */ public final int f158622j; /* renamed from: k reason: collision with root package name */ public final Context f158623k; /* renamed from: l reason: collision with root package name */ public final wj0 f158624l; /* renamed from: m reason: collision with root package name */ public final qv0 f158625m; /* renamed from: n reason: collision with root package name */ public final wp0 f158626n; /* renamed from: o reason: collision with root package name */ public boolean f158627o = false; public lk0(jm0 jm02, Context context, wc0 wc02, int i14, wj0 wj02, qv0 qv02, wp0 wp02) { super(jm02); this.f158621i = wc02; this.f158623k = context; this.f158622j = i14; this.f158624l = wj02; this.f158625m = qv02; this.f158626n = wp02; } @Override // uc.km0 public final void b() { super.b(); wc0 wc02 = this.f158621i; if (wc02 != null) { wc02.destroy(); } } /* JADX DEBUG: Failed to insert an additional move for type inference into block B:0:0x0000 */ /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Type inference failed for: r4v0, types: [android.app.Activity] */ /* JADX WARN: Type inference failed for: r4v1, types: [android.content.Context] */ /* JADX WARN: Type inference failed for: r0v8, types: [uc.qv0] */ /* JADX WARN: Type inference failed for: r4v11, types: [android.content.Context] */ /* JADX WARNING: Unknown variable types count: 1 */ public final void c(Activity activity, mh mhVar, boolean z14) throws RemoteException { if (activity == 0) { activity = this.f158623k; } iq<Boolean> iqVar = pq.f160640n0; ym ymVar = ym.f164106d; if (((Boolean) ymVar.f164109c.a(iqVar)).booleanValue()) { q qVar = q.B; r1 r1Var = qVar.f198503c; if (r1.h(activity)) { f1.f("Interstitials that show when your app is in the background are a violation of AdMob policies and may lead to blocked ad serving. To learn more, visit https://googlemobileadssdk.page.link/admob-interstitial-policies"); this.f158626n.L0(sp0.f161867b); if (((Boolean) ymVar.f164109c.a(pq.f160648o0)).booleanValue()) { new mx1(activity.getApplicationContext(), qVar.f198517q.a()).a(((ir1) this.f158175a.f160092b.f159573d).f157412b); return; } return; } } if (this.f158627o) { f1.f("App open interstitial ad is already visible."); if (((Boolean) ymVar.f164109c.a(pq.f160654o6)).booleanValue()) { this.f158626n.i(g0.h(10, null, null)); } } if (!this.f158627o) { try { this.f158625m.c(z14, activity, this.f158626n); this.f158627o = true; } catch (pv0 e14) { if (((Boolean) ym.f164106d.f164109c.a(pq.f160654o6)).booleanValue()) { this.f158626n.A(e14); } else { mhVar.r(g0.a(e14)); } } } } }