LINE.apk(点击下载) / s11.java


package uc;

import android.app.Activity;
import android.content.Context;
import bb.f1;
import bb.r1;
import com.google.android.gms.internal.ads.zzccl;
import java.lang.ref.WeakReference;
import xb.i;
import za.q;

public final class s11 extends km0 {

    /* renamed from: i  reason: collision with root package name */
    public final Context f161651i;

    /* renamed from: j  reason: collision with root package name */
    public final WeakReference<wc0> f161652j;

    /* renamed from: k  reason: collision with root package name */
    public final qv0 f161653k;

    /* renamed from: l  reason: collision with root package name */
    public final ut0 f161654l;

    /* renamed from: m  reason: collision with root package name */
    public final wp0 f161655m;

    /* renamed from: n  reason: collision with root package name */
    public final vq0 f161656n;

    /* renamed from: o  reason: collision with root package name */
    public final bn0 f161657o;

    /* renamed from: p  reason: collision with root package name */
    public final i50 f161658p;

    /* renamed from: q  reason: collision with root package name */
    public final mx1 f161659q;

    /* renamed from: r  reason: collision with root package name */
    public boolean f161660r = false;

    public s11(jm0 jm02, Context context, wc0 wc02, qv0 qv02, ut0 ut02, wp0 wp02, vq0 vq02, bn0 bn02, er1 er12, mx1 mx12) {
        super(jm02);
        this.f161651i = context;
        this.f161653k = qv02;
        this.f161652j = new WeakReference<>(wc02);
        this.f161654l = ut02;
        this.f161655m = wp02;
        this.f161656n = vq02;
        this.f161657o = bn02;
        this.f161659q = mx12;
        zzccl zzccl = er12.f155890m;
        this.f161658p = new z50(zzccl != null ? zzccl.f29071b : "", zzccl != null ? zzccl.f29072c : 1);
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Type inference failed for: r6v4, 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.f161651i)) {
                f1.f("Rewarded ads 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.f161655m.L0(sp0.f161867b);
                if (((Boolean) ymVar.f164109c.a(pq.f160648o0)).booleanValue()) {
                    this.f161659q.a(((ir1) this.f158175a.f160092b.f159573d).f157412b);
                }
                return false;
            }
        }
        if (this.f161660r) {
            f1.f("The rewarded ad have been showed.");
            this.f161655m.i(g0.h(10, null, null));
            return false;
        }
        this.f161660r = true;
        this.f161654l.L0(st0.f161929b);
        Activity activity2 = activity;
        if (activity == null) {
            activity2 = this.f161651i;
        }
        try {
            this.f161653k.c(z14, activity2, this.f161655m);
            this.f161654l.L0(tt0.f162387b);
            return true;
        } catch (pv0 e14) {
            this.f161655m.A(e14);
            return false;
        }
    }

    public final void finalize() throws Throwable {
        try {
            wc0 wc02 = this.f161652j.get();
            if (((Boolean) ym.f164106d.f164109c.a(pq.f160707v4)).booleanValue()) {
                if (!this.f161660r && wc02 != null) {
                    v42 v422 = q80.f160895e;
                    ((p80) v422).f160311b.execute(new i(wc02, 5));
                }
            } else if (wc02 != null) {
                wc02.destroy();
            }
        } finally {
            super.finalize();
        }
    }
}