51 lines
1.8 KiB
Java
51 lines
1.8 KiB
Java
package com.google.android.gms.common.api.internal;
|
|
|
|
import android.content.Context;
|
|
import android.os.Looper;
|
|
import com.google.android.gms.common.api.Api;
|
|
import com.google.android.gms.common.api.Api.ApiOptions;
|
|
import com.google.android.gms.common.api.GoogleApi;
|
|
import com.google.android.gms.common.api.Result;
|
|
import com.google.android.gms.common.api.internal.BaseImplementation;
|
|
import org.checkerframework.checker.initialization.qual.NotOnlyInitialized;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zabv<O extends Api.ApiOptions> extends zaag {
|
|
|
|
@NotOnlyInitialized
|
|
private final GoogleApi<O> zaa;
|
|
|
|
public zabv(GoogleApi<O> googleApi) {
|
|
super("Method is not supported by connectionless client. APIs supporting connectionless client must not call this method.");
|
|
this.zaa = googleApi;
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.api.GoogleApiClient
|
|
public final <A extends Api.AnyClient, R extends Result, T extends BaseImplementation.ApiMethodImpl<R, A>> T enqueue(T t) {
|
|
return (T) this.zaa.doRead((GoogleApi<O>) t);
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.api.GoogleApiClient
|
|
public final <A extends Api.AnyClient, T extends BaseImplementation.ApiMethodImpl<? extends Result, A>> T execute(T t) {
|
|
return (T) this.zaa.doWrite((GoogleApi<O>) t);
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.api.GoogleApiClient
|
|
public final Context getContext() {
|
|
return this.zaa.getApplicationContext();
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.api.GoogleApiClient
|
|
public final Looper getLooper() {
|
|
return this.zaa.getLooper();
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.api.GoogleApiClient
|
|
public final void zao(zada zadaVar) {
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.api.GoogleApiClient
|
|
public final void zap(zada zadaVar) {
|
|
}
|
|
}
|