- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
145 lines
3.8 KiB
Java
145 lines
3.8 KiB
Java
package com.applovin.impl;
|
|
|
|
import android.os.Bundle;
|
|
import android.os.SystemClock;
|
|
import java.util.Map;
|
|
import java.util.concurrent.atomic.AtomicBoolean;
|
|
import java.util.concurrent.atomic.AtomicReference;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class ie extends ge implements j8 {
|
|
private boolean A;
|
|
private final Bundle v;
|
|
private final AtomicReference w;
|
|
private final AtomicBoolean x;
|
|
private final AtomicBoolean y;
|
|
private boolean z;
|
|
|
|
public void a(boolean z) {
|
|
this.z = z;
|
|
}
|
|
|
|
public Bundle o0() {
|
|
return this.v;
|
|
}
|
|
|
|
public AtomicBoolean r0() {
|
|
return this.y;
|
|
}
|
|
|
|
public boolean s0() {
|
|
return this.z;
|
|
}
|
|
|
|
@Override // com.applovin.impl.j8
|
|
public void setExpired() {
|
|
this.A = true;
|
|
}
|
|
|
|
public ie(int i, Map map, JSONObject jSONObject, JSONObject jSONObject2, com.applovin.impl.sdk.j jVar) {
|
|
super(i, map, jSONObject, jSONObject2, null, jVar);
|
|
this.v = new Bundle();
|
|
this.y = new AtomicBoolean();
|
|
this.w = new AtomicReference();
|
|
this.x = new AtomicBoolean();
|
|
}
|
|
|
|
public long l0() {
|
|
long a = a("ad_hidden_timeout_ms", -1L);
|
|
return a >= 0 ? a : b("ad_hidden_timeout_ms", ((Long) this.a.a(ve.x7)).longValue());
|
|
}
|
|
|
|
public boolean u0() {
|
|
if (a("schedule_ad_hidden_on_ad_dismiss", Boolean.FALSE).booleanValue()) {
|
|
return true;
|
|
}
|
|
return b("schedule_ad_hidden_on_ad_dismiss", (Boolean) this.a.a(ve.y7)).booleanValue();
|
|
}
|
|
|
|
public boolean v0() {
|
|
if (a("schedule_ad_hidden_on_single_task_app_relaunch", Boolean.FALSE).booleanValue()) {
|
|
return true;
|
|
}
|
|
return b("schedule_ad_hidden_on_single_task_app_relaunch", (Boolean) this.a.a(ve.z7)).booleanValue();
|
|
}
|
|
|
|
public long k0() {
|
|
long a = a("ad_hidden_on_ad_dismiss_callback_delay_ms", -1L);
|
|
return a >= 0 ? a : b("ad_hidden_on_ad_dismiss_callback_delay_ms", ((Long) this.a.a(ve.A7)).longValue());
|
|
}
|
|
|
|
public long n0() {
|
|
if (K() > 0) {
|
|
return SystemClock.elapsedRealtime() - K();
|
|
}
|
|
return -1L;
|
|
}
|
|
|
|
public long p0() {
|
|
long a = a("fullscreen_display_delay_ms", -1L);
|
|
return a >= 0 ? a : ((Long) this.a.a(ve.k7)).longValue();
|
|
}
|
|
|
|
private ie(ie ieVar, com.applovin.impl.mediation.g gVar) {
|
|
super(ieVar.J(), ieVar.i(), ieVar.a(), ieVar.g(), gVar, ieVar.a);
|
|
this.v = new Bundle();
|
|
this.y = new AtomicBoolean();
|
|
this.w = ieVar.w;
|
|
this.x = ieVar.x;
|
|
}
|
|
|
|
public long j0() {
|
|
return a("ahdm", ((Long) this.a.a(ve.m7)).longValue());
|
|
}
|
|
|
|
public boolean w0() {
|
|
return a("susaode", (Boolean) this.a.a(ve.l7)).booleanValue();
|
|
}
|
|
|
|
public String q0() {
|
|
return b("mcode", "");
|
|
}
|
|
|
|
public boolean t0() {
|
|
return this.x.get();
|
|
}
|
|
|
|
public void h0() {
|
|
this.x.set(true);
|
|
}
|
|
|
|
public fh m0() {
|
|
return (fh) this.w.getAndSet(null);
|
|
}
|
|
|
|
@Override // com.applovin.impl.j8
|
|
public long getTimeToLiveMillis() {
|
|
return i0() - (SystemClock.elapsedRealtime() - K());
|
|
}
|
|
|
|
private long i0() {
|
|
long a = a("ad_expiration_ms", -1L);
|
|
return a < 0 ? b("ad_expiration_ms", ((Long) this.a.a(ve.s7)).longValue()) : a;
|
|
}
|
|
|
|
public void a(fh fhVar) {
|
|
this.w.set(fhVar);
|
|
}
|
|
|
|
@Override // com.applovin.impl.ge
|
|
public void a(Bundle bundle) {
|
|
Bundle bundle2;
|
|
super.a(bundle);
|
|
if (bundle == null || (bundle2 = bundle.getBundle("applovin_ad_view_info")) == null) {
|
|
return;
|
|
}
|
|
this.v.putBundle("applovin_ad_view_info", bundle2);
|
|
}
|
|
|
|
@Override // com.applovin.impl.ge
|
|
public ge a(com.applovin.impl.mediation.g gVar) {
|
|
return new ie(this, gVar);
|
|
}
|
|
}
|