- 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
37 lines
1.0 KiB
Java
37 lines
1.0 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.content.Context;
|
|
import android.opengl.EGL14;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzdf {
|
|
public static void zza(boolean z, String str) throws zzde {
|
|
if (!z) {
|
|
throw new zzde(str);
|
|
}
|
|
}
|
|
|
|
public static boolean zzb(Context context) {
|
|
int i = zzei.zza;
|
|
if (i < 24) {
|
|
return false;
|
|
}
|
|
if (i < 26 && ("samsung".equals(zzei.zzc) || "XT1650".equals(zzei.zzd))) {
|
|
return false;
|
|
}
|
|
if (i >= 26 || context.getPackageManager().hasSystemFeature("android.hardware.vr.high_performance")) {
|
|
return zzd("EGL_EXT_protected_content");
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public static boolean zzc() {
|
|
return zzd("EGL_KHR_surfaceless_context");
|
|
}
|
|
|
|
private static boolean zzd(String str) {
|
|
String eglQueryString = EGL14.eglQueryString(EGL14.eglGetDisplay(0), 12373);
|
|
return eglQueryString != null && eglQueryString.contains(str);
|
|
}
|
|
}
|