39 lines
1.6 KiB
Java
39 lines
1.6 KiB
Java
package com.google.android.libraries.places.internal;
|
|
|
|
import android.location.Location;
|
|
import com.google.android.libraries.places.api.net.FindCurrentPlaceRequest;
|
|
import com.kofax.mobile.sdk._internal.impl.extraction.rtti.RttiJsonExactionHelper;
|
|
import java.util.HashMap;
|
|
import java.util.Locale;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes2.dex */
|
|
final class zzef extends zzek {
|
|
private final Location zza;
|
|
private final zziy zzb;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public zzef(FindCurrentPlaceRequest findCurrentPlaceRequest, Location location, zziy zziyVar, Locale locale, String str, boolean z, zzgf zzgfVar) {
|
|
super(findCurrentPlaceRequest, locale, str, false, zzgfVar);
|
|
this.zza = location;
|
|
this.zzb = zziyVar;
|
|
}
|
|
|
|
@Override // com.google.android.libraries.places.internal.zzek
|
|
public final Map zzf() {
|
|
FindCurrentPlaceRequest findCurrentPlaceRequest = (FindCurrentPlaceRequest) zzb();
|
|
HashMap hashMap = new HashMap();
|
|
zzg(hashMap, "location", zzfc.zzc(this.zza), null);
|
|
zzg(hashMap, "wifiaccesspoints", zzfc.zzg(this.zzb, 4000), null);
|
|
zzg(hashMap, "precision", zzfc.zza(this.zza), null);
|
|
zzg(hashMap, "timestamp", Long.valueOf(this.zza.getTime()), null);
|
|
zzg(hashMap, RttiJsonExactionHelper.FIELDS, zzfd.zza(findCurrentPlaceRequest.getPlaceFields()), null);
|
|
return hashMap;
|
|
}
|
|
|
|
@Override // com.google.android.libraries.places.internal.zzek
|
|
protected final String zze() {
|
|
return "findplacefromuserlocation/json";
|
|
}
|
|
}
|