- 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
58 lines
2.1 KiB
Java
58 lines
2.1 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.content.Context;
|
|
import android.os.Binder;
|
|
import androidx.annotation.GuardedBy;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.VisibleForTesting;
|
|
import com.google.android.gms.common.ConnectionResult;
|
|
import com.google.android.gms.common.internal.BaseGmsClient;
|
|
import com.google.common.util.concurrent.ListenableFuture;
|
|
import java.util.concurrent.Executor;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public abstract class zzdxs implements BaseGmsClient.BaseConnectionCallbacks, BaseGmsClient.BaseOnConnectionFailedListener {
|
|
protected final zzcab zza = new zzcab();
|
|
protected final Object zzb = new Object();
|
|
protected boolean zzc = false;
|
|
protected boolean zzd = false;
|
|
protected zzbvk zze;
|
|
|
|
@GuardedBy("lock")
|
|
@VisibleForTesting(otherwise = 3)
|
|
protected zzbup zzf;
|
|
|
|
public static void zzc(Context context, ListenableFuture listenableFuture, Executor executor) {
|
|
if (((Boolean) zzbed.zzj.zze()).booleanValue() || ((Boolean) zzbed.zzh.zze()).booleanValue()) {
|
|
zzgch.zzr(listenableFuture, new zzdxp(context), executor);
|
|
}
|
|
}
|
|
|
|
public void onConnectionFailed(@NonNull ConnectionResult connectionResult) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zze("Disconnected from remote ad request service.");
|
|
this.zza.zzd(new zzdyh(1));
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.internal.BaseGmsClient.BaseConnectionCallbacks
|
|
public final void onConnectionSuspended(int i) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zze("Cannot connect to remote service, fallback to local instance.");
|
|
}
|
|
|
|
public final void zzb() {
|
|
synchronized (this.zzb) {
|
|
try {
|
|
this.zzd = true;
|
|
if (!this.zzf.isConnected()) {
|
|
if (this.zzf.isConnecting()) {
|
|
}
|
|
Binder.flushPendingCommands();
|
|
}
|
|
this.zzf.disconnect();
|
|
Binder.flushPendingCommands();
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
}
|