- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
74 lines
2.3 KiB
Java
74 lines
2.3 KiB
Java
package com.mbridge.msdk.video.module;
|
|
|
|
import android.content.Context;
|
|
import android.text.TextUtils;
|
|
import android.util.AttributeSet;
|
|
import android.webkit.URLUtil;
|
|
import android.webkit.WebView;
|
|
import com.mbridge.msdk.click.c;
|
|
import com.mbridge.msdk.foundation.entity.CampaignEx;
|
|
import com.mbridge.msdk.foundation.tools.af;
|
|
import com.mbridge.msdk.foundation.tools.aj;
|
|
import com.mbridge.msdk.mbsignalcommon.windvane.g;
|
|
import com.mbridge.msdk.out.BaseTrackingListener;
|
|
import com.mbridge.msdk.video.signal.factory.b;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class MBridgeLandingPageView extends MBridgeH5EndCardView {
|
|
public MBridgeLandingPageView(Context context) {
|
|
super(context);
|
|
}
|
|
|
|
public MBridgeLandingPageView(Context context, AttributeSet attributeSet) {
|
|
super(context, attributeSet);
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.module.MBridgeH5EndCardView, com.mbridge.msdk.video.module.MBridgeBaseView
|
|
public void init(Context context) {
|
|
super.init(context);
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.module.MBridgeH5EndCardView
|
|
public final String a() {
|
|
CampaignEx campaignEx = this.b;
|
|
if (campaignEx != null) {
|
|
return c.a(campaignEx.getClickURL(), "-999", "-999");
|
|
}
|
|
return null;
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.module.MBridgeH5EndCardView
|
|
public void preLoadData(b bVar) {
|
|
if (this.e) {
|
|
this.p.setFilter(new a());
|
|
}
|
|
super.preLoadData(bVar);
|
|
setVisibility(0);
|
|
setCloseVisible(0);
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.video.module.MBridgeH5EndCardView
|
|
public void webviewshow() {
|
|
try {
|
|
af.a(MBridgeBaseView.TAG, "webviewshow");
|
|
g.a().a((WebView) this.p, "webviewshow", "");
|
|
} catch (Exception e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
|
|
public static final class a implements com.mbridge.msdk.mbsignalcommon.base.a {
|
|
private a() {
|
|
}
|
|
|
|
@Override // com.mbridge.msdk.mbsignalcommon.base.a
|
|
public final boolean a(String str) {
|
|
if (TextUtils.isEmpty(str) || URLUtil.isNetworkUrl(str)) {
|
|
return false;
|
|
}
|
|
aj.a(com.mbridge.msdk.foundation.controller.c.m().c(), str, (BaseTrackingListener) null);
|
|
return true;
|
|
}
|
|
}
|
|
}
|