Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
package com.google.maps.android.ktx;
|
||||
|
||||
import com.google.android.gms.maps.GoogleMap;
|
||||
import com.google.android.gms.maps.MapView;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.SafeContinuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.DebugProbesKt;
|
||||
import kotlin.jvm.internal.InlineMarker;
|
||||
|
||||
/* JADX INFO: compiled from: MapView.kt */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\u0015\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\u0086Hø\u0001\u0000¢\u0006\u0002\u0010\u0003\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006\u0004"}, d2 = {"awaitMap", "Lcom/google/android/gms/maps/GoogleMap;", "Lcom/google/android/gms/maps/MapView;", "(Lcom/google/android/gms/maps/MapView;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "maps-ktx_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
public final class MapViewKt {
|
||||
public static final Object awaitMap(MapView mapView, Continuation<? super GoogleMap> continuation) throws Throwable {
|
||||
SafeContinuation safeContinuation = new SafeContinuation(IntrinsicsKt.intercepted(continuation));
|
||||
mapView.getMapAsync(new MapViewKt$awaitMap$2$1(safeContinuation));
|
||||
Object orThrow = safeContinuation.getOrThrow();
|
||||
if (orThrow == IntrinsicsKt.getCOROUTINE_SUSPENDED()) {
|
||||
DebugProbesKt.probeCoroutineSuspended(continuation);
|
||||
}
|
||||
return orThrow;
|
||||
}
|
||||
|
||||
private static final Object awaitMap$$forInline(MapView mapView, Continuation<? super GoogleMap> continuation) throws Throwable {
|
||||
InlineMarker.mark(0);
|
||||
SafeContinuation safeContinuation = new SafeContinuation(IntrinsicsKt.intercepted(continuation));
|
||||
mapView.getMapAsync(new MapViewKt$awaitMap$2$1(safeContinuation));
|
||||
Unit unit = Unit.INSTANCE;
|
||||
Object orThrow = safeContinuation.getOrThrow();
|
||||
if (orThrow == IntrinsicsKt.getCOROUTINE_SUSPENDED()) {
|
||||
DebugProbesKt.probeCoroutineSuspended(continuation);
|
||||
}
|
||||
InlineMarker.mark(1);
|
||||
return orThrow;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user