- 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
123 lines
4.2 KiB
Java
123 lines
4.2 KiB
Java
package com.applovin.impl;
|
|
|
|
import android.app.Activity;
|
|
import android.app.AlertDialog;
|
|
import android.content.DialogInterface;
|
|
import com.applovin.sdk.AppLovinSdkUtils;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class kb {
|
|
private final com.applovin.impl.sdk.j a;
|
|
private final Activity b;
|
|
private AlertDialog c;
|
|
private a d;
|
|
|
|
public interface a {
|
|
void b();
|
|
|
|
void c();
|
|
}
|
|
|
|
public void a(a aVar) {
|
|
this.d = aVar;
|
|
}
|
|
|
|
public kb(Activity activity, com.applovin.impl.sdk.j jVar) {
|
|
this.a = jVar;
|
|
this.b = activity;
|
|
}
|
|
|
|
public void a() {
|
|
this.b.runOnUiThread(new Runnable() { // from class: com.applovin.impl.kb$$ExternalSyntheticLambda5
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
kb.this.c();
|
|
}
|
|
});
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public /* synthetic */ void c() {
|
|
AlertDialog alertDialog = this.c;
|
|
if (alertDialog != null) {
|
|
alertDialog.dismiss();
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public /* synthetic */ void d() {
|
|
this.c = new AlertDialog.Builder(this.b).setTitle((CharSequence) this.a.a(sj.v1)).setMessage((CharSequence) this.a.a(sj.w1)).setCancelable(false).setPositiveButton((CharSequence) this.a.a(sj.y1), new DialogInterface.OnClickListener() { // from class: com.applovin.impl.kb$$ExternalSyntheticLambda3
|
|
@Override // android.content.DialogInterface.OnClickListener
|
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
|
kb.this.a(dialogInterface, i);
|
|
}
|
|
}).setNegativeButton((CharSequence) this.a.a(sj.x1), new DialogInterface.OnClickListener() { // from class: com.applovin.impl.kb$$ExternalSyntheticLambda4
|
|
@Override // android.content.DialogInterface.OnClickListener
|
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
|
kb.this.b(dialogInterface, i);
|
|
}
|
|
}).show();
|
|
}
|
|
|
|
public void e() {
|
|
this.b.runOnUiThread(new Runnable() { // from class: com.applovin.impl.kb$$ExternalSyntheticLambda1
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
kb.this.d();
|
|
}
|
|
});
|
|
}
|
|
|
|
public boolean b() {
|
|
AlertDialog alertDialog = this.c;
|
|
if (alertDialog != null) {
|
|
return alertDialog.isShowing();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static /* synthetic */ void a(Runnable runnable, DialogInterface dialogInterface, int i) {
|
|
if (runnable != null) {
|
|
runnable.run();
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public /* synthetic */ void b(DialogInterface dialogInterface, int i) {
|
|
this.d.b();
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public /* synthetic */ void a(com.applovin.impl.sdk.ad.b bVar, final Runnable runnable) {
|
|
AlertDialog.Builder builder = new AlertDialog.Builder(this.b);
|
|
builder.setTitle(bVar.b0());
|
|
String Z = bVar.Z();
|
|
if (AppLovinSdkUtils.isValidString(Z)) {
|
|
builder.setMessage(Z);
|
|
}
|
|
builder.setPositiveButton(bVar.a0(), new DialogInterface.OnClickListener() { // from class: com.applovin.impl.kb$$ExternalSyntheticLambda0
|
|
@Override // android.content.DialogInterface.OnClickListener
|
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
|
kb.a(runnable, dialogInterface, i);
|
|
}
|
|
});
|
|
builder.setCancelable(false);
|
|
this.c = builder.show();
|
|
}
|
|
|
|
public void b(final com.applovin.impl.sdk.ad.b bVar, final Runnable runnable) {
|
|
this.b.runOnUiThread(new Runnable() { // from class: com.applovin.impl.kb$$ExternalSyntheticLambda2
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
kb.this.a(bVar, runnable);
|
|
}
|
|
});
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public /* synthetic */ void a(DialogInterface dialogInterface, int i) {
|
|
this.d.c();
|
|
}
|
|
}
|