- 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
73 lines
1.9 KiB
Java
73 lines
1.9 KiB
Java
package com.applovin.impl;
|
|
|
|
import android.media.DeniedByServerException;
|
|
import android.media.MediaDrm;
|
|
import android.media.MediaDrmResetException;
|
|
import android.media.NotProvisionedException;
|
|
import com.applovin.impl.y5;
|
|
import com.facebook.ads.AdError;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class d7 {
|
|
public static int a(Exception exc, int i) {
|
|
int i2 = xp.a;
|
|
if (i2 >= 21 && b.a(exc)) {
|
|
return b.b(exc);
|
|
}
|
|
if (i2 >= 23 && c.a(exc)) {
|
|
return 6006;
|
|
}
|
|
if (i2 >= 18 && a.b(exc)) {
|
|
return AdError.ICONVIEW_MISSING_ERROR_CODE;
|
|
}
|
|
if (i2 >= 18 && a.a(exc)) {
|
|
return 6007;
|
|
}
|
|
if (exc instanceof sp) {
|
|
return AdError.MEDIAVIEW_MISSING_ERROR_CODE;
|
|
}
|
|
if (exc instanceof y5.e) {
|
|
return AdError.AD_ASSETS_UNSUPPORTED_TYPE_ERROR_CODE;
|
|
}
|
|
if (exc instanceof zb) {
|
|
return 6008;
|
|
}
|
|
if (i == 1) {
|
|
return 6006;
|
|
}
|
|
if (i == 2) {
|
|
return 6004;
|
|
}
|
|
if (i == 3) {
|
|
return AdError.ICONVIEW_MISSING_ERROR_CODE;
|
|
}
|
|
throw new IllegalArgumentException();
|
|
}
|
|
|
|
public static final class a {
|
|
public static boolean b(Throwable th) {
|
|
return th instanceof NotProvisionedException;
|
|
}
|
|
|
|
public static boolean a(Throwable th) {
|
|
return th instanceof DeniedByServerException;
|
|
}
|
|
}
|
|
|
|
public static final class b {
|
|
public static boolean a(Throwable th) {
|
|
return th instanceof MediaDrm.MediaDrmStateException;
|
|
}
|
|
|
|
public static int b(Throwable th) {
|
|
return t2.a(xp.a(((MediaDrm.MediaDrmStateException) th).getDiagnosticInfo()));
|
|
}
|
|
}
|
|
|
|
public static final class c {
|
|
public static boolean a(Throwable th) {
|
|
return th instanceof MediaDrmResetException;
|
|
}
|
|
}
|
|
}
|