package com.google.android.gms.common.api.internal;
import android.os.Bundle;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.api.Api;
import com.google.android.gms.common.api.Result;
import com.google.android.gms.common.api.internal.BaseImplementation;
import java.util.Collections;
import java.util.Iterator;
import org.checkerframework.checker.initialization.qual.NotOnlyInitialized;
/* loaded from: classes.dex */
public final class zaax implements zabf {
@NotOnlyInitialized
private final zabi zaa;
@Override // com.google.android.gms.common.api.internal.zabf
public final > T zaa(T t) {
this.zaa.zag.zaa.add(t);
return t;
}
@Override // com.google.android.gms.common.api.internal.zabf
public final > T zab(T t) {
throw new IllegalStateException("GoogleApiClient is not connected yet.");
}
@Override // com.google.android.gms.common.api.internal.zabf
public final void zad() {
Iterator it = this.zaa.zaa.values().iterator();
while (it.hasNext()) {
it.next().disconnect();
}
this.zaa.zag.zad = Collections.emptySet();
}
@Override // com.google.android.gms.common.api.internal.zabf
public final void zae() {
this.zaa.zaj();
}
@Override // com.google.android.gms.common.api.internal.zabf
public final void zag(Bundle bundle) {
}
@Override // com.google.android.gms.common.api.internal.zabf
public final void zah(ConnectionResult connectionResult, Api> api, boolean z) {
}
@Override // com.google.android.gms.common.api.internal.zabf
public final void zai(int i) {
}
@Override // com.google.android.gms.common.api.internal.zabf
public final boolean zaj() {
return true;
}
public zaax(zabi zabiVar) {
this.zaa = zabiVar;
}
}