what-the-bank/sources/com/google/android/libraries/places/internal/zzdr.java

31 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.libraries.places.internal;
import com.google.android.libraries.places.api.model.PhotoMetadata;
import com.google.android.libraries.places.api.net.FetchPhotoRequest;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes2.dex */
final class zzdr extends zzek {
/* JADX INFO: Access modifiers changed from: package-private */
public zzdr(FetchPhotoRequest fetchPhotoRequest, String str, boolean z, zzgf zzgfVar) {
super(fetchPhotoRequest, null, str, false, zzgfVar);
}
@Override // com.google.android.libraries.places.internal.zzek
public final Map zzf() {
FetchPhotoRequest fetchPhotoRequest = (FetchPhotoRequest) zzb();
PhotoMetadata photoMetadata = fetchPhotoRequest.getPhotoMetadata();
HashMap hashMap = new HashMap();
zzg(hashMap, "maxheight", fetchPhotoRequest.getMaxHeight(), null);
zzg(hashMap, "maxwidth", fetchPhotoRequest.getMaxWidth(), null);
hashMap.put("photoreference", photoMetadata.zza());
return hashMap;
}
@Override // com.google.android.libraries.places.internal.zzek
protected final String zze() {
return "photo";
}
}