正在查看: 小柿子 v1.3.8 应用的 d.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 小柿子 v1.3.8 应用的 d.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.mbridge.msdk.mbbanner.common.c;
import android.content.Context;
import android.graphics.Bitmap;
import android.os.Build;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.text.TextUtils;
import android.util.Base64;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import com.mbridge.msdk.MBridgeConstans;
import com.mbridge.msdk.c.h;
import com.mbridge.msdk.c.l;
import com.mbridge.msdk.foundation.db.m;
import com.mbridge.msdk.foundation.download.download.HTMLResourceManager;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import com.mbridge.msdk.foundation.same.report.e;
import com.mbridge.msdk.foundation.same.report.k;
import com.mbridge.msdk.foundation.tools.ad;
import com.mbridge.msdk.foundation.tools.af;
import com.mbridge.msdk.foundation.tools.ak;
import com.mbridge.msdk.interstitial.view.MBInterstitialActivity;
import com.mbridge.msdk.mbbanner.common.b.f;
import com.mbridge.msdk.mbbanner.common.util.BannerUtils;
import com.mbridge.msdk.mbbanner.view.MBBannerWebView;
import com.mbridge.msdk.mbsignalcommon.windvane.i;
import com.mbridge.msdk.out.MBBannerView;
import com.mbridge.msdk.widget.FeedBackButton;
import com.mbridge.msdk.widget.MBAdChoice;
import com.sigmob.sdk.base.j;
import java.io.File;
import java.util.Iterator;
import java.util.List;
import org.json.JSONObject;
public class d {
private float B;
private float C;
public com.mbridge.msdk.mbbanner.common.b.c a;
public CampaignEx b;
public final MBBannerView c;
public boolean d;
public final String e;
public com.mbridge.msdk.click.b f;
private boolean f52g;
private ImageView h;
private MBBannerWebView i;
private ImageView j;
private ImageView k;
private boolean l;
private boolean m;
private boolean n;
private boolean o;
private boolean p;
private boolean q;
private final String r;
private List<CampaignEx> s;
private int u;
private com.mbridge.msdk.mbbanner.common.communication.a w;
private x.b x;
private x.a y;
private int t = 1;
private final long v = MBInterstitialActivity.WEB_LOAD_TIME;
private final Handler z = new Handler(Looper.getMainLooper()) {
@Override
public final void handleMessage(Message message) {
super.handleMessage(message);
if (message.what != 1) {
return;
}
try {
if (d.this.x != null) {
d dVar = d.this;
dVar.y = x.a.a(dVar.x);
if (d.this.y != null) {
d.this.y.c();
d.this.y.b();
}
}
} catch (Throwable th) {
af.a("BannerShowManager", th.getMessage());
}
}
};
private final com.mbridge.msdk.foundation.same.e.a A = new com.mbridge.msdk.foundation.same.e.a() {
@Override
public final void cancelTask() {
}
@Override
public final void pauseTask(boolean z) {
}
@Override
public final void runTask() {
d.this.a("banner render failed because render is timeout");
}
};
private final View.OnClickListener D = new View.OnClickListener() {
@Override
public final void onClick(View view) {
d dVar = d.this;
if (dVar.d) {
d.c(dVar);
}
}
};
private com.mbridge.msdk.mbbanner.common.b.a E = new com.mbridge.msdk.mbbanner.common.b.a() {
@Override
public final void a(int i) {
if (i == 2) {
d.d(d.this);
} else {
d.this.f();
}
}
@Override
public final void b(int i) {
if (i != 1) {
d.this.c();
} else {
d.this.d();
d.this.a("", 1);
}
}
@Override
public final void a(String str) {
d.c(d.this);
}
@Override
public final void a() {
d.c(d.this);
}
@Override
public final void a(CampaignEx campaignEx) {
d.this.a(campaignEx, false, "");
}
@Override
public final void a(boolean z) {
d dVar = d.this;
if (dVar.a != null) {
dVar.q = z;
if (z) {
d.this.a.c();
} else {
d.this.a.d();
}
}
}
@Override
public final void a(boolean z, String str) {
try {
if (d.this.a != null) {
if (TextUtils.isEmpty(str)) {
d.this.a.a();
d.this.a.b();
} else {
CampaignEx parseCampaignWithBackData = CampaignEx.parseCampaignWithBackData(CampaignEx.campaignToJsonObject(d.this.b));
parseCampaignWithBackData.setClickURL(str);
d.this.a(parseCampaignWithBackData, z, str);
}
}
} catch (Exception e) {
af.b("BannerShowManager", e.getMessage());
}
}
};
private com.mbridge.msdk.mbsignalcommon.b.b F = new com.mbridge.msdk.mbsignalcommon.b.b() {
@Override
public final void a(WebView webView, String str) {
d.this.n = true;
af.b("BannerCallJS", "fireOnJSBridgeConnected");
i.a().a(webView);
d.this.p = true;
CampaignEx campaignEx = d.this.b;
if (campaignEx == null || campaignEx.isHasMBTplMark()) {
return;
}
d.this.d();
d.this.a("", 1);
}
@Override
public final void a(WebView webView, int i, String str, String str2) {
d.this.a(str);
d.this.a(str, 2);
}
@Override
public final void a(WebView webView) {
d.this.c();
}
};
public d(MBBannerView mBBannerView, com.mbridge.msdk.mbbanner.common.b.c cVar, String str, String str2, boolean z, l lVar) {
this.f52g = z;
this.c = mBBannerView;
this.e = str2;
this.r = str;
this.a = new f(cVar, lVar);
}
public void d() {
throw new UnsupportedOperationException("Method not decompiled: com.mbridge.msdk.mbbanner.common.c.d.d():void");
}
public static void m(d dVar) {
if (dVar.h != null) {
MBBannerWebView mBBannerWebView = dVar.i;
if (mBBannerWebView != null) {
mBBannerWebView.setVisibility(8);
}
if (dVar.h.getVisibility() != 0) {
dVar.h.setVisibility(0);
}
if (dVar.c != null) {
RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(-1, -1);
layoutParams.addRule(10);
dVar.h.setScaleType(ImageView.ScaleType.FIT_XY);
if (dVar.h.getParent() == null) {
dVar.c.addView(dVar.h, layoutParams);
}
dVar.d(true);
}
}
}
public void a(CampaignEx campaignEx, boolean z, String str) {
}
public void c() {
if (this.c == null) {
a("banner show failed because banner view is exception");
return;
}
MBBannerWebView mBBannerWebView = this.i;
if (mBBannerWebView != null && mBBannerWebView.getParent() != null) {
this.c.removeView(this.i);
}
if (this.h == null) {
ImageView imageView = new ImageView(com.mbridge.msdk.foundation.controller.c.q().c());
this.h = imageView;
imageView.setOnTouchListener(new View.OnTouchListener() {
@Override
public final boolean onTouch(View view, MotionEvent motionEvent) {
d.this.B = motionEvent.getRawX();
d.this.C = motionEvent.getRawY();
af.b("BannerShowManager", d.this.B + " " + d.this.C);
return false;
}
});
this.h.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
d.this.a(BannerUtils.managerCampaignEX(com.mbridge.msdk.mbsignalcommon.communication.d.a(d.this.B, d.this.C), d.this.b), false, "");
}
});
}
String imageUrl = this.b.getImageUrl();
if (TextUtils.isEmpty(imageUrl)) {
a("banner show failed because campain is exception");
} else {
com.mbridge.msdk.foundation.same.c.b.a(com.mbridge.msdk.foundation.controller.c.q().c()).a(imageUrl, new com.mbridge.msdk.foundation.same.c.c() {
@Override
public final void onFailedLoad(String str, String str2) {
d.this.a("banner show failed because banner default view is exception");
}
@Override
public final void onSuccessLoad(Bitmap bitmap, String str) {
if (d.this.h != null) {
d.this.h.setImageBitmap(bitmap);
}
d.this.n = true;
d.m(d.this);
d.this.f();
d.this.g();
d dVar = d.this;
if (dVar.d) {
return;
}
dVar.d();
}
});
}
}
private synchronized boolean e() {
boolean isReport;
isReport = this.b.isReport();
if (!isReport) {
this.b.setReport(true);
}
return isReport;
}
public void f() {
ImageView imageView;
if (!this.f52g || (imageView = this.j) == null) {
return;
}
if (imageView.getVisibility() != 0) {
this.j.setVisibility(0);
this.j.setOnClickListener(this.D);
}
if (this.j.getParent() != null || this.c == null) {
return;
}
RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(ak.a(com.mbridge.msdk.foundation.controller.c.q().c(), 12.0f), ak.a(com.mbridge.msdk.foundation.controller.c.q().c(), 12.0f));
layoutParams.addRule(11);
layoutParams.addRule(10);
this.c.addView(this.j, layoutParams);
}
public void g() {
if (this.c == null) {
return;
}
CampaignEx campaignEx = this.b;
if (campaignEx != null) {
if (!(campaignEx.getPrivacyButtonTemplateVisibility() == 1)) {
return;
}
}
MBAdChoice mBAdChoice = new MBAdChoice(com.mbridge.msdk.foundation.controller.c.q().c());
mBAdChoice.setCampaign(this.b);
mBAdChoice.setFeedbackDialogEventListener(new com.mbridge.msdk.foundation.d.a() {
public final void a() {
String str;
try {
JSONObject jSONObject = new JSONObject();
if (com.mbridge.msdk.foundation.controller.c.q().c() != null) {
jSONObject.put("status", 1);
}
str = jSONObject.toString();
} catch (Throwable th) {
af.b("BannerShowManager", th.getMessage(), th);
str = "";
}
i.a().a((WebView) d.this.i, "onFeedbackAlertStatusNotify", Base64.encodeToString(str.getBytes(), 2));
}
public final void b() {
String str;
try {
JSONObject jSONObject = new JSONObject();
if (com.mbridge.msdk.foundation.controller.c.q().c() != null) {
jSONObject.put("status", 2);
}
str = jSONObject.toString();
} catch (Throwable th) {
af.b("BannerShowManager", th.getMessage(), th);
str = "";
}
i.a().a((WebView) d.this.i, "onFeedbackAlertStatusNotify", Base64.encodeToString(str.getBytes(), 2));
}
public final void a(String str) {
String str2;
try {
JSONObject jSONObject = new JSONObject();
if (com.mbridge.msdk.foundation.controller.c.q().c() != null) {
jSONObject.put("status", 1);
}
str2 = jSONObject.toString();
} catch (Throwable th) {
af.b("BannerShowManager", th.getMessage(), th);
str2 = "";
}
i.a().a((WebView) d.this.i, "onFeedbackAlertStatusNotify", Base64.encodeToString(str2.getBytes(), 2));
}
});
RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(ak.a(com.mbridge.msdk.foundation.controller.c.q().c(), 6.0f), ak.a(com.mbridge.msdk.foundation.controller.c.q().c(), 6.0f));
layoutParams.addRule(11);
layoutParams.addRule(12);
this.c.addView(mBAdChoice, layoutParams);
}
private void h() {
x.b bVar = this.x;
if (bVar != null) {
bVar.c();
this.x = null;
af.a("omsdk", " adSession.finish() ");
}
}
private boolean b() {
String a = a(this.b);
if (TextUtils.isEmpty(a)) {
return false;
}
if (this.c != null) {
if (this.i == null) {
try {
MBBannerWebView mBBannerWebView = new MBBannerWebView(com.mbridge.msdk.foundation.controller.c.q().c());
this.i = mBBannerWebView;
mBBannerWebView.setLayoutParams(new RelativeLayout.LayoutParams(-1, -1));
this.i.setWebViewClient(new com.mbridge.msdk.mbbanner.view.a(this.e, this.s, this.E));
} catch (Throwable unused) {
a("banner show failed because WebView is not available and try to show default", 1);
return false;
}
}
ImageView imageView = this.h;
if (imageView != null) {
imageView.setVisibility(8);
}
if (this.i.getVisibility() != 0) {
this.i.setVisibility(0);
}
if (this.i.getParent() == null) {
this.c.addView(this.i);
d(this.b.isMraid());
}
if (this.b.isMraid()) {
g();
}
f();
com.mbridge.msdk.mbbanner.common.communication.a aVar = new com.mbridge.msdk.mbbanner.common.communication.a(this.c.getContext(), this.r, this.e);
this.w = aVar;
aVar.a(this.s);
this.w.a(this.E);
this.w.a(this.u);
this.i.setWebViewListener(this.F);
this.i.setObject(this.w);
if (!a.startsWith(j.y)) {
if (this.b.isActiveOm()) {
a = com.mbridge.msdk.a.b.c(a);
}
this.i.loadDataWithBaseURL(this.b.getBannerUrl(), a, "text/html", "utf-8", null);
} else {
this.i.loadUrl(a);
}
MBBannerWebView mBBannerWebView2 = this.i;
if (mBBannerWebView2 != null) {
mBBannerWebView2.postDelayed(new Runnable() {
@Override
public final void run() {
try {
if (Build.VERSION.SDK_INT < 19 || d.this.i == null) {
return;
}
String str = d.this.t == 2 ? "false" : "true";
d.this.i.evaluateJavascript("(function() {\n var videos = document.getElementsByTagName('video');\n for (var i = 0; i < videos.length; i++) {\n videos[i].muted = " + str + ";\n }\n var audios = document.getElementsByTagName('audio');\n for (var i = 0; i < audios.length; i++) {\n audios[i].muted = " + str + ";\n }\n })()", null);
} catch (Exception e) {
e.printStackTrace();
}
}
}, 1000L);
}
} else {
a("banner render failed because banner view is null", 2);
a("banner show failed because banner view is exception");
}
return true;
}
public final void a(boolean z, int i) {
this.u = i;
if (i == 0) {
l d = h.a().d(com.mbridge.msdk.foundation.controller.c.q().k(), this.e);
if (d == null) {
return;
} else {
z = d.g() == 1;
}
}
this.f52g = z;
}
public final void a(boolean z) {
this.f52g = z;
}
private String a(CampaignEx campaignEx) {
String str;
if (campaignEx == null) {
return "";
}
String htmlContentFromUrl = HTMLResourceManager.getInstance().getHtmlContentFromUrl(campaignEx.getBannerUrl());
if (TextUtils.isEmpty(htmlContentFromUrl)) {
String bannerHtml = campaignEx.getBannerHtml();
if (campaignEx.isActiveOm()) {
try {
File file = new File(bannerHtml);
str = w.b.a(MBridgeConstans.OMID_JS_SERVICE_CONTENT, file.exists() ? ad.b(file) : "");
} catch (Exception unused) {
File file2 = new File(bannerHtml);
if (file2.exists() && file2.isFile() && file2.canRead()) {
str = "file:////" + bannerHtml;
}
}
return str;
}
File file3 = new File(bannerHtml);
if (file3.exists() && file3.isFile() && file3.canRead()) {
str = "file:////" + bannerHtml;
return str;
}
return bannerHtml;
}
return w.b.a(MBridgeConstans.OMID_JS_SERVICE_CONTENT, htmlContentFromUrl);
}
public final void c(boolean z) {
this.m = z;
d();
}
private void c(final CampaignEx campaignEx, final Context context, String str) {
if (!TextUtils.isEmpty(campaignEx.getImpressionURL())) {
new Thread(new Runnable() {
@Override
public final void run() {
try {
m.a(com.mbridge.msdk.foundation.db.j.a(context)).a(campaignEx.getId());
} catch (Exception e) {
af.b("BannerShowManager", e.getMessage());
}
}
}).start();
com.mbridge.msdk.click.b.a(context, campaignEx, str, campaignEx.getImpressionURL(), false, true, com.mbridge.msdk.click.a.a.g);
}
if (TextUtils.isEmpty(str) || campaignEx.getNativeVideoTracking() == null || campaignEx.getNativeVideoTracking().p() == null) {
return;
}
com.mbridge.msdk.click.b.a(context, campaignEx, str, campaignEx.getNativeVideoTracking().p(), false, false);
}
public static void c(d dVar) {
MBBannerWebView mBBannerWebView = dVar.i;
if (mBBannerWebView != null && mBBannerWebView.getParent() != null) {
dVar.c.removeView(dVar.i);
}
ImageView imageView = dVar.h;
if (imageView != null && imageView.getParent() != null) {
dVar.h.setVisibility(8);
dVar.c.removeView(dVar.h);
}
ImageView imageView2 = dVar.j;
if (imageView2 != null && imageView2.getParent() != null) {
dVar.c.removeView(dVar.j);
dVar.j.setVisibility(8);
}
com.mbridge.msdk.foundation.d.b.a().c(dVar.e);
ImageView imageView3 = dVar.k;
if (imageView3 != null && imageView3.getParent() != null) {
dVar.c.removeView(dVar.k);
dVar.k.setVisibility(8);
}
com.mbridge.msdk.mbbanner.common.a.a a = com.mbridge.msdk.mbbanner.common.a.a.a().b(dVar.e).d(dVar.b.getRequestId()).e(dVar.b.getRequestIdNotice()).c(dVar.b.getId()).f(dVar.b.getCreativeId() + "").a(dVar.b.isBidCampaign());
String str = dVar.e;
if (a != null) {
a.a("2000069");
if (e.a().b()) {
e.a().a(a.b());
} else {
com.mbridge.msdk.foundation.same.report.h.a(a.b(), com.mbridge.msdk.foundation.controller.c.q().c(), str);
}
}
BannerUtils.inserCloseId(dVar.e, dVar.s);
com.mbridge.msdk.mbbanner.common.b.c cVar = dVar.a;
if (cVar != null) {
cVar.e();
}
dVar.h();
}
public void a(String str) {
if (this.b == null || e()) {
return;
}
this.z.removeCallbacks(this.A);
com.mbridge.msdk.mbbanner.common.b.c cVar = this.a;
if (cVar != null) {
cVar.a(str);
}
k.a(com.mbridge.msdk.foundation.controller.c.q().c(), this.b, this.e, str);
}
public final void a() {
h();
if (this.a != null) {
this.a = null;
}
MBBannerWebView mBBannerWebView = this.i;
if (mBBannerWebView != null) {
mBBannerWebView.setWebViewListener(null);
}
if (this.F != null) {
this.F = null;
}
ImageView imageView = this.j;
if (imageView != null) {
imageView.setOnClickListener(null);
}
ImageView imageView2 = this.h;
if (imageView2 != null) {
imageView2.setOnClickListener(null);
}
MBBannerView mBBannerView = this.c;
if (mBBannerView != null) {
mBBannerView.removeAllViews();
}
MBBannerWebView mBBannerWebView2 = this.i;
if (mBBannerWebView2 != null) {
mBBannerWebView2.release();
}
com.mbridge.msdk.mbbanner.common.communication.a aVar = this.w;
if (aVar != null) {
aVar.a();
}
if (this.E != null) {
this.E = null;
}
com.mbridge.msdk.foundation.d.b.a().c(this.e);
}
public final void b(boolean z) {
this.l = z;
d();
if (z) {
return;
}
CampaignEx campaignEx = this.b;
String str = this.e;
if (campaignEx != null) {
String a = com.mbridge.msdk.mbsignalcommon.mraid.c.a(campaignEx.getId());
if (TextUtils.isEmpty(a)) {
return;
}
new com.mbridge.msdk.foundation.same.report.i(com.mbridge.msdk.foundation.controller.c.q().c()).b(campaignEx.getRequestId(), campaignEx.getRequestIdNotice(), campaignEx.getId(), str, a, campaignEx.isBidCampaign());
com.mbridge.msdk.mbsignalcommon.mraid.c.b(campaignEx.getId());
}
}
private void b(CampaignEx campaignEx, Context context, String str) {
if (campaignEx != null) {
try {
if (TextUtils.isEmpty(campaignEx.getOnlyImpressionURL())) {
return;
}
com.mbridge.msdk.click.b.a(context, campaignEx, str, campaignEx.getOnlyImpressionURL(), false, true, com.mbridge.msdk.click.a.a.h);
} catch (Throwable th) {
af.b("BannerShowManager", th.getMessage());
}
}
}
private void a(CampaignEx campaignEx, Context context, String str) {
if (campaignEx != null) {
try {
List<String> pv_urls = campaignEx.getPv_urls();
if (pv_urls == null || pv_urls.size() <= 0) {
return;
}
Iterator<String> it = pv_urls.iterator();
while (it.hasNext()) {
com.mbridge.msdk.click.b.a(context, campaignEx, str, it.next(), false, true);
}
} catch (Throwable th) {
af.b("BannerShowManager", th.getMessage());
}
}
}
public void a(String str, int i) {
if (this.b != null) {
com.mbridge.msdk.mbbanner.common.d.a.a(com.mbridge.msdk.mbbanner.common.a.a.a().c(this.b.getId()).b(this.e).d(this.b.getRequestId()).e(this.b.getRequestIdNotice()).g(str).a(i).a(this.b.isBidCampaign()), this.e);
}
}
public final void a(int i, int i5, int i6, int i7) {
if (i == i6 && i5 == i7) {
return;
}
MBBannerWebView mBBannerWebView = this.i;
af.b("BannerCallJS", "fireOnBannerViewSizeChange");
try {
com.mbridge.msdk.mbsignalcommon.mraid.a.a().a(mBBannerWebView, i, i5);
} catch (Throwable th) {
af.b("BannerCallJS", "fireOnBannerViewSizeChange", th);
}
}
public final void a(com.mbridge.msdk.foundation.entity.CampaignUnit r5) {
throw new UnsupportedOperationException("Method not decompiled: com.mbridge.msdk.mbbanner.common.c.d.a(com.mbridge.msdk.foundation.entity.CampaignUnit):void");
}
private void d(boolean z) {
if (this.c != null) {
FeedBackButton b = com.mbridge.msdk.foundation.d.b.a().b(this.e);
if (com.mbridge.msdk.foundation.d.b.a().b() && z && b != null) {
ViewGroup viewGroup = (ViewGroup) b.getParent();
if (viewGroup != null) {
viewGroup.removeView(b);
}
b.setVisibility(0);
RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) b.getLayoutParams();
if (layoutParams == null) {
layoutParams = new RelativeLayout.LayoutParams(com.mbridge.msdk.foundation.d.b.b, com.mbridge.msdk.foundation.d.b.a);
}
layoutParams.addRule(12);
b.setLayoutParams(layoutParams);
this.c.addView(b);
}
com.mbridge.msdk.foundation.d.b.a().a(this.e, new com.mbridge.msdk.foundation.d.a() {
public final void a() {
String str;
d.this.c.onPause();
try {
JSONObject jSONObject = new JSONObject();
if (com.mbridge.msdk.foundation.controller.c.q().c() != null) {
jSONObject.put("status", 1);
}
str = jSONObject.toString();
} catch (Throwable th) {
af.b("BannerShowManager", th.getMessage(), th);
str = "";
}
i.a().a((WebView) d.this.i, "onFeedbackAlertStatusNotify", Base64.encodeToString(str.getBytes(), 2));
}
public final void b() {
String str;
d.this.c.onResume();
try {
JSONObject jSONObject = new JSONObject();
if (com.mbridge.msdk.foundation.controller.c.q().c() != null) {
jSONObject.put("status", 2);
}
str = jSONObject.toString();
} catch (Throwable th) {
af.b("BannerShowManager", th.getMessage(), th);
str = "";
}
i.a().a((WebView) d.this.i, "onFeedbackAlertStatusNotify", Base64.encodeToString(str.getBytes(), 2));
}
public final void a(String str) {
String str2;
d.this.c.onResume();
try {
JSONObject jSONObject = new JSONObject();
if (com.mbridge.msdk.foundation.controller.c.q().c() != null) {
jSONObject.put("status", 2);
}
str2 = jSONObject.toString();
} catch (Throwable th) {
af.b("BannerShowManager", th.getMessage(), th);
str2 = "";
}
i.a().a((WebView) d.this.i, "onFeedbackAlertStatusNotify", Base64.encodeToString(str2.getBytes(), 2));
}
});
this.b.setCampaignUnitId(this.e);
com.mbridge.msdk.foundation.d.b.a().a(this.e, this.b);
}
}
public static void d(d dVar) {
ImageView imageView;
if (dVar.f52g && (imageView = dVar.j) != null && imageView.getVisibility() == 0) {
dVar.j.setVisibility(8);
dVar.j.setOnClickListener(null);
if (dVar.c == null || dVar.j.getParent() == null) {
return;
}
dVar.c.removeView(dVar.j);
}
}
}