Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
package com.google.maps.android.ktx;
|
||||
|
||||
import com.google.android.gms.maps.GoogleMap;
|
||||
import com.google.android.gms.maps.MapFragment;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.DebugProbesKt;
|
||||
import kotlin.jvm.internal.InlineMarker;
|
||||
import kotlinx.coroutines.CancellableContinuationImpl;
|
||||
|
||||
/* JADX INFO: compiled from: MapFragment.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/MapFragment;", "(Lcom/google/android/gms/maps/MapFragment;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "maps-ktx_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
public final class MapFragmentKt {
|
||||
private static final Object awaitMap$$forInline(MapFragment mapFragment, Continuation<? super GoogleMap> continuation) throws Throwable {
|
||||
InlineMarker.mark(0);
|
||||
CancellableContinuationImpl cancellableContinuationImpl = new CancellableContinuationImpl(IntrinsicsKt.intercepted(continuation), 1);
|
||||
cancellableContinuationImpl.initCancellability();
|
||||
mapFragment.getMapAsync(new MapFragmentKt$awaitMap$2$1(cancellableContinuationImpl));
|
||||
Unit unit = Unit.INSTANCE;
|
||||
Object result = cancellableContinuationImpl.getResult();
|
||||
if (result == IntrinsicsKt.getCOROUTINE_SUSPENDED()) {
|
||||
DebugProbesKt.probeCoroutineSuspended(continuation);
|
||||
}
|
||||
InlineMarker.mark(1);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static final Object awaitMap(MapFragment mapFragment, Continuation<? super GoogleMap> continuation) throws Throwable {
|
||||
CancellableContinuationImpl cancellableContinuationImpl = new CancellableContinuationImpl(IntrinsicsKt.intercepted(continuation), 1);
|
||||
cancellableContinuationImpl.initCancellability();
|
||||
mapFragment.getMapAsync(new MapFragmentKt$awaitMap$2$1(cancellableContinuationImpl));
|
||||
Object result = cancellableContinuationImpl.getResult();
|
||||
if (result == IntrinsicsKt.getCOROUTINE_SUSPENDED()) {
|
||||
DebugProbesKt.probeCoroutineSuspended(continuation);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user