package com.google.android.gms.internal.auth; import android.content.Context; import android.os.Bundle; import android.os.IBinder; import android.os.IInterface; import android.os.Looper; import android.text.TextUtils; import com.google.android.gms.auth.api.AuthProxy; import com.google.android.gms.auth.api.AuthProxyOptions; import com.google.android.gms.common.GooglePlayServicesUtilLight; import com.google.android.gms.common.api.GoogleApiClient; import com.google.android.gms.common.internal.ClientSettings; import com.google.android.gms.common.internal.GmsClient; /* loaded from: classes.dex */ public final class zzak extends GmsClient { private final Bundle zzbv; public zzak(Context context, Looper looper, ClientSettings clientSettings, AuthProxyOptions authProxyOptions, GoogleApiClient.ConnectionCallbacks connectionCallbacks, GoogleApiClient.OnConnectionFailedListener onConnectionFailedListener) { super(context, looper, 16, clientSettings, connectionCallbacks, onConnectionFailedListener); if (authProxyOptions != null) { throw new NoSuchMethodError(); } this.zzbv = new Bundle(); } @Override // com.google.android.gms.common.internal.BaseGmsClient protected final /* synthetic */ IInterface createServiceInterface(IBinder iBinder) { if (iBinder == null) { return null; } IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.auth.api.internal.IAuthService"); return queryLocalInterface instanceof zzan ? (zzan) queryLocalInterface : new zzao(iBinder); } @Override // com.google.android.gms.common.internal.BaseGmsClient protected final Bundle getGetServiceRequestExtraArgs() { return this.zzbv; } @Override // com.google.android.gms.common.internal.BaseGmsClient, com.google.android.gms.common.api.Api.Client public final int getMinApkVersion() { return GooglePlayServicesUtilLight.GOOGLE_PLAY_SERVICES_VERSION_CODE; } @Override // com.google.android.gms.common.internal.BaseGmsClient protected final String getServiceDescriptor() { return "com.google.android.gms.auth.api.internal.IAuthService"; } @Override // com.google.android.gms.common.internal.BaseGmsClient protected final String getStartServiceAction() { return "com.google.android.gms.auth.service.START"; } @Override // com.google.android.gms.common.internal.BaseGmsClient, com.google.android.gms.common.api.Api.Client public final boolean requiresSignIn() { ClientSettings clientSettings = getClientSettings(); return (TextUtils.isEmpty(clientSettings.getAccountName()) || clientSettings.getApplicableScopes(AuthProxy.API).isEmpty()) ? false : true; } }