package uc; import android.app.Activity; import android.content.Context; import bb.f1; import bb.r1; import java.lang.ref.WeakReference; import za.q; public final class zu0 extends km0 { /* renamed from: i reason: collision with root package name */ public final Context f164613i; /* renamed from: j reason: collision with root package name */ public final WeakReference<wc0> f164614j; /* renamed from: k reason: collision with root package name */ public final ut0 f164615k; /* renamed from: l reason: collision with root package name */ public final qv0 f164616l; /* renamed from: m reason: collision with root package name */ public final bn0 f164617m; /* renamed from: n reason: collision with root package name */ public final mx1 f164618n; /* renamed from: o reason: collision with root package name */ public final wp0 f164619o; /* renamed from: p reason: collision with root package name */ public boolean f164620p = false; public zu0(jm0 jm02, Context context, wc0 wc02, ut0 ut02, qv0 qv02, bn0 bn02, mx1 mx12, wp0 wp02) { super(jm02); this.f164613i = context; this.f164614j = new WeakReference<>(wc02); this.f164615k = ut02; this.f164616l = qv02; this.f164617m = bn02; this.f164618n = mx12; this.f164619o = wp02; } /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Type inference failed for: r5v4, types: [android.content.Context] */ /* JADX WARNING: Unknown variable types count: 1 */ public final boolean c(boolean z14, Activity activity) { iq<Boolean> iqVar = pq.f160640n0; ym ymVar = ym.f164106d; if (((Boolean) ymVar.f164109c.a(iqVar)).booleanValue()) { r1 r1Var = q.B.f198503c; if (r1.h(this.f164613i)) { 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.f164619o.L0(sp0.f161867b); if (!((Boolean) ymVar.f164109c.a(pq.f160648o0)).booleanValue()) { return false; } this.f164618n.a(((ir1) this.f158175a.f160092b.f159573d).f157412b); return false; } } if (((Boolean) ymVar.f164109c.a(pq.f160654o6)).booleanValue() && this.f164620p) { f1.f("The interstitial ad has been showed."); this.f164619o.i(g0.h(10, null, null)); } if (this.f164620p) { return false; } this.f164615k.L0(st0.f161929b); Activity activity2 = activity; if (activity == null) { activity2 = this.f164613i; } try { this.f164616l.c(z14, activity2, this.f164619o); this.f164615k.L0(tt0.f162387b); this.f164620p = true; return true; } catch (pv0 e14) { this.f164619o.A(e14); return false; } } public final void finalize() throws Throwable { try { wc0 wc02 = this.f164614j.get(); if (((Boolean) ym.f164106d.f164109c.a(pq.f160707v4)).booleanValue()) { if (!this.f164620p && wc02 != null) { v42 v422 = q80.f160895e; ((p80) v422).f160311b.execute(new jr0(wc02)); } } else if (wc02 != null) { wc02.destroy(); } } finally { super.finalize(); } } }