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,151 @@
package com.google.android.gms.maps;
import android.app.Activity;
import android.os.Bundle;
import android.os.RemoteException;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.maps.internal.IMapViewDelegate;
import com.google.android.gms.maps.internal.MapLifecycleDelegate;
import com.google.android.gms.maps.internal.zzcb;
import com.google.android.gms.maps.model.RuntimeRemoteException;
/* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */
/* JADX INFO: loaded from: classes2.dex */
final class zzah implements MapLifecycleDelegate {
private final ViewGroup zza;
private final IMapViewDelegate zzb;
private View zzc;
public zzah(ViewGroup viewGroup, IMapViewDelegate iMapViewDelegate) {
this.zzb = (IMapViewDelegate) Preconditions.checkNotNull(iMapViewDelegate);
this.zza = (ViewGroup) Preconditions.checkNotNull(viewGroup);
}
@Override // com.google.android.gms.dynamic.LifecycleDelegate
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
throw new UnsupportedOperationException("onCreateView not allowed on MapViewDelegate");
}
@Override // com.google.android.gms.dynamic.LifecycleDelegate
public final void onDestroyView() {
throw new UnsupportedOperationException("onDestroyView not allowed on MapViewDelegate");
}
@Override // com.google.android.gms.dynamic.LifecycleDelegate
public final void onInflate(Activity activity, Bundle bundle, Bundle bundle2) {
throw new UnsupportedOperationException("onInflate not allowed on MapViewDelegate");
}
@Override // com.google.android.gms.maps.internal.MapLifecycleDelegate
public final void getMapAsync(OnMapReadyCallback onMapReadyCallback) {
try {
this.zzb.getMapAsync(new zzag(this, onMapReadyCallback));
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
@Override // com.google.android.gms.dynamic.LifecycleDelegate
public final void onDestroy() {
try {
this.zzb.onDestroy();
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
@Override // com.google.android.gms.dynamic.LifecycleDelegate
public final void onLowMemory() {
try {
this.zzb.onLowMemory();
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
@Override // com.google.android.gms.dynamic.LifecycleDelegate
public final void onPause() {
try {
this.zzb.onPause();
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
@Override // com.google.android.gms.dynamic.LifecycleDelegate
public final void onResume() {
try {
this.zzb.onResume();
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
@Override // com.google.android.gms.dynamic.LifecycleDelegate
public final void onStart() {
try {
this.zzb.onStart();
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
@Override // com.google.android.gms.dynamic.LifecycleDelegate
public final void onStop() {
try {
this.zzb.onStop();
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
public final void zzb() {
try {
this.zzb.onExitAmbient();
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
@Override // com.google.android.gms.dynamic.LifecycleDelegate
public final void onSaveInstanceState(Bundle bundle) {
try {
Bundle bundle2 = new Bundle();
zzcb.zzb(bundle, bundle2);
this.zzb.onSaveInstanceState(bundle2);
zzcb.zzb(bundle2, bundle);
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
public final void zza(Bundle bundle) {
try {
Bundle bundle2 = new Bundle();
zzcb.zzb(bundle, bundle2);
this.zzb.onEnterAmbient(bundle2);
zzcb.zzb(bundle2, bundle);
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
@Override // com.google.android.gms.dynamic.LifecycleDelegate
public final void onCreate(Bundle bundle) {
try {
Bundle bundle2 = new Bundle();
zzcb.zzb(bundle, bundle2);
this.zzb.onCreate(bundle2);
zzcb.zzb(bundle2, bundle);
this.zzc = (View) ObjectWrapper.unwrap(this.zzb.getView());
this.zza.removeAllViews();
this.zza.addView(this.zzc);
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
}