- 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
84 lines
2.6 KiB
Java
84 lines
2.6 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.content.Context;
|
|
import android.os.Binder;
|
|
import android.os.Bundle;
|
|
import android.os.Looper;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import com.google.android.gms.common.ConnectionResult;
|
|
import com.google.android.gms.common.internal.BaseGmsClient;
|
|
|
|
/* loaded from: classes3.dex */
|
|
final class zzfnu implements BaseGmsClient.BaseConnectionCallbacks, BaseGmsClient.BaseOnConnectionFailedListener {
|
|
private final zzfop zza;
|
|
private final zzfoj zzb;
|
|
private final Object zzc = new Object();
|
|
private boolean zzd = false;
|
|
private boolean zze = false;
|
|
|
|
public zzfnu(@NonNull Context context, @NonNull Looper looper, @NonNull zzfoj zzfojVar) {
|
|
this.zzb = zzfojVar;
|
|
this.zza = new zzfop(context, looper, this, this, 12800000);
|
|
}
|
|
|
|
private final void zzb() {
|
|
synchronized (this.zzc) {
|
|
try {
|
|
if (!this.zza.isConnected()) {
|
|
if (this.zza.isConnecting()) {
|
|
}
|
|
Binder.flushPendingCommands();
|
|
}
|
|
this.zza.disconnect();
|
|
Binder.flushPendingCommands();
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.internal.BaseGmsClient.BaseConnectionCallbacks
|
|
public final void onConnected(@Nullable Bundle bundle) {
|
|
synchronized (this.zzc) {
|
|
try {
|
|
if (this.zze) {
|
|
return;
|
|
}
|
|
this.zze = true;
|
|
try {
|
|
this.zza.zzp().zzg(new zzfon(this.zzb.zzaV()));
|
|
} catch (Exception unused) {
|
|
} catch (Throwable th) {
|
|
zzb();
|
|
throw th;
|
|
}
|
|
zzb();
|
|
} catch (Throwable th2) {
|
|
throw th2;
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.internal.BaseGmsClient.BaseOnConnectionFailedListener
|
|
public final void onConnectionFailed(@NonNull ConnectionResult connectionResult) {
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.internal.BaseGmsClient.BaseConnectionCallbacks
|
|
public final void onConnectionSuspended(int i) {
|
|
}
|
|
|
|
public final void zza() {
|
|
synchronized (this.zzc) {
|
|
try {
|
|
if (!this.zzd) {
|
|
this.zzd = true;
|
|
this.zza.checkAvailabilityAndConnect();
|
|
}
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
}
|