- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
48 lines
1.2 KiB
Java
48 lines
1.2 KiB
Java
package com.mbridge.msdk.splash.view;
|
|
|
|
import android.content.Context;
|
|
import com.iab.omid.library.mmadbridge.adsession.AdSession;
|
|
import com.mbridge.msdk.foundation.tools.af;
|
|
import com.mbridge.msdk.mbsignalcommon.windvane.WindVaneWebView;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class MBSplashWebview extends WindVaneWebView {
|
|
private static final String e = "MBSplashWebview";
|
|
private String f;
|
|
private AdSession g;
|
|
|
|
public AdSession getAdSession() {
|
|
return this.g;
|
|
}
|
|
|
|
public String getRequestId() {
|
|
return this.f;
|
|
}
|
|
|
|
public void setAdSession(AdSession adSession) {
|
|
this.g = adSession;
|
|
}
|
|
|
|
public void setRequestId(String str) {
|
|
this.f = str;
|
|
}
|
|
|
|
public MBSplashWebview(Context context) {
|
|
super(context);
|
|
setBackgroundColor(0);
|
|
}
|
|
|
|
public void finishAdSession() {
|
|
try {
|
|
AdSession adSession = this.g;
|
|
if (adSession != null) {
|
|
adSession.finish();
|
|
this.g = null;
|
|
af.a("OMSDK", "finish adSession");
|
|
}
|
|
} catch (Exception e2) {
|
|
af.a("OMSDK", e2.getMessage());
|
|
}
|
|
}
|
|
}
|