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: classes2.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) { this.zzbv = new Bundle(); return; } throw new NoSuchMethodError(); } @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, 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; } @Override // com.google.android.gms.common.internal.BaseGmsClient public final /* synthetic */ IInterface createServiceInterface(IBinder iBinder) { if (iBinder == null) { return null; } IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.auth.api.internal.IAuthService"); if (queryLocalInterface instanceof zzan) { return (zzan) queryLocalInterface; } return new zzao(iBinder); } @Override // com.google.android.gms.common.internal.BaseGmsClient public final String getStartServiceAction() { return "com.google.android.gms.auth.service.START"; } @Override // com.google.android.gms.common.internal.BaseGmsClient public final String getServiceDescriptor() { return "com.google.android.gms.auth.api.internal.IAuthService"; } @Override // com.google.android.gms.common.internal.BaseGmsClient public final Bundle getGetServiceRequestExtraArgs() { return this.zzbv; } }