discord-jadx/app/src/main/java/b/i/a/f/e/b0.java

71 lines
3.0 KiB
Java
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package b.i.a.f.e;
import android.content.Context;
import android.os.IBinder;
import android.os.IInterface;
import android.os.RemoteException;
import android.util.Log;
import b.i.a.f.e.k.c0;
import b.i.a.f.e.k.d0;
import b.i.a.f.e.k.e0;
import b.i.a.f.f.b;
import com.google.android.gms.common.zzs;
import com.google.android.gms.dynamite.DynamiteModule;
import java.util.Objects;
/* compiled from: com.google.android.gms:play-services-basement@@17.6.0 */
public final class b0 {
public static final z a = new v(x.i("0‚\u0004C0‚\u0003+ \u0003\u0002\u0001\u0002\u0002\t\u0000Âà‡FdJ00"));
/* renamed from: b reason: collision with root package name */
public static final z f1341b = new w(x.i("0‚\u0004¨0‚\u0003 \u0003\u0002\u0001\u0002\u0002\t\u0000Յ¸l}ÓNõ0"));
public static volatile e0 c;
public static final Object d = new Object();
public static Context e;
static {
new t(x.i("0‚\u0005È0‚\u0003° \u0003\u0002\u0001\u0002\u0002\u0014\u0010Še\bsù/Ž"));
new u(x.i("0‚\u0006\u00040‚\u0003ì \u0003\u0002\u0001\u0002\u0002\u0014\u0003£²­×árÊkì"));
}
public static void a() throws DynamiteModule.LoadingException {
e0 e0Var;
if (c == null) {
Objects.requireNonNull(e, "null reference");
synchronized (d) {
try {
if (c == null) {
IBinder b2 = DynamiteModule.c(e, DynamiteModule.f2977b, "com.google.android.gms.googlecertificates").b("com.google.android.gms.common.GoogleCertificatesImpl");
int i = d0.a;
if (b2 == null) {
e0Var = null;
} else {
IInterface queryLocalInterface = b2.queryLocalInterface("com.google.android.gms.common.internal.IGoogleCertificatesApi");
e0Var = queryLocalInterface instanceof e0 ? (e0) queryLocalInterface : new c0(b2);
}
c = e0Var;
}
} catch (Throwable th) {
throw th;
}
}
}
}
public static g0 b(String str, x xVar, boolean z2, boolean z3) {
try {
a();
Objects.requireNonNull(e, "null reference");
try {
return c.V(new zzs(str, xVar, z2, z3), new b(e.getPackageManager())) ? g0.a : new f0(new s(z2, str, xVar));
} catch (RemoteException e2) {
Log.e("GoogleCertificates", "Failed to get Google certificates from remote", e2);
return g0.c("module call", e2);
}
} catch (DynamiteModule.LoadingException e3) {
Log.e("GoogleCertificates", "Failed to get Google certificates from remote", e3);
String valueOf = String.valueOf(e3.getMessage());
return g0.c(valueOf.length() != 0 ? "module init: ".concat(valueOf) : new String("module init: "), e3);
}
}
}