Initial version -- added millennium read funcionality

This commit is contained in:
Pablo
2026-03-09 22:05:28 +01:00
commit 77c2ded482
2770 changed files with 141927 additions and 0 deletions
@@ -0,0 +1,62 @@
package com.google.android.gms.maps;
import android.content.Context;
import android.os.RemoteException;
import android.view.ViewGroup;
import com.google.android.gms.common.GooglePlayServicesNotAvailableException;
import com.google.android.gms.dynamic.DeferredLifecycleHelper;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.dynamic.OnDelegateCreatedListener;
import com.google.android.gms.maps.internal.zzcc;
import com.google.android.gms.maps.model.RuntimeRemoteException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */
/* JADX INFO: loaded from: classes2.dex */
final class zzat extends DeferredLifecycleHelper {
protected OnDelegateCreatedListener zza;
private final ViewGroup zzb;
private final Context zzc;
private final StreetViewPanoramaOptions zzd;
private final List zze = new ArrayList();
zzat(ViewGroup viewGroup, Context context, StreetViewPanoramaOptions streetViewPanoramaOptions) {
this.zzb = viewGroup;
this.zzc = context;
this.zzd = streetViewPanoramaOptions;
}
@Override // com.google.android.gms.dynamic.DeferredLifecycleHelper
protected final void createDelegate(OnDelegateCreatedListener onDelegateCreatedListener) {
this.zza = onDelegateCreatedListener;
zzb();
}
public final void zza(OnStreetViewPanoramaReadyCallback onStreetViewPanoramaReadyCallback) {
if (getDelegate() != null) {
((zzas) getDelegate()).getStreetViewPanoramaAsync(onStreetViewPanoramaReadyCallback);
} else {
this.zze.add(onStreetViewPanoramaReadyCallback);
}
}
public final void zzb() {
if (this.zza == null || getDelegate() != null) {
return;
}
try {
MapsInitializer.initialize(this.zzc);
this.zza.onDelegateCreated(new zzas(this.zzb, zzcc.zza(this.zzc, null).zzi(ObjectWrapper.wrap(this.zzc), this.zzd)));
Iterator it = this.zze.iterator();
while (it.hasNext()) {
((zzas) getDelegate()).getStreetViewPanoramaAsync((OnStreetViewPanoramaReadyCallback) it.next());
}
this.zze.clear();
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
} catch (GooglePlayServicesNotAvailableException unused) {
}
}
}