Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
74
apk_decompiled/sources/j1/C0401a.java
Normal file
74
apk_decompiled/sources/j1/C0401a.java
Normal file
@@ -0,0 +1,74 @@
|
||||
package j1;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import com.adif.elcanomovil.domain.entities.deeplink.DeepLinkResult;
|
||||
import com.adif.elcanomovil.domain.providers.DynamicLinkFacade;
|
||||
import com.adif.elcanomovil.domain.usecases.DynamicLinkUseCase;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* renamed from: j1.a, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0401a extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f6905a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ DynamicLinkUseCase f6906b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Intent f6907c;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0401a(DynamicLinkUseCase dynamicLinkUseCase, Intent intent, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f6906b = dynamicLinkUseCase;
|
||||
this.f6907c = intent;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new C0401a(this.f6906b, this.f6907c, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((C0401a) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
DynamicLinkFacade dynamicLinkFacade;
|
||||
DeepLinkResult linkResult;
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.f6905a;
|
||||
DynamicLinkUseCase dynamicLinkUseCase = this.f6906b;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
dynamicLinkFacade = dynamicLinkUseCase.dynamicLinkFacade;
|
||||
this.f6905a = 1;
|
||||
obj = dynamicLinkFacade.dynamicLink(this.f6907c, this);
|
||||
if (obj == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
Uri uri = (Uri) obj;
|
||||
if (uri == null) {
|
||||
return null;
|
||||
}
|
||||
linkResult = dynamicLinkUseCase.linkResult(uri);
|
||||
return linkResult;
|
||||
}
|
||||
}
|
||||
37
apk_decompiled/sources/j1/C0402b.java
Normal file
37
apk_decompiled/sources/j1/C0402b.java
Normal file
@@ -0,0 +1,37 @@
|
||||
package j1;
|
||||
|
||||
import com.adif.elcanomovil.domain.usecases.DynamicLinkUseCase;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.jvm.internal.ContinuationImpl;
|
||||
import kotlin.jvm.internal.IntCompanionObject;
|
||||
import kotlin.jvm.internal.Ref;
|
||||
|
||||
/* renamed from: j1.b, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0402b extends ContinuationImpl {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public Ref.ObjectRef f6908a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public /* synthetic */ Object f6909b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ DynamicLinkUseCase f6910c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f6911d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0402b(DynamicLinkUseCase dynamicLinkUseCase, Continuation continuation) {
|
||||
super(continuation);
|
||||
this.f6910c = dynamicLinkUseCase;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
this.f6909b = obj;
|
||||
this.f6911d |= IntCompanionObject.MIN_VALUE;
|
||||
return this.f6910c.linkFromDeparture(null, null, false, null, null, this);
|
||||
}
|
||||
}
|
||||
76
apk_decompiled/sources/j1/c.java
Normal file
76
apk_decompiled/sources/j1/c.java
Normal file
@@ -0,0 +1,76 @@
|
||||
package j1;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.CirculationType;
|
||||
import com.adif.elcanomovil.domain.entities.deeplink.SocialMetaTag;
|
||||
import com.adif.elcanomovil.domain.usecases.DynamicLinkUseCase;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class c extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f6912a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ DynamicLinkUseCase f6913b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ String f6914c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ String f6915d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final /* synthetic */ boolean f6916e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final /* synthetic */ CirculationType f6917f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final /* synthetic */ SocialMetaTag f6918g;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public c(DynamicLinkUseCase dynamicLinkUseCase, String str, String str2, boolean z3, CirculationType circulationType, SocialMetaTag socialMetaTag, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f6913b = dynamicLinkUseCase;
|
||||
this.f6914c = str;
|
||||
this.f6915d = str2;
|
||||
this.f6916e = z3;
|
||||
this.f6917f = circulationType;
|
||||
this.f6918g = socialMetaTag;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new c(this.f6913b, this.f6914c, this.f6915d, this.f6916e, this.f6917f, this.f6918g, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((c) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
Object generateFromDeparturesTab;
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.f6912a;
|
||||
if (i != 0) {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
return obj;
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
this.f6912a = 1;
|
||||
generateFromDeparturesTab = this.f6913b.generateFromDeparturesTab(this.f6914c, this.f6915d, this.f6916e, this.f6917f, this.f6918g, this);
|
||||
return generateFromDeparturesTab == coroutine_suspended ? coroutine_suspended : generateFromDeparturesTab;
|
||||
}
|
||||
}
|
||||
99
apk_decompiled/sources/j1/d.java
Normal file
99
apk_decompiled/sources/j1/d.java
Normal file
@@ -0,0 +1,99 @@
|
||||
package j1;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.CirculationType;
|
||||
import com.adif.elcanomovil.domain.entities.deeplink.SocialMetaTag;
|
||||
import com.adif.elcanomovil.domain.usecases.DynamicLinkUseCase;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlin.jvm.internal.Ref;
|
||||
import kotlinx.coroutines.BuildersKt__Builders_commonKt;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
import kotlinx.coroutines.Deferred;
|
||||
import kotlinx.coroutines.Dispatchers;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class d extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f6919a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public /* synthetic */ Object f6920b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Ref.ObjectRef f6921c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ DynamicLinkUseCase f6922d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final /* synthetic */ String f6923e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final /* synthetic */ String f6924f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final /* synthetic */ boolean f6925g;
|
||||
public final /* synthetic */ CirculationType h;
|
||||
public final /* synthetic */ SocialMetaTag i;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public d(Ref.ObjectRef objectRef, DynamicLinkUseCase dynamicLinkUseCase, String str, String str2, boolean z3, CirculationType circulationType, SocialMetaTag socialMetaTag, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f6921c = objectRef;
|
||||
this.f6922d = dynamicLinkUseCase;
|
||||
this.f6923e = str;
|
||||
this.f6924f = str2;
|
||||
this.f6925g = z3;
|
||||
this.h = circulationType;
|
||||
this.i = socialMetaTag;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
d dVar = new d(this.f6921c, this.f6922d, this.f6923e, this.f6924f, this.f6925g, this.h, this.i, continuation);
|
||||
dVar.f6920b = obj;
|
||||
return dVar;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((d) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
Deferred async$default;
|
||||
Ref.ObjectRef objectRef;
|
||||
T t2;
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.f6919a;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
async$default = BuildersKt__Builders_commonKt.async$default((CoroutineScope) this.f6920b, Dispatchers.getIO(), null, new c(this.f6922d, this.f6923e, this.f6924f, this.f6925g, this.h, this.i, null), 2, null);
|
||||
Ref.ObjectRef objectRef2 = this.f6921c;
|
||||
this.f6920b = objectRef2;
|
||||
this.f6919a = 1;
|
||||
Object await = async$default.await(this);
|
||||
if (await == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
objectRef = objectRef2;
|
||||
t2 = await;
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
objectRef = (Ref.ObjectRef) this.f6920b;
|
||||
ResultKt.throwOnFailure(obj);
|
||||
t2 = obj;
|
||||
}
|
||||
objectRef.element = t2;
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
36
apk_decompiled/sources/j1/e.java
Normal file
36
apk_decompiled/sources/j1/e.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package j1;
|
||||
|
||||
import com.adif.elcanomovil.domain.usecases.DynamicLinkUseCase;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.jvm.internal.ContinuationImpl;
|
||||
import kotlin.jvm.internal.IntCompanionObject;
|
||||
import kotlin.jvm.internal.Ref;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class e extends ContinuationImpl {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public Ref.ObjectRef f6926a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public /* synthetic */ Object f6927b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ DynamicLinkUseCase f6928c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f6929d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public e(DynamicLinkUseCase dynamicLinkUseCase, Continuation continuation) {
|
||||
super(continuation);
|
||||
this.f6928c = dynamicLinkUseCase;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
this.f6927b = obj;
|
||||
this.f6929d |= IntCompanionObject.MIN_VALUE;
|
||||
return this.f6928c.linkFromTrain(null, null, this);
|
||||
}
|
||||
}
|
||||
70
apk_decompiled/sources/j1/f.java
Normal file
70
apk_decompiled/sources/j1/f.java
Normal file
@@ -0,0 +1,70 @@
|
||||
package j1;
|
||||
|
||||
import com.adif.elcanomovil.domain.BuildConfig;
|
||||
import com.adif.elcanomovil.domain.entities.circulation.TrainCirculationInfo;
|
||||
import com.adif.elcanomovil.domain.entities.deeplink.SocialMetaTag;
|
||||
import com.adif.elcanomovil.domain.providers.DynamicLinkFacade;
|
||||
import com.adif.elcanomovil.domain.usecases.DynamicLinkUseCase;
|
||||
import com.adif.elcanomovil.domain.usecases.DynamicLinkUseCaseKt;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class f extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f6930a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ DynamicLinkUseCase f6931b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ TrainCirculationInfo f6932c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ SocialMetaTag f6933d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public f(DynamicLinkUseCase dynamicLinkUseCase, TrainCirculationInfo trainCirculationInfo, SocialMetaTag socialMetaTag, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f6931b = dynamicLinkUseCase;
|
||||
this.f6932c = trainCirculationInfo;
|
||||
this.f6933d = socialMetaTag;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new f(this.f6931b, this.f6932c, this.f6933d, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((f) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
DynamicLinkFacade dynamicLinkFacade;
|
||||
String asUrl;
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.f6930a;
|
||||
if (i != 0) {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
return obj;
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
dynamicLinkFacade = this.f6931b.dynamicLinkFacade;
|
||||
asUrl = DynamicLinkUseCaseKt.getAsUrl(this.f6932c);
|
||||
this.f6930a = 1;
|
||||
Object create = dynamicLinkFacade.create(asUrl, BuildConfig.dynamicLinkUrl, "http://adif.es/es_ES/adif_movil.shtml", "960191892", com.adif.elcanomovil.BuildConfig.APPLICATION_ID, "es.adif.adifentumovil", this.f6933d, this);
|
||||
return create == coroutine_suspended ? coroutine_suspended : create;
|
||||
}
|
||||
}
|
||||
91
apk_decompiled/sources/j1/g.java
Normal file
91
apk_decompiled/sources/j1/g.java
Normal file
@@ -0,0 +1,91 @@
|
||||
package j1;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.circulation.TrainCirculationInfo;
|
||||
import com.adif.elcanomovil.domain.entities.deeplink.SocialMetaTag;
|
||||
import com.adif.elcanomovil.domain.usecases.DynamicLinkUseCase;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlin.jvm.internal.Ref;
|
||||
import kotlinx.coroutines.BuildersKt__Builders_commonKt;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
import kotlinx.coroutines.Deferred;
|
||||
import kotlinx.coroutines.Dispatchers;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class g extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f6934a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public /* synthetic */ Object f6935b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Ref.ObjectRef f6936c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ DynamicLinkUseCase f6937d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final /* synthetic */ TrainCirculationInfo f6938e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final /* synthetic */ SocialMetaTag f6939f;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public g(Ref.ObjectRef objectRef, DynamicLinkUseCase dynamicLinkUseCase, TrainCirculationInfo trainCirculationInfo, SocialMetaTag socialMetaTag, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f6936c = objectRef;
|
||||
this.f6937d = dynamicLinkUseCase;
|
||||
this.f6938e = trainCirculationInfo;
|
||||
this.f6939f = socialMetaTag;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
g gVar = new g(this.f6936c, this.f6937d, this.f6938e, this.f6939f, continuation);
|
||||
gVar.f6935b = obj;
|
||||
return gVar;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((g) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
Deferred async$default;
|
||||
Ref.ObjectRef objectRef;
|
||||
T t2;
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.f6934a;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
async$default = BuildersKt__Builders_commonKt.async$default((CoroutineScope) this.f6935b, Dispatchers.getIO(), null, new f(this.f6937d, this.f6938e, this.f6939f, null), 2, null);
|
||||
Ref.ObjectRef objectRef2 = this.f6936c;
|
||||
this.f6935b = objectRef2;
|
||||
this.f6934a = 1;
|
||||
Object await = async$default.await(this);
|
||||
if (await == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
objectRef = objectRef2;
|
||||
t2 = await;
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
objectRef = (Ref.ObjectRef) this.f6935b;
|
||||
ResultKt.throwOnFailure(obj);
|
||||
t2 = obj;
|
||||
}
|
||||
objectRef.element = t2;
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
81
apk_decompiled/sources/j1/h.java
Normal file
81
apk_decompiled/sources/j1/h.java
Normal file
@@ -0,0 +1,81 @@
|
||||
package j1;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.RemoteConfiguration;
|
||||
import com.adif.elcanomovil.domain.entities.VersionUpdateStatus;
|
||||
import com.adif.elcanomovil.domain.providers.AppVersionProvider;
|
||||
import com.adif.elcanomovil.domain.repositories.RemoteConfigVersionRepository;
|
||||
import com.adif.elcanomovil.domain.usecases.GetVersionUpdateStatusUseCase;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.flow.FlowKt;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class h extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public /* synthetic */ Object f6940a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ GetVersionUpdateStatusUseCase f6941b;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public h(GetVersionUpdateStatusUseCase getVersionUpdateStatusUseCase, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f6941b = getVersionUpdateStatusUseCase;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
h hVar = new h(this.f6941b, continuation);
|
||||
hVar.f6940a = obj;
|
||||
return hVar;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((h) create((RemoteConfiguration) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
Object obj2;
|
||||
AppVersionProvider appVersionProvider;
|
||||
RemoteConfigVersionRepository remoteConfigVersionRepository;
|
||||
RemoteConfigVersionRepository remoteConfigVersionRepository2;
|
||||
AppVersionProvider appVersionProvider2;
|
||||
IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
ResultKt.throwOnFailure(obj);
|
||||
RemoteConfiguration remoteConfiguration = (RemoteConfiguration) this.f6940a;
|
||||
int length = remoteConfiguration.getLatestPermittedVersion().length();
|
||||
GetVersionUpdateStatusUseCase getVersionUpdateStatusUseCase = this.f6941b;
|
||||
if (length > 0) {
|
||||
appVersionProvider2 = getVersionUpdateStatusUseCase.appVersionProvider;
|
||||
if (appVersionProvider2.getVersion().compareTo(remoteConfiguration.getLatestPermittedVersion()) < 0) {
|
||||
obj2 = new VersionUpdateStatus.Forced(remoteConfiguration.getUrlStore());
|
||||
remoteConfigVersionRepository2 = getVersionUpdateStatusUseCase.remoteConfigVersionRepository;
|
||||
remoteConfigVersionRepository2.storeLastNotifiedVersion(remoteConfiguration.getLatestReleasedVersion());
|
||||
return FlowKt.flowOf(obj2);
|
||||
}
|
||||
}
|
||||
if (remoteConfiguration.getLatestReleasedVersion().length() > 0) {
|
||||
appVersionProvider = getVersionUpdateStatusUseCase.appVersionProvider;
|
||||
if (appVersionProvider.getVersion().compareTo(remoteConfiguration.getLatestReleasedVersion()) < 0) {
|
||||
remoteConfigVersionRepository = getVersionUpdateStatusUseCase.remoteConfigVersionRepository;
|
||||
if (remoteConfigVersionRepository.getLastNotifiedVersion().compareTo(remoteConfiguration.getLatestReleasedVersion()) < 0) {
|
||||
obj2 = new VersionUpdateStatus.Optional(remoteConfiguration.getUrlStore());
|
||||
remoteConfigVersionRepository2 = getVersionUpdateStatusUseCase.remoteConfigVersionRepository;
|
||||
remoteConfigVersionRepository2.storeLastNotifiedVersion(remoteConfiguration.getLatestReleasedVersion());
|
||||
return FlowKt.flowOf(obj2);
|
||||
}
|
||||
}
|
||||
}
|
||||
obj2 = VersionUpdateStatus.Valid.INSTANCE;
|
||||
remoteConfigVersionRepository2 = getVersionUpdateStatusUseCase.remoteConfigVersionRepository;
|
||||
remoteConfigVersionRepository2.storeLastNotifiedVersion(remoteConfiguration.getLatestReleasedVersion());
|
||||
return FlowKt.flowOf(obj2);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user