- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1188 lines
43 KiB
Java
1188 lines
43 KiB
Java
package com.mbridge.msdk.video.module;
|
|
|
|
import android.content.Context;
|
|
import android.content.res.Configuration;
|
|
import android.os.Handler;
|
|
import android.os.Looper;
|
|
import android.text.TextUtils;
|
|
import android.util.AttributeSet;
|
|
import android.util.Base64;
|
|
import android.view.View;
|
|
import android.view.ViewGroup;
|
|
import android.webkit.WebView;
|
|
import android.widget.RelativeLayout;
|
|
import com.mbridge.msdk.MBridgeConstans;
|
|
import com.mbridge.msdk.foundation.entity.CampaignEx;
|
|
import com.mbridge.msdk.foundation.entity.n;
|
|
import com.mbridge.msdk.foundation.same.report.d.d;
|
|
import com.mbridge.msdk.foundation.same.report.d.e;
|
|
import com.mbridge.msdk.foundation.same.report.g;
|
|
import com.mbridge.msdk.foundation.tools.af;
|
|
import com.mbridge.msdk.foundation.tools.ak;
|
|
import com.mbridge.msdk.foundation.tools.aq;
|
|
import com.mbridge.msdk.foundation.tools.s;
|
|
import com.mbridge.msdk.video.dynview.moffer.a;
|
|
import com.mbridge.msdk.video.dynview.widget.MBridgeOrderCampView;
|
|
import com.mbridge.msdk.video.module.a.a.i;
|
|
import com.mbridge.msdk.video.module.a.a.k;
|
|
import com.mbridge.msdk.video.module.a.a.l;
|
|
import com.mbridge.msdk.video.signal.f;
|
|
import com.mbridge.msdk.video.signal.factory.b;
|
|
import com.mbridge.msdk.video.signal.h;
|
|
import com.vungle.ads.internal.signals.SignalKey;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class MBridgeContainerView extends MBridgeBaseView implements f, h {
|
|
private int A;
|
|
private boolean B;
|
|
private boolean C;
|
|
private boolean D;
|
|
private boolean E;
|
|
private boolean F;
|
|
private boolean G;
|
|
private int H;
|
|
private boolean I;
|
|
private boolean J;
|
|
private int K;
|
|
private int L;
|
|
private int M;
|
|
private int N;
|
|
private int O;
|
|
private String P;
|
|
private b Q;
|
|
private boolean R;
|
|
private boolean S;
|
|
private List<CampaignEx> T;
|
|
private MBridgePlayableView m;
|
|
private MBridgeClickCTAView n;
|
|
private MBridgeClickMiniCardView o;
|
|
private MBridgeNativeEndCardView p;
|
|
private MBridgeH5EndCardView q;
|
|
private MBridgeVastEndCardView r;
|
|
private MBridgeLandingPageView s;
|
|
private MBridgeVideoEndCoverView t;
|
|
private MBridgeAlertWebview u;
|
|
private MBridgeOrderCampView v;
|
|
private String w;
|
|
private int x;
|
|
private int y;
|
|
private int z;
|
|
|
|
public void addOrderViewData(List<CampaignEx> list) {
|
|
if (list == null) {
|
|
return;
|
|
}
|
|
this.T = list;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.f
|
|
public boolean endCardShowing() {
|
|
return this.B;
|
|
}
|
|
|
|
public MBridgeH5EndCardView getH5EndCardView() {
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = this.q;
|
|
return mBridgeH5EndCardView == null ? this.m : mBridgeH5EndCardView;
|
|
}
|
|
|
|
public boolean getShowingTransparent() {
|
|
return this.D;
|
|
}
|
|
|
|
public String getUnitID() {
|
|
return this.w;
|
|
}
|
|
|
|
public int getVideoInteractiveType() {
|
|
return this.x;
|
|
}
|
|
|
|
public int getVideoSkipTime() {
|
|
return this.H;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.f
|
|
public boolean miniCardShowing() {
|
|
return this.C;
|
|
}
|
|
|
|
public void setCloseDelayTime(int i) {
|
|
this.z = i;
|
|
}
|
|
|
|
public void setEndscreenType(int i) {
|
|
this.y = i;
|
|
}
|
|
|
|
public void setJSFactory(b bVar) {
|
|
this.Q = bVar;
|
|
}
|
|
|
|
public void setPlayCloseBtnTm(int i) {
|
|
this.A = i;
|
|
}
|
|
|
|
public void setRewardStatus(boolean z) {
|
|
this.J = z;
|
|
}
|
|
|
|
public void setShowingTransparent(boolean z) {
|
|
this.D = z;
|
|
}
|
|
|
|
public void setUnitID(String str) {
|
|
this.w = str;
|
|
}
|
|
|
|
public void setVideoSkipTime(int i) {
|
|
this.H = i;
|
|
}
|
|
|
|
public MBridgeContainerView(Context context) {
|
|
super(context);
|
|
this.y = 1;
|
|
this.z = 1;
|
|
this.A = 1;
|
|
this.B = false;
|
|
this.C = false;
|
|
this.D = false;
|
|
this.E = true;
|
|
this.F = false;
|
|
this.G = false;
|
|
this.I = false;
|
|
this.J = false;
|
|
this.R = false;
|
|
this.S = false;
|
|
this.T = new ArrayList();
|
|
}
|
|
|
|
public MBridgeContainerView(Context context, AttributeSet attributeSet) {
|
|
super(context, attributeSet);
|
|
this.y = 1;
|
|
this.z = 1;
|
|
this.A = 1;
|
|
this.B = false;
|
|
this.C = false;
|
|
this.D = false;
|
|
this.E = true;
|
|
this.F = false;
|
|
this.G = false;
|
|
this.I = false;
|
|
this.J = false;
|
|
this.R = false;
|
|
this.S = false;
|
|
this.T = new ArrayList();
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.module.MBridgeBaseView
|
|
public void init(Context context) {
|
|
setVisibility(0);
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.module.MBridgeBaseView, android.view.View
|
|
public void onConfigurationChanged(Configuration configuration) {
|
|
super.onConfigurationChanged(configuration);
|
|
MBridgeBaseView[] mBridgeBaseViewArr = {this.m, this.n, this.o, this.p, this.q, this.r, this.s, this.t};
|
|
for (int i = 0; i < 8; i++) {
|
|
MBridgeBaseView mBridgeBaseView = mBridgeBaseViewArr[i];
|
|
if (mBridgeBaseView != null && (mBridgeBaseView instanceof MBridgeClickMiniCardView)) {
|
|
mBridgeBaseView.onSelfConfigurationChanged(configuration);
|
|
} else if (mBridgeBaseView != null && mBridgeBaseView.getVisibility() == 0 && mBridgeBaseView.getParent() != null && !isLast()) {
|
|
mBridgeBaseView.onSelfConfigurationChanged(configuration);
|
|
}
|
|
}
|
|
}
|
|
|
|
public void preLoadData(final b bVar) {
|
|
this.Q = bVar;
|
|
CampaignEx campaignEx = this.b;
|
|
if (campaignEx != null) {
|
|
if (campaignEx.getPlayable_ads_without_video() != 2) {
|
|
b(this.x);
|
|
if (this.b.isDynamicView()) {
|
|
try {
|
|
a(bVar, Integer.valueOf(this.b.getVideo_end_type()));
|
|
} catch (Throwable th) {
|
|
af.b(MBridgeBaseView.TAG, th.getMessage());
|
|
new Handler(Looper.getMainLooper()).postAtFrontOfQueue(new Runnable() { // from class: com.mbridge.msdk.video.module.MBridgeContainerView.1
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
MBridgeContainerView mBridgeContainerView = MBridgeContainerView.this;
|
|
mBridgeContainerView.a(bVar, Integer.valueOf(mBridgeContainerView.b.getVideo_end_type()));
|
|
}
|
|
});
|
|
}
|
|
if (!ak.l(this.b.getendcard_url())) {
|
|
try {
|
|
String a = aq.a(this.b.getendcard_url(), "mof");
|
|
if (!TextUtils.isEmpty(a) && Integer.parseInt(a) == 1) {
|
|
a.a().a(this.b, 2);
|
|
}
|
|
} catch (Exception e) {
|
|
af.b(MBridgeBaseView.TAG, e.getMessage());
|
|
}
|
|
}
|
|
} else {
|
|
new Handler(Looper.getMainLooper()).postDelayed(new Runnable() { // from class: com.mbridge.msdk.video.module.MBridgeContainerView.2
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
MBridgeContainerView mBridgeContainerView = MBridgeContainerView.this;
|
|
mBridgeContainerView.a(bVar, Integer.valueOf(mBridgeContainerView.b.getVideo_end_type()));
|
|
}
|
|
}, getVideoSkipTime());
|
|
}
|
|
} else {
|
|
if (this.m == null) {
|
|
this.m = new MBridgePlayableView(this.a);
|
|
}
|
|
this.m.setCloseDelayShowTime(this.z);
|
|
this.m.setPlayCloseBtnTm(this.A);
|
|
this.m.setCampaign(this.b);
|
|
this.m.setNotifyListener(new i(this.notifyListener) { // from class: com.mbridge.msdk.video.module.MBridgeContainerView.4
|
|
@Override // com.mbridge.msdk.video.module.a.a.i, com.mbridge.msdk.video.module.a.a.f, com.mbridge.msdk.video.module.a.a
|
|
public final void a(int i, Object obj) {
|
|
super.a(i, obj);
|
|
if (i == 100) {
|
|
MBridgeContainerView.this.webviewshow();
|
|
MBridgeContainerView mBridgeContainerView = MBridgeContainerView.this;
|
|
mBridgeContainerView.onConfigurationChanged(mBridgeContainerView.getResources().getConfiguration());
|
|
n nVar = new n();
|
|
nVar.f(MBridgeContainerView.this.b.getRequestId());
|
|
nVar.g(MBridgeContainerView.this.b.getRequestIdNotice());
|
|
nVar.e(MBridgeContainerView.this.b.getId());
|
|
nVar.d(MBridgeContainerView.this.b.isMraid() ? n.a : n.b);
|
|
MBridgeContainerView mBridgeContainerView2 = MBridgeContainerView.this;
|
|
g.d(nVar, mBridgeContainerView2.a, mBridgeContainerView2.w);
|
|
}
|
|
}
|
|
});
|
|
this.m.preLoadData(bVar);
|
|
}
|
|
g();
|
|
}
|
|
}
|
|
|
|
public void showPlayableView() {
|
|
if (this.b == null || this.G) {
|
|
return;
|
|
}
|
|
removeAllViews();
|
|
setMatchParent();
|
|
if (this.m == null) {
|
|
preLoadData(this.Q);
|
|
}
|
|
addView(this.m);
|
|
MBridgePlayableView mBridgePlayableView = this.m;
|
|
if (mBridgePlayableView != null) {
|
|
mBridgePlayableView.setUnitId(this.w);
|
|
CampaignEx campaignEx = this.b;
|
|
if (campaignEx != null && campaignEx.isMraid() && this.b.getPlayable_ads_without_video() == 2) {
|
|
this.m.setCloseVisible(0);
|
|
}
|
|
this.m.setNotchValue(this.P, this.K, this.L, this.M, this.N);
|
|
}
|
|
this.S = true;
|
|
bringToFront();
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.f
|
|
public boolean showAlertWebView() {
|
|
MBridgeAlertWebview mBridgeAlertWebview = this.u;
|
|
if (mBridgeAlertWebview == null || !mBridgeAlertWebview.isLoadSuccess()) {
|
|
return false;
|
|
}
|
|
setMatchParent();
|
|
ViewGroup viewGroup = (ViewGroup) getParent();
|
|
if (viewGroup.indexOfChild(this) != viewGroup.getChildCount() - 1 && !this.S) {
|
|
removeAllViews();
|
|
bringToFront();
|
|
this.R = true;
|
|
}
|
|
MBridgeClickMiniCardView mBridgeClickMiniCardView = this.o;
|
|
if (mBridgeClickMiniCardView != null && mBridgeClickMiniCardView.getParent() != null) {
|
|
return false;
|
|
}
|
|
if (this.u == null) {
|
|
g();
|
|
}
|
|
MBridgeAlertWebview mBridgeAlertWebview2 = this.u;
|
|
if (mBridgeAlertWebview2 != null && mBridgeAlertWebview2.getParent() != null) {
|
|
removeView(this.u);
|
|
}
|
|
addView(this.u);
|
|
setBackgroundColor(0);
|
|
this.u.webviewshow();
|
|
return true;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.f
|
|
public void showVideoClickView(int i) {
|
|
CampaignEx campaignEx;
|
|
if (this.b != null) {
|
|
if (i == -1) {
|
|
if (isLast() || endCardShowing()) {
|
|
return;
|
|
}
|
|
h();
|
|
return;
|
|
}
|
|
if (i == 1) {
|
|
if (this.B) {
|
|
return;
|
|
}
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = this.q;
|
|
if (mBridgeH5EndCardView != null && mBridgeH5EndCardView.getParent() != null) {
|
|
removeView(this.q);
|
|
}
|
|
MBridgeClickMiniCardView mBridgeClickMiniCardView = this.o;
|
|
if (mBridgeClickMiniCardView != null && mBridgeClickMiniCardView.getParent() != null) {
|
|
removeView(this.o);
|
|
}
|
|
MBridgeClickCTAView mBridgeClickCTAView = this.n;
|
|
if (mBridgeClickCTAView == null || mBridgeClickCTAView.getParent() == null) {
|
|
try {
|
|
CampaignEx campaignEx2 = this.b;
|
|
if (campaignEx2 != null && campaignEx2.getPlayable_ads_without_video() == 1) {
|
|
this.S = true;
|
|
if (this.n == null) {
|
|
b(-1);
|
|
}
|
|
if (this.n != null && ((campaignEx = this.b) == null || !campaignEx.isDynamicView())) {
|
|
RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(-2, -2);
|
|
layoutParams.addRule(12, -1);
|
|
addView(this.n, 0, layoutParams);
|
|
}
|
|
}
|
|
} catch (Exception e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
if (isLast()) {
|
|
bringToFront();
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
if (i != 2) {
|
|
return;
|
|
}
|
|
MBridgeClickCTAView mBridgeClickCTAView2 = this.n;
|
|
if (mBridgeClickCTAView2 != null && mBridgeClickCTAView2.getParent() != null) {
|
|
removeView(this.n);
|
|
}
|
|
MBridgeAlertWebview mBridgeAlertWebview = this.u;
|
|
if (mBridgeAlertWebview == null || mBridgeAlertWebview.getParent() == null) {
|
|
MBridgeClickMiniCardView mBridgeClickMiniCardView2 = this.o;
|
|
if (mBridgeClickMiniCardView2 == null || mBridgeClickMiniCardView2.getParent() == null) {
|
|
try {
|
|
CampaignEx campaignEx3 = this.b;
|
|
if (campaignEx3 != null && campaignEx3.getPlayable_ads_without_video() == 1) {
|
|
setMatchParent();
|
|
f();
|
|
}
|
|
} catch (Exception e2) {
|
|
e2.printStackTrace();
|
|
}
|
|
}
|
|
if (miniCardLoaded()) {
|
|
MBridgeH5EndCardView mBridgeH5EndCardView2 = this.q;
|
|
if (mBridgeH5EndCardView2 != null && mBridgeH5EndCardView2.getParent() != null) {
|
|
removeView(this.q);
|
|
}
|
|
this.notifyListener.a(112, "");
|
|
CampaignEx campaignEx4 = this.b;
|
|
if (campaignEx4 != null && !campaignEx4.isHasReportAdTrackPause()) {
|
|
this.b.setHasReportAdTrackPause(true);
|
|
com.mbridge.msdk.video.module.b.b.f(this.a, this.b);
|
|
}
|
|
if (this.D) {
|
|
this.notifyListener.a(115, "");
|
|
} else {
|
|
this.S = true;
|
|
bringToFront();
|
|
webviewshow();
|
|
onConfigurationChanged(getResources().getConfiguration());
|
|
}
|
|
this.C = true;
|
|
return;
|
|
}
|
|
h();
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.f
|
|
public void showEndcard(int i) {
|
|
CampaignEx campaignEx = this.b;
|
|
if (campaignEx != null) {
|
|
if (i == 1) {
|
|
this.notifyListener.a(104, "");
|
|
} else if (i == 100) {
|
|
if (campaignEx.getPlayable_ads_without_video() == 2) {
|
|
this.G = true;
|
|
}
|
|
a(this.m);
|
|
setMatchParent();
|
|
e();
|
|
} else if (i == 3) {
|
|
removeAllViews();
|
|
setMatchParent();
|
|
if (this.r == null) {
|
|
a(this.Q, 3);
|
|
}
|
|
RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(-1, -1);
|
|
layoutParams.addRule(13, -1);
|
|
addView(this.r, layoutParams);
|
|
this.r.notifyShowListener();
|
|
this.S = true;
|
|
bringToFront();
|
|
} else if (i == 4) {
|
|
this.notifyListener.a(113, "");
|
|
removeAllViews();
|
|
setMatchParent();
|
|
if (this.s == null) {
|
|
a(this.Q, 4);
|
|
}
|
|
this.s.setUnitId(this.w);
|
|
this.s.preLoadData(this.Q);
|
|
addView(this.s);
|
|
this.S = true;
|
|
bringToFront();
|
|
} else if (i == 5) {
|
|
this.notifyListener.a(106, "");
|
|
} else {
|
|
removeAllViews();
|
|
setMatchParent();
|
|
this.S = true;
|
|
bringToFront();
|
|
a();
|
|
this.notifyListener.a(117, "");
|
|
}
|
|
}
|
|
this.B = true;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.f
|
|
public void showVideoEndCover() {
|
|
removeAllViews();
|
|
setMatchParent();
|
|
MBridgeVideoEndCoverView mBridgeVideoEndCoverView = this.t;
|
|
if (mBridgeVideoEndCoverView == null) {
|
|
b bVar = this.Q;
|
|
this.Q = bVar;
|
|
if (mBridgeVideoEndCoverView == null) {
|
|
MBridgeVideoEndCoverView mBridgeVideoEndCoverView2 = new MBridgeVideoEndCoverView(this.a);
|
|
this.t = mBridgeVideoEndCoverView2;
|
|
mBridgeVideoEndCoverView2.setCampaign(this.b);
|
|
this.t.setNotifyListener(new i(this.notifyListener));
|
|
this.t.preLoadData(bVar);
|
|
}
|
|
}
|
|
addView(this.t);
|
|
onConfigurationChanged(getResources().getConfiguration());
|
|
this.S = true;
|
|
bringToFront();
|
|
}
|
|
|
|
public void showOrderCampView() {
|
|
MBridgeOrderCampView mBridgeOrderCampView = new MBridgeOrderCampView(this.a);
|
|
this.v = mBridgeOrderCampView;
|
|
mBridgeOrderCampView.setCampaignExes(this.T);
|
|
com.mbridge.msdk.video.module.a.a aVar = this.notifyListener;
|
|
if (aVar != null && (aVar instanceof k)) {
|
|
((k) aVar).a(this.T);
|
|
}
|
|
this.v.setNotifyListener(new i(this.notifyListener));
|
|
this.v.setRewarded(this.J);
|
|
this.v.setNotchPadding(this.K, this.L, this.M, this.N);
|
|
this.v.setCampOrderViewBuildCallback(new com.mbridge.msdk.video.dynview.e.b() { // from class: com.mbridge.msdk.video.module.MBridgeContainerView.3
|
|
@Override // com.mbridge.msdk.video.dynview.e.b
|
|
public final void a() {
|
|
com.mbridge.msdk.video.module.a.a aVar2 = MBridgeContainerView.this.notifyListener;
|
|
if (aVar2 != null) {
|
|
aVar2.a(117, "");
|
|
}
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.dynview.e.b
|
|
public final void b() {
|
|
if (MBridgeContainerView.this.b.getAdSpaceT() == 2) {
|
|
MBridgeContainerView.this.showVideoEndCover();
|
|
} else {
|
|
MBridgeContainerView mBridgeContainerView = MBridgeContainerView.this;
|
|
mBridgeContainerView.showEndcard(mBridgeContainerView.b.getVideo_end_type());
|
|
}
|
|
}
|
|
});
|
|
this.v.createView(this);
|
|
}
|
|
|
|
public boolean miniCardLoaded() {
|
|
MBridgeClickMiniCardView mBridgeClickMiniCardView = this.o;
|
|
return mBridgeClickMiniCardView != null && mBridgeClickMiniCardView.isLoadSuccess();
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.h
|
|
public void toggleCloseBtn(int i) {
|
|
MBridgePlayableView mBridgePlayableView = this.m;
|
|
if (mBridgePlayableView != null) {
|
|
mBridgePlayableView.toggleCloseBtn(i);
|
|
}
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = this.q;
|
|
if (mBridgeH5EndCardView != null) {
|
|
mBridgeH5EndCardView.toggleCloseBtn(i);
|
|
}
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.h
|
|
public void notifyCloseBtn(int i) {
|
|
MBridgePlayableView mBridgePlayableView = this.m;
|
|
if (mBridgePlayableView != null) {
|
|
mBridgePlayableView.notifyCloseBtn(i);
|
|
}
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = this.q;
|
|
if (mBridgeH5EndCardView != null) {
|
|
mBridgeH5EndCardView.notifyCloseBtn(i);
|
|
}
|
|
}
|
|
|
|
public void triggerCloseBtn(String str) {
|
|
try {
|
|
e eVar = new e();
|
|
eVar.a("type", 2);
|
|
d.a().a("2000152", eVar);
|
|
d.a().a("2000134", this.b);
|
|
} catch (Throwable th) {
|
|
if (MBridgeConstans.DEBUG) {
|
|
th.printStackTrace();
|
|
}
|
|
}
|
|
if (this.b != null) {
|
|
this.notifyListener.a(122, "");
|
|
this.notifyListener.a(104, "");
|
|
}
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.f
|
|
public void readyStatus(int i) {
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = this.q;
|
|
if (mBridgeH5EndCardView != null) {
|
|
mBridgeH5EndCardView.readyStatus(i);
|
|
}
|
|
}
|
|
|
|
public void handlerPlayableException(String str) {
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = this.q;
|
|
if (mBridgeH5EndCardView != null) {
|
|
mBridgeH5EndCardView.handlerPlayableException(str);
|
|
if (!this.I) {
|
|
return;
|
|
}
|
|
}
|
|
a();
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.f
|
|
public void showMiniCard(int i, int i2, int i3, int i4, int i5) {
|
|
MBridgeClickMiniCardView mBridgeClickMiniCardView = this.o;
|
|
if (mBridgeClickMiniCardView != null) {
|
|
mBridgeClickMiniCardView.setMiniCardLocation(i, i2, i3, i4);
|
|
this.o.setRadius(i5);
|
|
this.o.setCloseVisible(8);
|
|
this.o.setClickable(false);
|
|
removeAllViews();
|
|
setMatchParent();
|
|
this.S = true;
|
|
bringToFront();
|
|
f();
|
|
if (this.F) {
|
|
return;
|
|
}
|
|
this.F = true;
|
|
this.notifyListener.a(109, "");
|
|
this.notifyListener.a(117, "");
|
|
}
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.f
|
|
public void resizeMiniCard(int i, int i2, int i3) {
|
|
MBridgeClickMiniCardView mBridgeClickMiniCardView = this.o;
|
|
if (mBridgeClickMiniCardView != null) {
|
|
mBridgeClickMiniCardView.resizeMiniCard(i, i2);
|
|
this.o.setRadius(i3);
|
|
removeAllViews();
|
|
setMatchParent();
|
|
this.S = true;
|
|
bringToFront();
|
|
f();
|
|
}
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.f
|
|
public void configurationChanged(int i, int i2, int i3) {
|
|
MBridgeClickMiniCardView mBridgeClickMiniCardView = this.o;
|
|
if (mBridgeClickMiniCardView == null || mBridgeClickMiniCardView.getVisibility() != 0) {
|
|
return;
|
|
}
|
|
this.o.resizeMiniCard(i, i2);
|
|
}
|
|
|
|
public void webviewshow() {
|
|
try {
|
|
e eVar = new e();
|
|
eVar.a("type", 3);
|
|
d.a().a("2000133", this.b, eVar);
|
|
} catch (Exception unused) {
|
|
}
|
|
MBridgeH5EndCardView[] mBridgeH5EndCardViewArr = {this.m, this.o, this.q, this.u};
|
|
for (int i = 0; i < 4; i++) {
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = mBridgeH5EndCardViewArr[i];
|
|
if (mBridgeH5EndCardView != null && mBridgeH5EndCardView.getVisibility() == 0 && mBridgeH5EndCardView.getParent() != null && !isLast()) {
|
|
mBridgeH5EndCardView.webviewshow();
|
|
}
|
|
}
|
|
}
|
|
|
|
public void install(CampaignEx campaignEx) {
|
|
this.notifyListener.a(105, campaignEx);
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.module.MBridgeBaseView
|
|
public void setNotifyListener(com.mbridge.msdk.video.module.a.a aVar) {
|
|
super.setNotifyListener(aVar);
|
|
MBridgeBaseView[] mBridgeBaseViewArr = {this.m, this.n, this.o, this.p, this.q, this.r, this.s, this.t};
|
|
for (int i = 0; i < 8; i++) {
|
|
MBridgeBaseView mBridgeBaseView = mBridgeBaseViewArr[i];
|
|
if (mBridgeBaseView != null) {
|
|
if (mBridgeBaseView instanceof MBridgeClickMiniCardView) {
|
|
mBridgeBaseView.setNotifyListener(new com.mbridge.msdk.video.module.a.a.g(this.o, aVar));
|
|
} else {
|
|
mBridgeBaseView.setNotifyListener(new i(aVar));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.module.MBridgeBaseView
|
|
public void defaultShow() {
|
|
super.defaultShow();
|
|
}
|
|
|
|
@Override // android.view.ViewGroup
|
|
public void addView(View view) {
|
|
if (view != null) {
|
|
a(view);
|
|
super.addView(view);
|
|
} else {
|
|
af.b(MBridgeBaseView.TAG, "view is null");
|
|
}
|
|
}
|
|
|
|
@Override // android.view.ViewGroup, android.view.ViewManager
|
|
public void addView(View view, ViewGroup.LayoutParams layoutParams) {
|
|
if (view != null) {
|
|
a(view);
|
|
super.addView(view, layoutParams);
|
|
} else {
|
|
af.b(MBridgeBaseView.TAG, "view is null");
|
|
}
|
|
}
|
|
|
|
public boolean canBackPress() {
|
|
if (this.p != null) {
|
|
return false;
|
|
}
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = this.q;
|
|
if (mBridgeH5EndCardView != null) {
|
|
return mBridgeH5EndCardView.canBackPress();
|
|
}
|
|
MBridgeLandingPageView mBridgeLandingPageView = this.s;
|
|
if (mBridgeLandingPageView != null) {
|
|
return mBridgeLandingPageView.canBackPress();
|
|
}
|
|
MBridgePlayableView mBridgePlayableView = this.m;
|
|
if (mBridgePlayableView != null) {
|
|
return mBridgePlayableView.canBackPress();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public boolean endcardIsPlayable() {
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = this.q;
|
|
return mBridgeH5EndCardView != null && mBridgeH5EndCardView.isPlayable();
|
|
}
|
|
|
|
public void setVideoInteractiveType(int i) {
|
|
CampaignEx campaignEx = this.b;
|
|
if (campaignEx == null || !campaignEx.isDynamicView()) {
|
|
this.x = i;
|
|
return;
|
|
}
|
|
int a = com.mbridge.msdk.video.dynview.i.a.a(this.b);
|
|
if (a == 100) {
|
|
this.x = i;
|
|
} else {
|
|
this.x = a;
|
|
}
|
|
}
|
|
|
|
private void a(View view) {
|
|
if (view != null) {
|
|
try {
|
|
ViewGroup viewGroup = (ViewGroup) view.getParent();
|
|
if (viewGroup != null) {
|
|
viewGroup.removeView(view);
|
|
}
|
|
} catch (Throwable th) {
|
|
af.b(MBridgeBaseView.TAG, th.getMessage(), th);
|
|
}
|
|
}
|
|
}
|
|
|
|
private void a() {
|
|
CampaignEx campaignEx = this.b;
|
|
if (campaignEx != null) {
|
|
boolean isDynamicView = campaignEx.isDynamicView();
|
|
boolean l = ak.l(this.b.getendcard_url());
|
|
if (isDynamicView && !l && !this.b.isMraid()) {
|
|
e();
|
|
return;
|
|
}
|
|
}
|
|
if (this.y == 2 && !this.I) {
|
|
b();
|
|
} else {
|
|
e();
|
|
}
|
|
}
|
|
|
|
private void b() {
|
|
if (this.q == null) {
|
|
a(this.Q, 2);
|
|
}
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = this.q;
|
|
if (mBridgeH5EndCardView != null && mBridgeH5EndCardView.isLoadSuccess()) {
|
|
this.I = true;
|
|
addView(this.q);
|
|
webviewshow();
|
|
onConfigurationChanged(getResources().getConfiguration());
|
|
this.q.excuteTask();
|
|
this.q.setNotchValue(this.P, this.K, this.L, this.M, this.N);
|
|
n nVar = new n();
|
|
nVar.f(this.b.getRequestId());
|
|
nVar.g(this.b.getRequestIdNotice());
|
|
nVar.e(this.b.getId());
|
|
nVar.d(this.b.isMraid() ? n.a : n.b);
|
|
g.d(nVar, this.a, this.w);
|
|
} else {
|
|
e();
|
|
MBridgeH5EndCardView mBridgeH5EndCardView2 = this.q;
|
|
if (mBridgeH5EndCardView2 != null) {
|
|
mBridgeH5EndCardView2.reportRenderResult("timeout", 3);
|
|
this.q.setError(true);
|
|
}
|
|
}
|
|
MBridgeH5EndCardView mBridgeH5EndCardView3 = this.q;
|
|
if (mBridgeH5EndCardView3 != null) {
|
|
mBridgeH5EndCardView3.setUnitId(this.w);
|
|
}
|
|
}
|
|
|
|
private void e() {
|
|
this.y = 1;
|
|
if (this.p == null) {
|
|
a(this.Q, 2);
|
|
}
|
|
addView(this.p);
|
|
onConfigurationChanged(getResources().getConfiguration());
|
|
this.p.notifyShowListener();
|
|
this.S = true;
|
|
bringToFront();
|
|
}
|
|
|
|
private void f() {
|
|
if (this.o == null) {
|
|
b(-2);
|
|
}
|
|
RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(-1, -1);
|
|
layoutParams.addRule(13, -1);
|
|
if (this.D && this.E) {
|
|
this.E = false;
|
|
layoutParams.width = 1;
|
|
layoutParams.height = 1;
|
|
}
|
|
addView(this.o, layoutParams);
|
|
}
|
|
|
|
private void g() {
|
|
if (this.u == null) {
|
|
MBridgeAlertWebview mBridgeAlertWebview = new MBridgeAlertWebview(this.a);
|
|
this.u = mBridgeAlertWebview;
|
|
mBridgeAlertWebview.setUnitId(this.w);
|
|
this.u.setCampaign(this.b);
|
|
}
|
|
this.u.preLoadData(this.Q);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public void a(b bVar, Integer num) {
|
|
CampaignEx campaignEx;
|
|
com.mbridge.msdk.video.module.a.a aVar;
|
|
CampaignEx campaignEx2;
|
|
this.Q = bVar;
|
|
CampaignEx campaignEx3 = this.b;
|
|
if (campaignEx3 != null) {
|
|
if (num == null) {
|
|
num = Integer.valueOf(campaignEx3.getVideo_end_type());
|
|
}
|
|
if (!isLast()) {
|
|
h();
|
|
}
|
|
int intValue = num.intValue();
|
|
if (intValue != 1) {
|
|
if (intValue == 3) {
|
|
if (this.r == null) {
|
|
this.r = new MBridgeVastEndCardView(this.a);
|
|
}
|
|
this.r.setCampaign(this.b);
|
|
this.r.setNotifyListener(new l(this.notifyListener));
|
|
this.r.preLoadData(bVar);
|
|
return;
|
|
}
|
|
if (intValue == 4) {
|
|
if (this.s == null) {
|
|
this.s = new MBridgeLandingPageView(this.a);
|
|
}
|
|
this.s.setCampaign(this.b);
|
|
this.s.setNotifyListener(new i(this.notifyListener));
|
|
return;
|
|
}
|
|
if (intValue != 5) {
|
|
if (this.y == 2) {
|
|
boolean isDynamicView = this.b.isDynamicView();
|
|
boolean l = ak.l(this.b.getendcard_url());
|
|
if ((isDynamicView && !l && (campaignEx2 = this.b) != null && !campaignEx2.isMraid()) || (campaignEx = this.b) == null || campaignEx.getAdSpaceT() == 2) {
|
|
return;
|
|
}
|
|
if (this.q == null) {
|
|
this.q = new MBridgeH5EndCardView(this.a);
|
|
try {
|
|
e eVar = new e();
|
|
eVar.a("type", 3);
|
|
d.a().a("2000154", this.b, eVar);
|
|
} catch (Throwable th) {
|
|
af.b(MBridgeBaseView.TAG, th.getMessage());
|
|
}
|
|
}
|
|
if (this.b.getDynamicTempCode() == 5 && (aVar = this.notifyListener) != null && (aVar instanceof k)) {
|
|
((k) aVar).a(this.b);
|
|
}
|
|
this.q.setCampaign(this.b);
|
|
this.q.setCloseDelayShowTime(this.z);
|
|
this.q.setNotifyListener(new i(this.notifyListener));
|
|
this.q.setUnitId(this.w);
|
|
this.q.setNotchValue(this.P, this.K, this.L, this.M, this.N);
|
|
this.q.preLoadData(bVar);
|
|
if (this.D) {
|
|
return;
|
|
}
|
|
addView(this.q);
|
|
return;
|
|
}
|
|
CampaignEx campaignEx4 = this.b;
|
|
int b = (campaignEx4 == null || campaignEx4.getRewardTemplateMode() == null) ? 0 : this.b.getRewardTemplateMode().b();
|
|
if (this.p == null) {
|
|
CampaignEx campaignEx5 = this.b;
|
|
if (campaignEx5 != null && campaignEx5.isDynamicView()) {
|
|
i();
|
|
} else {
|
|
Context context = this.a;
|
|
CampaignEx campaignEx6 = this.b;
|
|
boolean z = campaignEx6 != null && campaignEx6.getAdSpaceT() == 2;
|
|
CampaignEx campaignEx7 = this.b;
|
|
MBridgeNativeEndCardView mBridgeNativeEndCardView = new MBridgeNativeEndCardView(context, null, false, -1, z, b, campaignEx7 != null ? campaignEx7.getMof_tplid() : 0);
|
|
this.p = mBridgeNativeEndCardView;
|
|
mBridgeNativeEndCardView.setCampaign(this.b);
|
|
}
|
|
}
|
|
this.p.setLayout();
|
|
if (this.b.isDynamicView()) {
|
|
if (a.a().a(this.b.getRequestId() + "_" + this.b.getId())) {
|
|
try {
|
|
a.a().a(this.p, this.b.getRequestId() + "_" + this.b.getId(), new i(this.notifyListener));
|
|
} catch (Exception e) {
|
|
af.b(MBridgeBaseView.TAG, e.getMessage());
|
|
}
|
|
} else {
|
|
try {
|
|
String a = aq.a(this.b.getendcard_url(), "mof");
|
|
if (!TextUtils.isEmpty(a) && Integer.parseInt(a) == 1) {
|
|
a.a().a(this.b, this.p, new i(this.notifyListener), 2);
|
|
}
|
|
} catch (Exception e2) {
|
|
af.b(MBridgeBaseView.TAG, e2.getMessage());
|
|
}
|
|
}
|
|
}
|
|
this.p.setUnitId(this.w);
|
|
this.p.setCloseBtnDelay(this.z);
|
|
this.p.setNotifyListener(new i(this.notifyListener));
|
|
this.p.preLoadData(bVar);
|
|
this.p.setNotchPadding(this.K, this.L, this.M, this.N);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public boolean isLast() {
|
|
ViewGroup viewGroup = (ViewGroup) getParent();
|
|
return viewGroup != null && viewGroup.indexOfChild(this) == 0;
|
|
}
|
|
|
|
private void h() {
|
|
this.C = false;
|
|
this.S = false;
|
|
ViewGroup viewGroup = (ViewGroup) getParent();
|
|
if (viewGroup != null) {
|
|
int i = 0;
|
|
for (int i2 = 0; i2 < viewGroup.getChildCount(); i2++) {
|
|
View childAt = viewGroup.getChildAt(i);
|
|
if (childAt instanceof MBridgeContainerView) {
|
|
i++;
|
|
} else {
|
|
viewGroup.bringChildToFront(childAt);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
private void b(int i) {
|
|
if (i != -3) {
|
|
if (i == -2) {
|
|
CampaignEx campaignEx = this.b;
|
|
if (campaignEx == null || campaignEx.getVideo_end_type() != 2) {
|
|
return;
|
|
}
|
|
if (this.o == null) {
|
|
this.o = new MBridgeClickMiniCardView(this.a);
|
|
}
|
|
this.o.setCampaign(this.b);
|
|
MBridgeClickMiniCardView mBridgeClickMiniCardView = this.o;
|
|
mBridgeClickMiniCardView.setNotifyListener(new com.mbridge.msdk.video.module.a.a.g(mBridgeClickMiniCardView, this.notifyListener));
|
|
this.o.preLoadData(this.Q);
|
|
setMatchParent();
|
|
f();
|
|
h();
|
|
return;
|
|
}
|
|
if (this.n == null) {
|
|
this.n = new MBridgeClickCTAView(this.a);
|
|
}
|
|
this.n.setCampaign(this.b);
|
|
this.n.setUnitId(this.w);
|
|
this.n.setNotifyListener(new i(this.notifyListener));
|
|
this.n.preLoadData(this.Q);
|
|
}
|
|
}
|
|
|
|
public CampaignEx getReSetCampaign() {
|
|
if (!this.b.isDynamicView() || !TextUtils.isEmpty(this.b.getendcard_url())) {
|
|
return null;
|
|
}
|
|
int size = this.T.size();
|
|
int i = 0;
|
|
int i2 = 0;
|
|
while (true) {
|
|
if (i2 < size) {
|
|
if (this.T.get(i2) != null && this.T.get(i2).getId() == this.b.getId()) {
|
|
i = i2 - 1;
|
|
break;
|
|
}
|
|
i2++;
|
|
} else {
|
|
break;
|
|
}
|
|
}
|
|
if (i < 0 || i >= size || this.T.get(i) == null) {
|
|
return null;
|
|
}
|
|
return this.T.get(i);
|
|
}
|
|
|
|
private void i() {
|
|
CampaignEx campaignEx = this.b;
|
|
if (campaignEx == null) {
|
|
return;
|
|
}
|
|
String str = campaignEx.getendcard_url();
|
|
int i = 404;
|
|
if (!TextUtils.isEmpty(str)) {
|
|
try {
|
|
i = Integer.parseInt(aq.a(str, "ecid"));
|
|
} catch (Throwable th) {
|
|
af.b(MBridgeBaseView.TAG, th.getMessage());
|
|
}
|
|
}
|
|
this.p = new MBridgeNativeEndCardView(this.a, null, true, i, this.b.getAdSpaceT() == 2, this.k, this.b.getMof_tplid());
|
|
if (this.b.getDynamicTempCode() == 5) {
|
|
com.mbridge.msdk.video.module.a.a aVar = this.notifyListener;
|
|
if (aVar != null && (aVar instanceof k)) {
|
|
((k) aVar).a(this.b);
|
|
}
|
|
this.p.setCampaign(this.b);
|
|
return;
|
|
}
|
|
this.p.setCampaign(this.b);
|
|
}
|
|
|
|
public void setMBridgeClickMiniCardViewTransparent() {
|
|
MBridgeClickMiniCardView mBridgeClickMiniCardView = this.o;
|
|
if (mBridgeClickMiniCardView != null) {
|
|
mBridgeClickMiniCardView.setMBridgeClickMiniCardViewTransparent();
|
|
this.o.setMBridgeClickMiniCardViewClickable(false);
|
|
}
|
|
}
|
|
|
|
public void onPlayableBackPress() {
|
|
MBridgePlayableView mBridgePlayableView = this.m;
|
|
if (mBridgePlayableView != null) {
|
|
mBridgePlayableView.onBackPress();
|
|
}
|
|
}
|
|
|
|
public void onMiniEndcardBackPress() {
|
|
if (this.C) {
|
|
this.notifyListener.a(SignalKey.EVENT_ID, "");
|
|
}
|
|
}
|
|
|
|
public void onEndcardBackPress() {
|
|
if (this.p != null || this.r != null) {
|
|
this.notifyListener.a(104, "");
|
|
try {
|
|
a.a().b();
|
|
return;
|
|
} catch (Exception e) {
|
|
af.b(MBridgeBaseView.TAG, e.getMessage());
|
|
return;
|
|
}
|
|
}
|
|
if (this.s != null) {
|
|
this.notifyListener.a(103, "");
|
|
return;
|
|
}
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = this.q;
|
|
if (mBridgeH5EndCardView != null) {
|
|
mBridgeH5EndCardView.onBackPress();
|
|
}
|
|
}
|
|
|
|
public void release() {
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = this.q;
|
|
if (mBridgeH5EndCardView != null) {
|
|
mBridgeH5EndCardView.release();
|
|
this.q = null;
|
|
}
|
|
MBridgePlayableView mBridgePlayableView = this.m;
|
|
if (mBridgePlayableView != null) {
|
|
mBridgePlayableView.release();
|
|
}
|
|
MBridgeLandingPageView mBridgeLandingPageView = this.s;
|
|
if (mBridgeLandingPageView != null) {
|
|
mBridgeLandingPageView.release();
|
|
}
|
|
MBridgeNativeEndCardView mBridgeNativeEndCardView = this.p;
|
|
if (mBridgeNativeEndCardView != null) {
|
|
mBridgeNativeEndCardView.clearMoreOfferBitmap();
|
|
this.p.release();
|
|
}
|
|
if (this.notifyListener != null) {
|
|
this.notifyListener = null;
|
|
}
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.f
|
|
public void hideAlertWebview() {
|
|
if (isLast()) {
|
|
return;
|
|
}
|
|
if (this.R && !this.S) {
|
|
h();
|
|
this.R = false;
|
|
}
|
|
MBridgeAlertWebview mBridgeAlertWebview = this.u;
|
|
if (mBridgeAlertWebview == null || mBridgeAlertWebview.getParent() == null) {
|
|
return;
|
|
}
|
|
removeView(this.u);
|
|
MBridgeClickCTAView mBridgeClickCTAView = this.n;
|
|
if (mBridgeClickCTAView == null || mBridgeClickCTAView.getParent() == null) {
|
|
return;
|
|
}
|
|
setWrapContent();
|
|
ViewGroup.LayoutParams layoutParams = getLayoutParams();
|
|
if (layoutParams instanceof RelativeLayout.LayoutParams) {
|
|
((RelativeLayout.LayoutParams) layoutParams).addRule(12, -1);
|
|
}
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.signal.f
|
|
public void ivRewardAdsWithoutVideo(String str) {
|
|
this.notifyListener.a(103, str);
|
|
}
|
|
|
|
public void setNotchPadding(int i, int i2, int i3, int i4, int i5) {
|
|
af.b(MBridgeBaseView.TAG, "NOTCH ContainerView " + String.format("%1s-%2s-%3s-%4s-%5s", Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf(i4), Integer.valueOf(i5), Integer.valueOf(i)));
|
|
this.O = i;
|
|
this.K = i2;
|
|
this.L = i3;
|
|
this.M = i4;
|
|
this.N = i5;
|
|
this.P = s.a(i, i2, i3, i4, i5);
|
|
MBridgeNativeEndCardView mBridgeNativeEndCardView = this.p;
|
|
if (mBridgeNativeEndCardView != null) {
|
|
mBridgeNativeEndCardView.setNotchPadding(i2, i3, i4, i5);
|
|
}
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = this.q;
|
|
if (mBridgeH5EndCardView != null && mBridgeH5EndCardView.p != null) {
|
|
mBridgeH5EndCardView.setNotchValue(this.P, i2, i3, i4, i5);
|
|
com.mbridge.msdk.mbsignalcommon.windvane.g.a().a((WebView) this.q.p, "oncutoutfetched", Base64.encodeToString(this.P.getBytes(), 0));
|
|
}
|
|
MBridgePlayableView mBridgePlayableView = this.m;
|
|
if (mBridgePlayableView != null && mBridgePlayableView.p != null) {
|
|
mBridgePlayableView.setNotchValue(this.P, i2, i3, i4, i5);
|
|
com.mbridge.msdk.mbsignalcommon.windvane.g.a().a((WebView) this.m.p, "oncutoutfetched", Base64.encodeToString(this.P.getBytes(), 0));
|
|
}
|
|
MBridgeOrderCampView mBridgeOrderCampView = this.v;
|
|
if (mBridgeOrderCampView != null) {
|
|
mBridgeOrderCampView.setNotchPadding(i2, i3, i4, i5);
|
|
}
|
|
}
|
|
|
|
public void setOnResume() {
|
|
MBridgeNativeEndCardView mBridgeNativeEndCardView = this.p;
|
|
if (mBridgeNativeEndCardView != null) {
|
|
mBridgeNativeEndCardView.setOnResume();
|
|
}
|
|
}
|
|
|
|
public void setOnPause() {
|
|
MBridgeNativeEndCardView mBridgeNativeEndCardView = this.p;
|
|
if (mBridgeNativeEndCardView != null) {
|
|
mBridgeNativeEndCardView.setOnPause();
|
|
}
|
|
}
|
|
|
|
public void orientation(Configuration configuration) {
|
|
MBridgeH5EndCardView[] mBridgeH5EndCardViewArr = {this.m, this.o, this.q, this.u};
|
|
for (int i = 0; i < 4; i++) {
|
|
MBridgeH5EndCardView mBridgeH5EndCardView = mBridgeH5EndCardViewArr[i];
|
|
if (mBridgeH5EndCardView != null && mBridgeH5EndCardView.getVisibility() == 0) {
|
|
mBridgeH5EndCardView.orientation(getResources().getConfiguration());
|
|
}
|
|
}
|
|
}
|
|
}
|