Picsart v24.6版本的 MD5 值为:21a61631d94e54da68d2ad9268b8b9d9
以下内容为反编译后的 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.b;
import com.applovin.impl.adview.j;
import com.applovin.impl.adview.p;
import com.applovin.impl.adview.r;
import com.applovin.impl.adview.s;
import com.applovin.impl.adview.x;
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.n;
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.l;
import com.applovin.impl.sdk.utils.q;
import com.applovin.impl.sdk.utils.t;
import com.applovin.impl.sdk.utils.u;
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;
import myobfuscated.d4.g0;
public abstract class a implements b.a, AppLovinBroadcastManager.Receiver, b.a, t.a {
protected AppLovinAdDisplayListener agB;
protected AppLovinAdClickListener agD;
protected AppLovinAdVideoPlaybackListener agR;
protected x ago;
protected Activity ahP;
protected final com.applovin.impl.sdk.ad.e aiO;
private final com.applovin.impl.sdk.utils.a aiR;
private final i.a aiS;
protected AppLovinAdView aiT;
protected final p aiU;
protected final p aiV;
private long aiX;
protected long aiZ;
private boolean aja;
protected boolean ajb;
protected int ajc;
protected boolean ajd;
protected boolean ajj;
protected final com.applovin.impl.sdk.b.b ajk;
protected q ajl;
protected boolean ajm;
private final j ajn;
protected final com.applovin.impl.sdk.x logger;
protected final 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 aiW = new AtomicBoolean();
protected long aiY = -1;
private int aje = 0;
private final ArrayList<Long> ajf = new ArrayList<>();
protected int ajg = 0;
protected int ajh = 0;
protected int aji = com.applovin.impl.sdk.i.aAQ;
private boolean ajo = false;
public class AnonymousClass3 extends com.applovin.impl.sdk.utils.a {
public AnonymousClass3() {
a.this = r1;
}
public void sY() {
com.applovin.impl.sdk.x.I("AppLovinFullscreenActivity", "Dismissing on-screen ad due to app relaunched via launcher.");
try {
a.this.dismiss();
} catch (Throwable th) {
com.applovin.impl.sdk.x.e("AppLovinFullscreenActivity", "Failed to dismiss ad.", th);
try {
a.this.sM();
} catch (Throwable unused) {
}
}
}
@Override
public void onActivityCreated(Activity activity, Bundle bundle) {
if (a.this.aiW.get()) {
return;
}
if (activity.getClass().getName().equals(t.af(activity.getApplicationContext()))) {
AppLovinSdkUtils.runOnUiThread(new h(this, 0));
}
}
}
public interface InterfaceC0137a {
void a(a aVar);
void a(String str, Throwable th);
}
public class b implements View.OnClickListener, AppLovinAdClickListener {
private b() {
a.this = r1;
}
public void sZ() {
a.this.aiY = SystemClock.elapsedRealtime();
}
@Override
public void adClicked(AppLovinAd appLovinAd) {
com.applovin.impl.sdk.x xVar = a.this.logger;
if (com.applovin.impl.sdk.x.FL()) {
a.this.logger.f("AppLovinFullscreenActivity", "Clicking through graphic");
}
l.a(a.this.agD, appLovinAd);
a.this.ajh++;
}
@Override
public void onClick(View view) {
a aVar = a.this;
if (view != aVar.aiU || !((Boolean) aVar.sdk.a(com.applovin.impl.sdk.c.b.aOG)).booleanValue()) {
com.applovin.impl.sdk.x xVar = a.this.logger;
if (com.applovin.impl.sdk.x.FL()) {
com.applovin.impl.sdk.x xVar2 = a.this.logger;
xVar2.i("AppLovinFullscreenActivity", "Unhandled click on widget: " + view);
return;
}
return;
}
a.c(a.this);
if (a.this.aiO.Ht()) {
a aVar2 = a.this;
aVar2.bv("javascript:al_onCloseButtonTapped(" + a.this.aje + "," + a.this.ajg + "," + a.this.ajh + ");");
}
List<Integer> GJ = a.this.aiO.GJ();
com.applovin.impl.sdk.x xVar3 = a.this.logger;
if (com.applovin.impl.sdk.x.FL()) {
com.applovin.impl.sdk.x xVar4 = a.this.logger;
xVar4.f("AppLovinFullscreenActivity", "Handling close button tap " + a.this.aje + " with multi close delay: " + GJ);
}
if (GJ == null || GJ.size() <= a.this.aje) {
a.this.dismiss();
return;
}
a.this.ajf.add(Long.valueOf(SystemClock.elapsedRealtime() - a.this.aiY));
List<j.a> GL = a.this.aiO.GL();
if (GL != null && GL.size() > a.this.aje) {
a aVar3 = a.this;
aVar3.aiU.b(GL.get(aVar3.aje));
}
com.applovin.impl.sdk.x xVar5 = a.this.logger;
if (com.applovin.impl.sdk.x.FL()) {
com.applovin.impl.sdk.x xVar6 = a.this.logger;
xVar6.f("AppLovinFullscreenActivity", "Scheduling next close button with delay: " + GJ.get(a.this.aje));
}
a.this.aiU.setVisibility(8);
a aVar4 = a.this;
aVar4.a(aVar4.aiU, GJ.get(aVar4.aje).intValue(), new i(this, 0));
}
}
public a(com.applovin.impl.sdk.ad.e eVar, Activity activity, Map<String, Object> map, n nVar, AppLovinAdClickListener appLovinAdClickListener, AppLovinAdDisplayListener appLovinAdDisplayListener, AppLovinAdVideoPlaybackListener appLovinAdVideoPlaybackListener) {
this.aiO = eVar;
this.sdk = nVar;
this.logger = nVar.Ci();
this.ahP = activity;
this.agD = appLovinAdClickListener;
this.agB = appLovinAdDisplayListener;
this.agR = appLovinAdVideoPlaybackListener;
com.applovin.impl.sdk.b.b bVar = new com.applovin.impl.sdk.b.b(activity, nVar);
this.ajk = bVar;
bVar.a(this);
this.ajn = new com.applovin.impl.sdk.j(nVar);
b bVar2 = new b();
if (((Boolean) nVar.a(com.applovin.impl.sdk.c.b.aOX)).booleanValue()) {
AppLovinBroadcastManager.registerReceiver(this, new IntentFilter("com.applovin.render_process_gone"));
}
if (((Boolean) nVar.a(com.applovin.impl.sdk.c.b.aPe)).booleanValue()) {
AppLovinBroadcastManager.registerReceiver(this, new IntentFilter("com.applovin.al_onPoststitialShow_evaluation_error"));
}
com.applovin.impl.adview.q qVar = new com.applovin.impl.adview.q(nVar.getWrappingSdk(), AppLovinAdSize.INTERSTITIAL, activity);
this.aiT = qVar;
qVar.setAdClickListener(bVar2);
this.aiT.setAdDisplayListener(new AppLovinAdDisplayListener() {
{
a.this = this;
}
@Override
public void adDisplayed(AppLovinAd appLovinAd) {
com.applovin.impl.sdk.x xVar = a.this.logger;
if (com.applovin.impl.sdk.x.FL()) {
a.this.logger.f("AppLovinFullscreenActivity", "Web content rendered");
}
}
@Override
public void adHidden(AppLovinAd appLovinAd) {
com.applovin.impl.sdk.x xVar = a.this.logger;
if (com.applovin.impl.sdk.x.FL()) {
a.this.logger.f("AppLovinFullscreenActivity", "Closing from WebView");
}
a.this.dismiss();
}
});
this.aiT.getController().a(this);
r rVar = new r(map, nVar);
if (rVar.rV()) {
this.ago = new x(rVar, activity);
}
nVar.BY().trackImpression(eVar);
List<Integer> GJ = eVar.GJ();
if (eVar.GI() >= 0 || GJ != null) {
p pVar = new p(eVar.GK(), activity);
this.aiU = pVar;
pVar.setVisibility(8);
pVar.setOnClickListener(bVar2);
} else {
this.aiU = null;
}
p pVar2 = new p(j.a.WHITE_ON_TRANSPARENT, activity);
this.aiV = pVar2;
pVar2.setOnClickListener(new myobfuscated.w8.a(this, 0));
if (eVar.HK()) {
this.aiS = new i.a() {
{
a.this = this;
}
@Override
public void ge(int i) {
a aVar = a.this;
if (aVar.aji != com.applovin.impl.sdk.i.aAQ) {
aVar.ajj = true;
}
com.applovin.impl.adview.d qY = aVar.aiT.getController().qY();
if (qY == null) {
com.applovin.impl.sdk.x xVar = a.this.logger;
if (com.applovin.impl.sdk.x.FL()) {
a.this.logger.h("AppLovinFullscreenActivity", "Unable to handle ringer mode change: no valid web view.");
}
} else if (com.applovin.impl.sdk.i.gx(i) && !com.applovin.impl.sdk.i.gx(a.this.aji)) {
qY.bq("javascript:al_muteSwitchOn();");
} else if (i == 2) {
qY.bq("javascript:al_muteSwitchOff();");
}
a.this.aji = i;
}
};
} else {
this.aiS = null;
}
this.aiR = new AnonymousClass3();
}
public static void a(p pVar, Runnable runnable) {
AppLovinSdkUtils.runOnUiThread(new myobfuscated.v2.t(5, pVar, runnable));
}
public static void a(com.applovin.impl.sdk.ad.e eVar, AppLovinAdClickListener appLovinAdClickListener, AppLovinAdDisplayListener appLovinAdDisplayListener, AppLovinAdVideoPlaybackListener appLovinAdVideoPlaybackListener, Map<String, Object> map, n nVar, Activity activity, InterfaceC0137a interfaceC0137a) {
a bVar;
boolean It = eVar.It();
if (eVar instanceof com.applovin.impl.b.a) {
if (It) {
try {
bVar = new c(eVar, activity, map, nVar, appLovinAdClickListener, appLovinAdDisplayListener, appLovinAdVideoPlaybackListener);
} catch (Throwable th) {
nVar.Ci();
if (com.applovin.impl.sdk.x.FL()) {
nVar.Ci().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) {
interfaceC0137a.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) {
interfaceC0137a.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) {
interfaceC0137a.a("Failed to create FullscreenGraphicAdPresenter with sdk: " + nVar + " and throwable: " + th4.getMessage(), th4);
return;
}
} else if (eVar.Iv()) {
try {
bVar = new g(eVar, activity, map, nVar, appLovinAdClickListener, appLovinAdDisplayListener, appLovinAdVideoPlaybackListener);
} catch (Throwable th5) {
interfaceC0137a.a("Failed to create FullscreenWebVideoAdPresenter with sdk: " + nVar + " and throwable: " + th5.getMessage(), th5);
return;
}
} else if (It) {
try {
bVar = new e(eVar, activity, map, nVar, appLovinAdClickListener, appLovinAdDisplayListener, appLovinAdVideoPlaybackListener);
} catch (Throwable th6) {
nVar.Ci();
if (com.applovin.impl.sdk.x.FL()) {
nVar.Ci().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) {
interfaceC0137a.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) {
interfaceC0137a.a("Failed to create FullscreenVideoAdPresenter with sdk: " + nVar + " and throwable: " + th8.getMessage(), th8);
return;
}
}
bVar.sH();
interfaceC0137a.a(bVar);
}
public static void b(p pVar, Runnable runnable) {
u.a(pVar, 400L, new g0(3, pVar, runnable));
}
public void bw(String str) {
AppLovinAdView appLovinAdView;
com.applovin.impl.adview.d qY;
if (!StringUtils.isValidString(str) || (appLovinAdView = this.aiT) == null || (qY = appLovinAdView.getController().qY()) == null) {
return;
}
qY.bq(str);
}
public static int c(a aVar) {
int i = aVar.aje;
aVar.aje = i + 1;
return i;
}
public static void c(p pVar, Runnable runnable) {
pVar.bringToFront();
runnable.run();
}
public void l(View view) {
p pVar;
if (t.a(com.applovin.impl.sdk.c.b.aNB, this.sdk)) {
this.sdk.Cy().b(this.aiO, n.getApplicationContext());
}
this.sdk.CN().a(r.a.BLACK_VIEW, CollectionUtils.map("clcode", this.aiO.getClCode()));
if (((Boolean) this.sdk.a(com.applovin.impl.sdk.c.b.aSr)).booleanValue()) {
dismiss();
return;
}
this.ajo = ((Boolean) this.sdk.a(com.applovin.impl.sdk.c.b.aSs)).booleanValue();
if (!((Boolean) this.sdk.a(com.applovin.impl.sdk.c.b.aSt)).booleanValue() || (pVar = this.aiU) == null) {
return;
}
pVar.setVisibility(0);
}
public void m(View view) {
dismiss();
}
private void sH() {
if (this.aiS != null) {
this.sdk.CE().a(this.aiS);
}
if (this.aiR != null) {
this.sdk.Ch().a(this.aiR);
}
}
public void sX() {
if (this.aiO.HE().getAndSet(true)) {
return;
}
this.sdk.Cj().a((com.applovin.impl.sdk.e.d) new com.applovin.impl.sdk.e.x(this.aiO, this.sdk), q.a.OTHER);
}
public void a(int i, KeyEvent keyEvent) {
if (this.logger == null || !com.applovin.impl.sdk.x.FL()) {
return;
}
com.applovin.impl.sdk.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.aiO.hasVideoUrl() || sS()) {
l.a(this.agR, this.aiO, i, z2);
}
long elapsedRealtime = SystemClock.elapsedRealtime() - this.startTimeMillis;
this.sdk.BY().trackVideoEnd(this.aiO, TimeUnit.MILLISECONDS.toSeconds(elapsedRealtime), i, z);
long elapsedRealtime2 = this.aiY != -1 ? SystemClock.elapsedRealtime() - this.aiY : -1L;
this.sdk.BY().trackFullScreenAdClosed(this.aiO, elapsedRealtime2, this.ajf, j, this.ajj, this.aji);
if (com.applovin.impl.sdk.x.FL()) {
com.applovin.impl.sdk.x xVar = this.logger;
StringBuilder sb = new StringBuilder("Video ad ended at percent: ");
sb.append(i);
sb.append("%, elapsedTime: ");
sb.append(elapsedRealtime);
sb.append("ms, skipTimeMillis: ");
sb.append(j);
sb.append("ms, closeTimeMillis: ");
xVar.f("AppLovinFullscreenActivity", com.appsflyer.internal.c.q(sb, elapsedRealtime2, "ms"));
}
}
}
public abstract void a(ViewGroup viewGroup);
public void a(p pVar, long j, Runnable runnable) {
if (j >= ((Long) this.sdk.a(com.applovin.impl.sdk.c.b.aOF)).longValue()) {
return;
}
this.sdk.Cj().a(new ab(this.sdk, "fadeInCloseButton", new myobfuscated.h4.e(5, pVar, runnable)), q.a.OTHER, 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.aOV)).longValue());
l.a(this.agB, this.aiO);
this.sdk.CA().ab(this.aiO);
if (this.aiO.hasVideoUrl() || sS()) {
l.a(this.agR, this.aiO);
}
new com.applovin.impl.adview.activity.b(this.ahP).c(this.aiO);
this.aiO.setHasShown(true);
}
public abstract void bE(long j);
public void bF(long j) {
if (com.applovin.impl.sdk.x.FL()) {
com.applovin.impl.sdk.x xVar = this.logger;
xVar.f("AppLovinFullscreenActivity", "Scheduling report reward in " + TimeUnit.MILLISECONDS.toSeconds(j) + " seconds...");
}
this.ajl = com.applovin.impl.sdk.utils.q.b(j, this.sdk, new myobfuscated.e.i(this, 10));
}
public void bu(String str) {
if (this.aiO.Hu()) {
d(str, 0L);
}
}
public void bv(String str) {
d(str, 0L);
}
public void checkCachedAdResourcesAsync(boolean z) {
t.a(z, this.aiO, this.sdk, n.getApplicationContext(), this);
}
public void checkCachedAdResourcesImmediately(boolean z) {
List<Uri> a = t.a(z, this.aiO, this.sdk, this.ahP);
if (a.isEmpty()) {
return;
}
if (!((Boolean) this.sdk.a(com.applovin.impl.sdk.c.b.aSd)).booleanValue()) {
if (com.applovin.impl.sdk.x.FL()) {
com.applovin.impl.sdk.x xVar = this.logger;
xVar.i("AppLovinFullscreenActivity", "Streaming ad due to missing ad resources: " + a);
}
this.aiO.Gb();
return;
}
if (com.applovin.impl.sdk.x.FL()) {
com.applovin.impl.sdk.x xVar2 = this.logger;
xVar2.i("AppLovinFullscreenActivity", "Dismissing ad due to missing resources: " + a);
}
s.a(this.aiO, this.agB, "Missing ad resources", null, null);
dismiss();
}
public void d(String str, long j) {
if (j >= 0) {
a(new androidx.fragment.app.s(4, this, str), j);
}
}
public void d(boolean z, long j) {
if (this.aiO.Hs()) {
d(z ? "javascript:al_mute();" : "javascript:al_unmute();", j);
}
}
public void dismiss() {
this.aja = true;
if (com.applovin.impl.sdk.x.FL()) {
this.logger.g("AppLovinFullscreenActivity", "dismiss()");
}
com.applovin.impl.sdk.ad.e eVar = this.aiO;
if (eVar != null) {
eVar.getAdEventTracker().JJ();
}
this.acG.removeCallbacksAndMessages(null);
d("javascript:al_onPoststitialDismiss();", this.aiO.Hr());
sM();
this.ajn.destroy();
if (this.aiS != null) {
this.sdk.CE().b(this.aiS);
}
if (this.aiR != null) {
this.sdk.Ch().b(this.aiR);
}
if (sN()) {
this.ahP.finish();
return;
}
this.sdk.Ci();
if (com.applovin.impl.sdk.x.FL()) {
this.sdk.Ci().f("AppLovinFullscreenActivity", "Fullscreen ad shown in container view dismissed, destroying the presenter.");
}
onDestroy();
}
@Override
public void k(com.applovin.impl.adview.b bVar) {
if (com.applovin.impl.sdk.x.FL()) {
this.logger.f("AppLovinFullscreenActivity", "Fully watched from ad web view...");
}
this.ajm = true;
}
public void onBackPressed() {
if (com.applovin.impl.sdk.x.FL()) {
this.logger.g("AppLovinFullscreenActivity", "onBackPressed()");
}
if (this.ajo) {
dismiss();
}
if (this.aiO.Ht()) {
bv("javascript:onBackPressed();");
}
}
@Override
public void onCachedResourcesChecked(boolean z) {
if (z) {
return;
}
if (!((Boolean) this.sdk.a(com.applovin.impl.sdk.c.b.aSd)).booleanValue()) {
if (com.applovin.impl.sdk.x.FL()) {
this.logger.i("AppLovinFullscreenActivity", "Streaming ad due to unavailable ad resources");
}
this.aiO.Gb();
return;
}
if (com.applovin.impl.sdk.x.FL()) {
this.logger.i("AppLovinFullscreenActivity", "Dismissing ad due to unavailable resources");
}
s.a(this.aiO, this.agB, "Unavailable ad resources", null, null);
dismiss();
}
public void onConfigurationChanged(Configuration configuration) {
if (com.applovin.impl.sdk.x.FL()) {
com.applovin.impl.sdk.x xVar = this.logger;
xVar.g("AppLovinFullscreenActivity", "onConfigurationChanged(Configuration) - " + configuration);
}
}
public void onDestroy() {
AppLovinAdView appLovinAdView = this.aiT;
if (appLovinAdView != null) {
ViewParent parent = appLovinAdView.getParent();
this.aiT.destroy();
this.aiT = null;
if ((parent instanceof ViewGroup) && sN()) {
((ViewGroup) parent).removeAllViews();
}
}
sL();
sM();
this.agD = null;
this.agB = null;
this.agR = null;
this.ahP = null;
AppLovinBroadcastManager.unregisterReceiver(this);
}
public void onPause() {
if (com.applovin.impl.sdk.x.FL()) {
this.logger.g("AppLovinFullscreenActivity", "onPause()");
}
this.aiX = SystemClock.elapsedRealtime();
bu("javascript:al_onAppPaused();");
if (this.ajk.Kx()) {
this.ajk.Kv();
}
sO();
}
@Override
public void onReceive(Intent intent, Map<String, Object> map) {
if ("com.applovin.render_process_gone".equals(intent.getAction()) && !this.ajb) {
sV();
} else if ("com.applovin.al_onPoststitialShow_evaluation_error".equals(intent.getAction())) {
sW();
}
}
public void onResume() {
if (com.applovin.impl.sdk.x.FL()) {
this.logger.g("AppLovinFullscreenActivity", "onResume()");
}
bu("javascript:al_onAppResumed();");
sP();
if (this.ajk.Kx()) {
this.ajk.Kv();
}
}
public void onStop() {
if (com.applovin.impl.sdk.x.FL()) {
this.logger.g("AppLovinFullscreenActivity", "onStop()");
}
}
public void onWindowFocusChanged(boolean z) {
if (com.applovin.impl.sdk.x.FL()) {
com.applovin.impl.sdk.x xVar = this.logger;
xVar.g("AppLovinFullscreenActivity", "onWindowFocusChanged(boolean) - " + z);
}
bu("javascript:al_onWindowFocusChanged( " + z + " );");
}
public abstract void pauseVideo();
public abstract void sI();
public boolean sJ() {
return this.aja;
}
public int sK() {
int Ha = this.aiO.Ha();
return (Ha <= 0 && ((Boolean) this.sdk.a(com.applovin.impl.sdk.c.b.aOU)).booleanValue()) ? this.ajc + 1 : Ha;
}
public abstract void sL();
public void sM() {
if (this.aiW.compareAndSet(false, true)) {
l.b(this.agB, this.aiO);
this.sdk.CA().ac(this.aiO);
}
}
public boolean sN() {
return this.ahP instanceof AppLovinFullscreenActivity;
}
public void sO() {
com.applovin.impl.sdk.utils.q qVar = this.ajl;
if (qVar != null) {
qVar.pause();
}
}
public void sP() {
com.applovin.impl.sdk.utils.q qVar = this.ajl;
if (qVar != null) {
qVar.resume();
}
}
public abstract boolean sQ();
public abstract boolean sR();
public boolean sS() {
return AppLovinAdType.INCENTIVIZED == this.aiO.getType() || AppLovinAdType.AUTO_INCENTIVIZED == this.aiO.getType();
}
public abstract void sT();
public void sU() {
com.applovin.impl.adview.d qY;
if (this.aiT == null || !this.aiO.GZ() || (qY = this.aiT.getController().qY()) == null) {
return;
}
this.ajn.a(qY, new myobfuscated.l8.a(this, 1));
}
public void sV() {
if (com.applovin.impl.sdk.x.FL()) {
this.logger.g("AppLovinFullscreenActivity", "Handling render process crash");
}
this.ajb = true;
}
public void sW() {
if (com.applovin.impl.sdk.x.FL()) {
this.logger.g("AppLovinFullscreenActivity", "Handling al_onPoststitialShow evaluation error");
}
}
}