package com.google.android.gms.internal.location; import android.app.PendingIntent; import android.os.RemoteException; import com.google.android.gms.common.api.Api; import com.google.android.gms.common.api.GoogleApiClient; import com.google.android.gms.common.api.Status; import com.google.android.gms.common.internal.Preconditions; /* loaded from: classes2.dex */ final class zzd extends zzf { final long zza; final PendingIntent zzb; /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public zzd(zzg zzgVar, GoogleApiClient googleApiClient, long j, PendingIntent pendingIntent) { super(googleApiClient); this.zza = j; this.zzb = pendingIntent; } @Override // com.google.android.gms.common.api.internal.BaseImplementation.ApiMethodImpl public final /* synthetic */ void doExecute(Api.AnyClient anyClient) throws RemoteException { zzbe zzbeVar = (zzbe) anyClient; long j = this.zza; PendingIntent pendingIntent = this.zzb; Preconditions.checkNotNull(pendingIntent); Preconditions.checkArgument(j >= 0, "detectionIntervalMillis must be >= 0"); ((zzam) zzbeVar.getService()).zzr(j, true, pendingIntent); setResult((zzd) Status.RESULT_SUCCESS); } }