Cyber Surfer v5.2.5版本的 MD5 值为:db13c5fce988de393e52d2679f934b22
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.applovin.impl.adview.activity.b;
import android.app.Activity;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.res.Configuration;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.SystemClock;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
import com.applovin.adview.AppLovinAdView;
import com.applovin.adview.AppLovinFullscreenActivity;
import com.applovin.impl.adview.activity.b.a;
import com.applovin.impl.adview.j;
import com.applovin.impl.adview.n;
import com.applovin.impl.adview.o;
import com.applovin.impl.adview.p;
import com.applovin.impl.adview.v;
import com.applovin.impl.sdk.AppLovinBroadcastManager;
import com.applovin.impl.sdk.b.b;
import com.applovin.impl.sdk.e.ab;
import com.applovin.impl.sdk.e.q;
import com.applovin.impl.sdk.i;
import com.applovin.impl.sdk.j;
import com.applovin.impl.sdk.r;
import com.applovin.impl.sdk.utils.CollectionUtils;
import com.applovin.impl.sdk.utils.StringUtils;
import com.applovin.impl.sdk.utils.m;
import com.applovin.impl.sdk.utils.r;
import com.applovin.impl.sdk.utils.u;
import com.applovin.impl.sdk.x;
import com.applovin.sdk.AppLovinAd;
import com.applovin.sdk.AppLovinAdClickListener;
import com.applovin.sdk.AppLovinAdDisplayListener;
import com.applovin.sdk.AppLovinAdSize;
import com.applovin.sdk.AppLovinAdType;
import com.applovin.sdk.AppLovinAdVideoPlaybackListener;
import com.applovin.sdk.AppLovinSdkUtils;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
public abstract class a implements AppLovinBroadcastManager.Receiver, b.a, u.a {
protected AppLovinAdDisplayListener agA;
protected AppLovinAdClickListener agC;
protected AppLovinAdVideoPlaybackListener agR;
protected final com.applovin.impl.sdk.d.d agj;
protected v agn;
protected Activity ahM;
protected final com.applovin.impl.sdk.ad.e aiL;
private final com.applovin.impl.sdk.utils.a aiO;
private final i.a aiP;
protected AppLovinAdView aiQ;
protected final n aiR;
protected final n aiS;
private long aiU;
protected long aiW;
private boolean aiX;
protected boolean aiY;
protected int aiZ;
protected boolean aja;
protected boolean ajg;
protected final com.applovin.impl.sdk.b.b ajh;
protected r aji;
private final j ajj;
protected final x logger;
protected final com.applovin.impl.sdk.n sdk;
private final Handler acG = new Handler(Looper.getMainLooper());
protected final long startTimeMillis = SystemClock.elapsedRealtime();
private final AtomicBoolean videoEndListenerNotified = new AtomicBoolean();
private final AtomicBoolean aiT = new AtomicBoolean();
protected long aiV = -1;
private int ajb = 0;
private final ArrayList<Long> ajc = new ArrayList<>();
protected int ajd = 0;
protected int aje = 0;
protected int ajf = i.azY;
private boolean ajk = false;
public class AnonymousClass3 extends com.applovin.impl.sdk.utils.a {
AnonymousClass3() {
}
public void sP() {
x.H("AppLovinFullscreenActivity", "Dismissing on-screen ad due to app relaunched via launcher.");
try {
a.this.dismiss();
} catch (Throwable th) {
x.e("AppLovinFullscreenActivity", "Failed to dismiss ad.", th);
try {
a.this.sE();
} catch (Throwable unused) {
}
}
}
@Override
public void onActivityCreated(Activity activity, Bundle bundle) {
if (a.this.aiT.get()) {
return;
}
if (activity.getClass().getName().equals(u.ad(activity.getApplicationContext()))) {
AppLovinSdkUtils.runOnUiThread(new Runnable() {
@Override
public final void run() {
a.AnonymousClass3.this.sP();
}
});
}
}
}
public interface InterfaceC0060a {
void a(a aVar);
void a(String str, Throwable th);
}
public class b implements View.OnClickListener, AppLovinAdClickListener {
private b() {
}
public void sQ() {
a.this.aiV = SystemClock.elapsedRealtime();
}
@Override
public void adClicked(AppLovinAd appLovinAd) {
x xVar = a.this.logger;
if (x.Fk()) {
a.this.logger.f("AppLovinFullscreenActivity", "Clicking through graphic");
}
m.a(a.this.agC, appLovinAd);
a.this.agj.JL();
a.this.aje++;
}
@Override
public void onClick(View view) {
if (view != a.this.aiR || !((Boolean) a.this.sdk.a(com.applovin.impl.sdk.c.b.aMX)).booleanValue()) {
x xVar = a.this.logger;
if (x.Fk()) {
x xVar2 = a.this.logger;
xVar2.i("AppLovinFullscreenActivity", "Unhandled click on widget: " + view);
return;
}
return;
}
a.c(a.this);
if (a.this.aiL.GJ()) {
a aVar = a.this;
aVar.bu("javascript:al_onCloseButtonTapped(" + a.this.ajb + "," + a.this.ajd + "," + a.this.aje + ");");
}
List<Integer> Gd = a.this.aiL.Gd();
x xVar3 = a.this.logger;
if (x.Fk()) {
x xVar4 = a.this.logger;
xVar4.f("AppLovinFullscreenActivity", "Handling close button tap " + a.this.ajb + " with multi close delay: " + Gd);
}
if (Gd == null || Gd.size() <= a.this.ajb) {
a.this.dismiss();
return;
}
a.this.ajc.add(Long.valueOf(SystemClock.elapsedRealtime() - a.this.aiV));
List<j.a> Gf = a.this.aiL.Gf();
if (Gf != null && Gf.size() > a.this.ajb) {
a.this.aiR.b(Gf.get(a.this.ajb));
}
x xVar5 = a.this.logger;
if (x.Fk()) {
x xVar6 = a.this.logger;
xVar6.f("AppLovinFullscreenActivity", "Scheduling next close button with delay: " + Gd.get(a.this.ajb));
}
a.this.aiR.setVisibility(8);
a aVar2 = a.this;
aVar2.a(aVar2.aiR, Gd.get(a.this.ajb).intValue(), new Runnable() {
@Override
public final void run() {
a.b.this.sQ();
}
});
}
}
public a(com.applovin.impl.sdk.ad.e eVar, Activity activity, Map<String, Object> map, com.applovin.impl.sdk.n nVar, AppLovinAdClickListener appLovinAdClickListener, AppLovinAdDisplayListener appLovinAdDisplayListener, AppLovinAdVideoPlaybackListener appLovinAdVideoPlaybackListener) {
this.aiL = eVar;
this.sdk = nVar;
this.logger = nVar.BL();
this.ahM = activity;
this.agC = appLovinAdClickListener;
this.agA = appLovinAdDisplayListener;
this.agR = appLovinAdVideoPlaybackListener;
com.applovin.impl.sdk.b.b bVar = new com.applovin.impl.sdk.b.b(activity, nVar);
this.ajh = bVar;
bVar.a(this);
com.applovin.impl.sdk.d.d dVar = new com.applovin.impl.sdk.d.d(eVar, nVar);
this.agj = dVar;
this.ajj = new com.applovin.impl.sdk.j(nVar);
b bVar2 = new b();
if (((Boolean) nVar.a(com.applovin.impl.sdk.c.b.aNo)).booleanValue()) {
AppLovinBroadcastManager.registerReceiver(this, new IntentFilter("com.applovin.render_process_gone"));
}
if (((Boolean) nVar.a(com.applovin.impl.sdk.c.b.aNv)).booleanValue()) {
AppLovinBroadcastManager.registerReceiver(this, new IntentFilter("com.applovin.al_onPoststitialShow_undefined"));
}
o oVar = new o(nVar.getWrappingSdk(), AppLovinAdSize.INTERSTITIAL, activity);
this.aiQ = oVar;
oVar.setAdClickListener(bVar2);
this.aiQ.setAdDisplayListener(new AppLovinAdDisplayListener() {
@Override
public void adDisplayed(AppLovinAd appLovinAd) {
x xVar = a.this.logger;
if (x.Fk()) {
a.this.logger.f("AppLovinFullscreenActivity", "Web content rendered");
}
}
@Override
public void adHidden(AppLovinAd appLovinAd) {
x xVar = a.this.logger;
if (x.Fk()) {
a.this.logger.f("AppLovinFullscreenActivity", "Closing from WebView");
}
a.this.dismiss();
}
});
this.aiQ.getController().setStatsManagerHelper(dVar);
p pVar = new p(map, nVar);
if (pVar.rN()) {
this.agn = new v(pVar, activity);
}
nVar.BB().trackImpression(eVar);
List<Integer> Gd = eVar.Gd();
if (eVar.Gc() >= 0 || Gd != null) {
n nVar2 = new n(eVar.Ge(), activity);
this.aiR = nVar2;
nVar2.setVisibility(8);
nVar2.setOnClickListener(bVar2);
} else {
this.aiR = null;
}
n nVar3 = new n(j.a.WHITE_ON_TRANSPARENT, activity);
this.aiS = nVar3;
nVar3.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
a.this.m(view);
}
});
if (eVar.GZ()) {
this.aiP = new i.a() {
@Override
public void ge(int i) {
if (a.this.ajf != i.azY) {
a.this.ajg = true;
}
com.applovin.impl.adview.d qZ = a.this.aiQ.getController().qZ();
if (i.gv(i) && !i.gv(a.this.ajf)) {
qZ.bq("javascript:al_muteSwitchOn();");
} else if (i == 2) {
qZ.bq("javascript:al_muteSwitchOff();");
}
a.this.ajf = i;
}
};
} else {
this.aiP = null;
}
this.aiO = new AnonymousClass3();
}
public static void a(final n nVar, final Runnable runnable) {
AppLovinSdkUtils.runOnUiThread(new Runnable() {
@Override
public final void run() {
a.b(n.this, runnable);
}
});
}
public static void a(com.applovin.impl.sdk.ad.e eVar, AppLovinAdClickListener appLovinAdClickListener, AppLovinAdDisplayListener appLovinAdDisplayListener, AppLovinAdVideoPlaybackListener appLovinAdVideoPlaybackListener, Map<String, Object> map, com.applovin.impl.sdk.n nVar, Activity activity, InterfaceC0060a interfaceC0060a) {
a bVar;
boolean Hv = eVar.Hv();
if (eVar instanceof com.applovin.impl.b.a) {
if (Hv) {
try {
bVar = new c(eVar, activity, map, nVar, appLovinAdClickListener, appLovinAdDisplayListener, appLovinAdVideoPlaybackListener);
} catch (Throwable th) {
nVar.BL();
if (x.Fk()) {
nVar.BL().b("AppLovinFullscreenActivity", "Failed to create ExoPlayer presenter to show the ad. Falling back to using native media player presenter.", th);
}
try {
bVar = new d(eVar, activity, map, nVar, appLovinAdClickListener, appLovinAdDisplayListener, appLovinAdVideoPlaybackListener);
} catch (Throwable th2) {
interfaceC0060a.a("Failed to create FullscreenVastVideoAdPresenter with sdk: " + nVar + " and throwable: " + th2.getMessage(), th2);
return;
}
}
} else {
try {
bVar = new d(eVar, activity, map, nVar, appLovinAdClickListener, appLovinAdDisplayListener, appLovinAdVideoPlaybackListener);
} catch (Throwable th3) {
interfaceC0060a.a("Failed to create FullscreenVastVideoAdPresenter with sdk: " + nVar + " and throwable: " + th3.getMessage(), th3);
return;
}
}
} else if (!eVar.hasVideoUrl()) {
try {
bVar = new com.applovin.impl.adview.activity.b.b(eVar, activity, map, nVar, appLovinAdClickListener, appLovinAdDisplayListener, appLovinAdVideoPlaybackListener);
} catch (Throwable th4) {
interfaceC0060a.a("Failed to create FullscreenGraphicAdPresenter with sdk: " + nVar + " and throwable: " + th4.getMessage(), th4);
return;
}
} else if (eVar.Hx()) {
try {
bVar = new g(eVar, activity, map, nVar, appLovinAdClickListener, appLovinAdDisplayListener, appLovinAdVideoPlaybackListener);
} catch (Throwable th5) {
interfaceC0060a.a("Failed to create FullscreenWebVideoAdPresenter with sdk: " + nVar + " and throwable: " + th5.getMessage(), th5);
return;
}
} else if (Hv) {
try {
bVar = new e(eVar, activity, map, nVar, appLovinAdClickListener, appLovinAdDisplayListener, appLovinAdVideoPlaybackListener);
} catch (Throwable th6) {
nVar.BL();
if (x.Fk()) {
nVar.BL().b("AppLovinFullscreenActivity", "Failed to create ExoPlayer presenter to show the ad. Falling back to using native media player presenter.", th6);
}
try {
bVar = new f(eVar, activity, map, nVar, appLovinAdClickListener, appLovinAdDisplayListener, appLovinAdVideoPlaybackListener);
} catch (Throwable th7) {
interfaceC0060a.a("Failed to create FullscreenVideoAdExoPlayerPresenter with sdk: " + nVar + " and throwable: " + th7.getMessage(), th7);
return;
}
}
} else {
try {
bVar = new f(eVar, activity, map, nVar, appLovinAdClickListener, appLovinAdDisplayListener, appLovinAdVideoPlaybackListener);
} catch (Throwable th8) {
interfaceC0060a.a("Failed to create FullscreenVideoAdPresenter with sdk: " + nVar + " and throwable: " + th8.getMessage(), th8);
return;
}
}
bVar.sz();
interfaceC0060a.a(bVar);
}
public static void b(final n nVar, final Runnable runnable) {
com.applovin.impl.sdk.utils.v.a(nVar, 400L, new Runnable() {
@Override
public final void run() {
a.c(n.this, runnable);
}
});
}
public void bv(String str) {
AppLovinAdView appLovinAdView;
com.applovin.impl.adview.d qZ;
if (!StringUtils.isValidString(str) || (appLovinAdView = this.aiQ) == null || (qZ = appLovinAdView.getController().qZ()) == null) {
return;
}
qZ.bq(str);
}
static int c(a aVar) {
int i = aVar.ajb;
aVar.ajb = i + 1;
return i;
}
public static void c(n nVar, Runnable runnable) {
nVar.bringToFront();
runnable.run();
}
public void l(View view) {
n nVar;
if (u.a(com.applovin.impl.sdk.c.b.aLR, this.sdk)) {
this.sdk.Ca().b(this.aiL, com.applovin.impl.sdk.n.getApplicationContext());
}
this.sdk.Cq().a(r.a.BLACK_VIEW, CollectionUtils.map("clcode", this.aiL.getClCode()));
if (((Boolean) this.sdk.a(com.applovin.impl.sdk.c.b.aQA)).booleanValue()) {
dismiss();
return;
}
this.ajk = ((Boolean) this.sdk.a(com.applovin.impl.sdk.c.b.aQB)).booleanValue();
if (!((Boolean) this.sdk.a(com.applovin.impl.sdk.c.b.aQC)).booleanValue() || (nVar = this.aiR) == null) {
return;
}
nVar.setVisibility(0);
}
public void m(View view) {
dismiss();
}
public void sO() {
if (this.aiL.GU().getAndSet(true)) {
return;
}
this.sdk.BM().a(new com.applovin.impl.sdk.e.x(this.aiL, this.sdk), q.b.REWARD);
}
private void sz() {
if (this.aiP != null) {
this.sdk.Ch().a(this.aiP);
}
if (this.aiO != null) {
this.sdk.BK().a(this.aiO);
}
}
public void a(int i, KeyEvent keyEvent) {
if (this.logger == null || !x.Fk()) {
return;
}
x xVar = this.logger;
xVar.g("AppLovinFullscreenActivity", "onKeyDown(int, KeyEvent) - " + i + ", " + keyEvent);
}
public void a(int i, boolean z, boolean z2, long j) {
if (this.videoEndListenerNotified.compareAndSet(false, true)) {
if (this.aiL.hasVideoUrl() || sK()) {
m.a(this.agR, this.aiL, i, z2);
}
if (this.aiL.hasVideoUrl()) {
this.agj.bU(i);
}
long elapsedRealtime = SystemClock.elapsedRealtime() - this.startTimeMillis;
this.sdk.BB().trackVideoEnd(this.aiL, TimeUnit.MILLISECONDS.toSeconds(elapsedRealtime), i, z);
long elapsedRealtime2 = this.aiV != -1 ? SystemClock.elapsedRealtime() - this.aiV : -1L;
this.sdk.BB().trackFullScreenAdClosed(this.aiL, elapsedRealtime2, this.ajc, j, this.ajg, this.ajf);
if (x.Fk()) {
x xVar = this.logger;
xVar.f("AppLovinFullscreenActivity", "Video ad ended at percent: " + i + "%, elapsedTime: " + elapsedRealtime + "ms, skipTimeMillis: " + j + "ms, closeTimeMillis: " + elapsedRealtime2 + "ms");
}
}
}
public abstract void a(ViewGroup viewGroup);
public void a(final n nVar, long j, final Runnable runnable) {
if (j >= ((Long) this.sdk.a(com.applovin.impl.sdk.c.b.aMW)).longValue()) {
return;
}
this.sdk.BM().a(new ab(this.sdk, "fadeInCloseButton", new Runnable() {
@Override
public final void run() {
a.a(n.this, runnable);
}
}), q.b.MAIN, TimeUnit.SECONDS.toMillis(j), true);
}
public void a(Runnable runnable, long j) {
AppLovinSdkUtils.runOnUiThreadDelayed(runnable, j, this.acG);
}
public void au(boolean z) {
d(z, ((Long) this.sdk.a(com.applovin.impl.sdk.c.b.aNm)).longValue());
m.a(this.agA, this.aiL);
this.sdk.Cd().ab(this.aiL);
if (this.aiL.hasVideoUrl() || sK()) {
m.a(this.agR, this.aiL);
}
new com.applovin.impl.adview.activity.b(this.ahM).c(this.aiL);
this.agj.JK();
this.aiL.setHasShown(true);
}
public abstract void bE(long j);
public void bF(long j) {
if (x.Fk()) {
x xVar = this.logger;
xVar.f("AppLovinFullscreenActivity", "Scheduling report reward in " + TimeUnit.MILLISECONDS.toSeconds(j) + " seconds...");
}
this.aji = com.applovin.impl.sdk.utils.r.b(j, this.sdk, new Runnable() {
@Override
public final void run() {
a.this.sO();
}
});
}
protected void bt(String str) {
if (this.aiL.GK()) {
d(str, 0L);
}
}
public void bu(String str) {
d(str, 0L);
}
public void checkCachedAdResourcesAsync(boolean z) {
u.a(z, this.aiL, this.sdk, com.applovin.impl.sdk.n.getApplicationContext(), this);
}
public void checkCachedAdResourcesImmediately(boolean z) {
List<Uri> a2 = u.a(z, this.aiL, this.sdk, this.ahM);
if (a2.isEmpty()) {
return;
}
if (!((Boolean) this.sdk.a(com.applovin.impl.sdk.c.b.aQm)).booleanValue()) {
if (x.Fk()) {
x xVar = this.logger;
xVar.i("AppLovinFullscreenActivity", "Streaming ad due to missing ad resources: " + a2);
}
this.aiL.Fy();
return;
}
if (x.Fk()) {
x xVar2 = this.logger;
xVar2.i("AppLovinFullscreenActivity", "Dismissing ad due to missing resources: " + a2);
}
com.applovin.impl.adview.q.a(this.aiL, this.agA, "Missing ad resources", null, null);
dismiss();
}
public void d(final String str, long j) {
if (j >= 0) {
a(new Runnable() {
@Override
public final void run() {
a.this.bv(str);
}
}, j);
}
}
public void d(boolean z, long j) {
if (this.aiL.GI()) {
d(z ? "javascript:al_mute();" : "javascript:al_unmute();", j);
}
}
public void dismiss() {
this.aiX = true;
if (x.Fk()) {
this.logger.g("AppLovinFullscreenActivity", "dismiss()");
}
com.applovin.impl.sdk.ad.e eVar = this.aiL;
if (eVar != null) {
eVar.getAdEventTracker().IK();
}
this.acG.removeCallbacksAndMessages(null);
d("javascript:al_onPoststitialDismiss();", this.aiL.GH());
sE();
this.agj.rb();
this.ajj.AW();
if (this.aiP != null) {
this.sdk.Ch().b(this.aiP);
}
if (this.aiO != null) {
this.sdk.BK().b(this.aiO);
}
if (sF()) {
this.ahM.finish();
return;
}
this.sdk.BL();
if (x.Fk()) {
this.sdk.BL().f("AppLovinFullscreenActivity", "Fullscreen ad shown in container view dismissed, destroying the presenter.");
}
onDestroy();
}
public void onBackPressed() {
if (x.Fk()) {
this.logger.g("AppLovinFullscreenActivity", "onBackPressed()");
}
if (this.ajk) {
dismiss();
}
if (this.aiL.GJ()) {
bu("javascript:onBackPressed();");
}
}
@Override
public void onCachedResourcesChecked(boolean z) {
if (z) {
return;
}
if (!((Boolean) this.sdk.a(com.applovin.impl.sdk.c.b.aQm)).booleanValue()) {
if (x.Fk()) {
this.logger.i("AppLovinFullscreenActivity", "Streaming ad due to unavailable ad resources");
}
this.aiL.Fy();
return;
}
if (x.Fk()) {
this.logger.i("AppLovinFullscreenActivity", "Dismissing ad due to unavailable resources");
}
com.applovin.impl.adview.q.a(this.aiL, this.agA, "Unavailable ad resources", null, null);
dismiss();
}
public void onConfigurationChanged(Configuration configuration) {
if (x.Fk()) {
x xVar = this.logger;
xVar.g("AppLovinFullscreenActivity", "onConfigurationChanged(Configuration) - " + configuration);
}
}
public void onDestroy() {
AppLovinAdView appLovinAdView = this.aiQ;
if (appLovinAdView != null) {
ViewParent parent = appLovinAdView.getParent();
this.aiQ.destroy();
this.aiQ = null;
if ((parent instanceof ViewGroup) && sF()) {
((ViewGroup) parent).removeAllViews();
}
}
sD();
sE();
this.agC = null;
this.agA = null;
this.agR = null;
this.ahM = null;
AppLovinBroadcastManager.unregisterReceiver(this);
}
public void onPause() {
if (x.Fk()) {
this.logger.g("AppLovinFullscreenActivity", "onPause()");
}
this.aiU = SystemClock.elapsedRealtime();
bt("javascript:al_onAppPaused();");
if (this.ajh.Jw()) {
this.ajh.Ju();
}
sG();
}
@Override
public void onReceive(Intent intent, Map<String, Object> map) {
if ("com.applovin.render_process_gone".equals(intent.getAction()) && !this.aiY) {
sN();
} else if ("com.applovin.al_onPoststitialShow_undefined".equals(intent.getAction())) {
rl();
}
}
public void onResume() {
if (x.Fk()) {
this.logger.g("AppLovinFullscreenActivity", "onResume()");
}
this.agj.bV(SystemClock.elapsedRealtime() - this.aiU);
bt("javascript:al_onAppResumed();");
sH();
if (this.ajh.Jw()) {
this.ajh.Ju();
}
}
public void onStop() {
if (x.Fk()) {
this.logger.g("AppLovinFullscreenActivity", "onStop()");
}
}
public void onWindowFocusChanged(boolean z) {
if (x.Fk()) {
x xVar = this.logger;
xVar.g("AppLovinFullscreenActivity", "onWindowFocusChanged(boolean) - " + z);
}
bt("javascript:al_onWindowFocusChanged( " + z + " );");
}
public abstract void pauseVideo();
public void rl() {
if (x.Fk()) {
this.logger.g("AppLovinFullscreenActivity", "Handling al_onPoststitialShow undefined");
}
}
public abstract void sA();
public boolean sB() {
return this.aiX;
}
public int sC() {
int Gr = this.aiL.Gr();
return (Gr <= 0 && ((Boolean) this.sdk.a(com.applovin.impl.sdk.c.b.aNl)).booleanValue()) ? this.aiZ + 1 : Gr;
}
protected abstract void sD();
protected void sE() {
if (this.aiT.compareAndSet(false, true)) {
m.b(this.agA, this.aiL);
this.sdk.Cd().ac(this.aiL);
}
}
protected boolean sF() {
return this.ahM instanceof AppLovinFullscreenActivity;
}
public void sG() {
com.applovin.impl.sdk.utils.r rVar = this.aji;
if (rVar != null) {
rVar.pause();
}
}
protected void sH() {
com.applovin.impl.sdk.utils.r rVar = this.aji;
if (rVar != null) {
rVar.resume();
}
}
protected abstract boolean sI();
protected abstract boolean sJ();
public boolean sK() {
return AppLovinAdType.INCENTIVIZED == this.aiL.getType() || AppLovinAdType.AUTO_INCENTIVIZED == this.aiL.getType();
}
protected abstract void sL();
public void sM() {
com.applovin.impl.adview.d qZ;
if (this.aiQ == null || !this.aiL.Gq() || (qZ = this.aiQ.getController().qZ()) == null) {
return;
}
this.ajj.a(qZ, new j.a() {
@Override
public final void onBlackViewDetected(View view) {
a.this.l(view);
}
});
}
public void sN() {
if (x.Fk()) {
this.logger.g("AppLovinFullscreenActivity", "Handling render process crash");
}
this.aiY = true;
}
}