- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
72 lines
2.9 KiB
Java
72 lines
2.9 KiB
Java
package com.mbridge.msdk.reward.b;
|
|
|
|
import android.content.Context;
|
|
import android.text.TextUtils;
|
|
import com.mbridge.msdk.MBridgeConstans;
|
|
import com.mbridge.msdk.foundation.db.g;
|
|
import com.mbridge.msdk.foundation.db.o;
|
|
import com.mbridge.msdk.foundation.entity.CampaignEx;
|
|
import com.mbridge.msdk.foundation.entity.n;
|
|
import com.mbridge.msdk.foundation.same.b.e;
|
|
import com.mbridge.msdk.foundation.tools.ad;
|
|
import com.mbridge.msdk.foundation.tools.af;
|
|
import com.mbridge.msdk.foundation.tools.ah;
|
|
import java.util.List;
|
|
import java.util.concurrent.CopyOnWriteArrayList;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class c implements Runnable {
|
|
private final Context a;
|
|
private final String b;
|
|
|
|
public c(Context context, String str) {
|
|
this.a = context;
|
|
this.b = str;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
CopyOnWriteArrayList<CampaignEx> a;
|
|
if (this.a == null || TextUtils.isEmpty(this.b)) {
|
|
return;
|
|
}
|
|
try {
|
|
Context context = this.a;
|
|
String str = this.b;
|
|
if (context != null) {
|
|
try {
|
|
o a2 = o.a(g.a(context));
|
|
if (!TextUtils.isEmpty(str) && a2 != null && a2.a() > 0) {
|
|
List<n> a3 = a2.a("m_download_end");
|
|
List<n> a4 = a2.a("2000021");
|
|
List<n> a5 = a2.a("2000039");
|
|
List<n> a6 = a2.a("m_download_end");
|
|
List<n> a7 = a2.a("m_download_end");
|
|
List<n> a8 = a2.a("2000044");
|
|
com.mbridge.msdk.foundation.same.report.n.e(a4);
|
|
com.mbridge.msdk.foundation.same.report.n.a(a3);
|
|
com.mbridge.msdk.foundation.same.report.n.c(a5);
|
|
com.mbridge.msdk.foundation.same.report.n.b(a6);
|
|
com.mbridge.msdk.foundation.same.report.n.f(a7);
|
|
com.mbridge.msdk.foundation.same.report.n.d(a8);
|
|
}
|
|
} catch (Exception e) {
|
|
af.b("RewardReport", e.getMessage());
|
|
}
|
|
}
|
|
ad.a();
|
|
ad.a(e.a(com.mbridge.msdk.foundation.same.b.c.MBRIDGE_700_RES));
|
|
ad.a(e.a(com.mbridge.msdk.foundation.same.b.c.MBRIDGE_700_HTML));
|
|
com.mbridge.msdk.videocommon.d.b.a().c(this.b);
|
|
if (ah.a().a("c_d_v_w_i", false) || TextUtils.isEmpty(this.b) || (a = com.mbridge.msdk.videocommon.a.a.a().a(this.b, 1)) == null || a.size() <= 0) {
|
|
return;
|
|
}
|
|
com.mbridge.msdk.videocommon.download.b.getInstance().createUnitCache(this.a, this.b, a, 94, (com.mbridge.msdk.videocommon.listener.a) null);
|
|
} catch (Exception e2) {
|
|
if (MBridgeConstans.DEBUG) {
|
|
af.b("RewardVideoControllerInitTask", "initRewardVideoController task ", e2);
|
|
}
|
|
}
|
|
}
|
|
}
|