what-the-bank/sources/com/google/android/gms/common/internal/zzg.java

32 lines
1.1 KiB
Java

package com.google.android.gms.common.internal;
import android.os.Bundle;
import com.google.android.gms.common.ConnectionResult;
/* loaded from: classes.dex */
public final class zzg extends zza {
final BaseGmsClient zze;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public zzg(BaseGmsClient baseGmsClient, int i, Bundle bundle) {
super(baseGmsClient, i, null);
this.zze = baseGmsClient;
}
@Override // com.google.android.gms.common.internal.zza
protected final void zzb(ConnectionResult connectionResult) {
if (!this.zze.enableLocalFallback() || !BaseGmsClient.zzo(this.zze)) {
this.zze.zzc.onReportServiceBinding(connectionResult);
this.zze.onConnectionFailed(connectionResult);
} else {
BaseGmsClient.zzk(this.zze, 16);
}
}
@Override // com.google.android.gms.common.internal.zza
protected final boolean zzd() {
this.zze.zzc.onReportServiceBinding(ConnectionResult.RESULT_SUCCESS);
return true;
}
}