Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
29
apk_decompiled/sources/W0/a.java
Normal file
29
apk_decompiled/sources/W0/a.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package W0;
|
||||
|
||||
import androidx.lifecycle.C;
|
||||
import kotlin.coroutines.jvm.internal.ContinuationImpl;
|
||||
import kotlin.jvm.internal.IntCompanionObject;
|
||||
import kotlin.jvm.internal.Ref;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class a extends ContinuationImpl {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public C f1881a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public Ref.ObjectRef f1882b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public /* synthetic */ Object f1883c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f1884d;
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
this.f1883c = obj;
|
||||
this.f1884d |= IntCompanionObject.MIN_VALUE;
|
||||
return c.a(null, this);
|
||||
}
|
||||
}
|
||||
24
apk_decompiled/sources/W0/b.java
Normal file
24
apk_decompiled/sources/W0/b.java
Normal file
@@ -0,0 +1,24 @@
|
||||
package W0;
|
||||
|
||||
import androidx.lifecycle.InterfaceC0192m;
|
||||
import androidx.lifecycle.J;
|
||||
import kotlin.Result;
|
||||
import kotlin.Unit;
|
||||
import kotlinx.coroutines.CancellableContinuationImpl;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class b implements InterfaceC0192m {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ CancellableContinuationImpl f1885a;
|
||||
|
||||
public b(CancellableContinuationImpl cancellableContinuationImpl) {
|
||||
this.f1885a = cancellableContinuationImpl;
|
||||
}
|
||||
|
||||
@Override // androidx.lifecycle.InterfaceC0192m
|
||||
public final void x(J j4) {
|
||||
Result.Companion companion = Result.INSTANCE;
|
||||
this.f1885a.resumeWith(Result.m116constructorimpl(Unit.INSTANCE));
|
||||
}
|
||||
}
|
||||
109
apk_decompiled/sources/W0/c.java
Normal file
109
apk_decompiled/sources/W0/c.java
Normal file
@@ -0,0 +1,109 @@
|
||||
package W0;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class c {
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Removed duplicated region for block: B:14:0x008c */
|
||||
/* JADX WARN: Removed duplicated region for block: B:22:0x0098 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:26:0x0037 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:8:0x0023 */
|
||||
/* JADX WARN: Type inference failed for: r3v1, types: [T, W0.b, java.lang.Object, androidx.lifecycle.I] */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public static final java.lang.Object a(androidx.lifecycle.C r6, kotlin.coroutines.jvm.internal.ContinuationImpl r7) {
|
||||
/*
|
||||
boolean r0 = r7 instanceof W0.a
|
||||
if (r0 == 0) goto L13
|
||||
r0 = r7
|
||||
W0.a r0 = (W0.a) r0
|
||||
int r1 = r0.f1884d
|
||||
r2 = -2147483648(0xffffffff80000000, float:-0.0)
|
||||
r3 = r1 & r2
|
||||
if (r3 == 0) goto L13
|
||||
int r1 = r1 - r2
|
||||
r0.f1884d = r1
|
||||
goto L18
|
||||
L13:
|
||||
W0.a r0 = new W0.a
|
||||
r0.<init>(r7)
|
||||
L18:
|
||||
java.lang.Object r7 = r0.f1883c
|
||||
java.lang.Object r1 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
|
||||
int r2 = r0.f1884d
|
||||
r3 = 1
|
||||
if (r2 == 0) goto L37
|
||||
if (r2 != r3) goto L2f
|
||||
kotlin.jvm.internal.Ref$ObjectRef r6 = r0.f1882b
|
||||
androidx.lifecycle.C r0 = r0.f1881a
|
||||
kotlin.ResultKt.throwOnFailure(r7) // Catch: java.lang.Throwable -> L2d
|
||||
goto L86
|
||||
L2d:
|
||||
r7 = move-exception
|
||||
goto L92
|
||||
L2f:
|
||||
java.lang.IllegalStateException r6 = new java.lang.IllegalStateException
|
||||
java.lang.String r7 = "call to 'resume' before 'invoke' with coroutine"
|
||||
r6.<init>(r7)
|
||||
throw r6
|
||||
L37:
|
||||
kotlin.ResultKt.throwOnFailure(r7)
|
||||
androidx.lifecycle.B r7 = r6.b()
|
||||
androidx.lifecycle.B r2 = androidx.lifecycle.B.f3283d
|
||||
boolean r7 = r7.a(r2)
|
||||
if (r7 == 0) goto L49
|
||||
kotlin.Unit r6 = kotlin.Unit.INSTANCE
|
||||
return r6
|
||||
L49:
|
||||
kotlin.jvm.internal.Ref$ObjectRef r7 = new kotlin.jvm.internal.Ref$ObjectRef
|
||||
r7.<init>()
|
||||
r0.f1881a = r6 // Catch: java.lang.Throwable -> L7b
|
||||
r0.f1882b = r7 // Catch: java.lang.Throwable -> L7b
|
||||
r0.f1884d = r3 // Catch: java.lang.Throwable -> L7b
|
||||
kotlinx.coroutines.CancellableContinuationImpl r2 = new kotlinx.coroutines.CancellableContinuationImpl // Catch: java.lang.Throwable -> L7b
|
||||
kotlin.coroutines.Continuation r4 = kotlin.coroutines.intrinsics.IntrinsicsKt.intercepted(r0) // Catch: java.lang.Throwable -> L7b
|
||||
r2.<init>(r4, r3) // Catch: java.lang.Throwable -> L7b
|
||||
r2.initCancellability() // Catch: java.lang.Throwable -> L7b
|
||||
W0.b r3 = new W0.b // Catch: java.lang.Throwable -> L7b
|
||||
r3.<init>(r2) // Catch: java.lang.Throwable -> L7b
|
||||
r7.element = r3 // Catch: java.lang.Throwable -> L7b
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNull(r3) // Catch: java.lang.Throwable -> L7b
|
||||
r6.a(r3) // Catch: java.lang.Throwable -> L7b
|
||||
java.lang.Object r2 = r2.getResult() // Catch: java.lang.Throwable -> L7b
|
||||
java.lang.Object r3 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED() // Catch: java.lang.Throwable -> L7b
|
||||
if (r2 != r3) goto L81
|
||||
kotlin.coroutines.jvm.internal.DebugProbesKt.probeCoroutineSuspended(r0) // Catch: java.lang.Throwable -> L7b
|
||||
goto L81
|
||||
L7b:
|
||||
r0 = move-exception
|
||||
r5 = r0
|
||||
r0 = r6
|
||||
r6 = r7
|
||||
r7 = r5
|
||||
goto L92
|
||||
L81:
|
||||
if (r2 != r1) goto L84
|
||||
return r1
|
||||
L84:
|
||||
r0 = r6
|
||||
r6 = r7
|
||||
L86:
|
||||
T r6 = r6.element
|
||||
androidx.lifecycle.I r6 = (androidx.lifecycle.I) r6
|
||||
if (r6 == 0) goto L8f
|
||||
r0.c(r6)
|
||||
L8f:
|
||||
kotlin.Unit r6 = kotlin.Unit.INSTANCE
|
||||
return r6
|
||||
L92:
|
||||
T r6 = r6.element
|
||||
androidx.lifecycle.I r6 = (androidx.lifecycle.I) r6
|
||||
if (r6 == 0) goto L9b
|
||||
r0.c(r6)
|
||||
L9b:
|
||||
throw r7
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: W0.c.a(androidx.lifecycle.C, kotlin.coroutines.jvm.internal.ContinuationImpl):java.lang.Object");
|
||||
}
|
||||
}
|
||||
48
apk_decompiled/sources/W0/d.java
Normal file
48
apk_decompiled/sources/W0/d.java
Normal file
@@ -0,0 +1,48 @@
|
||||
package W0;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.widget.ImageView;
|
||||
import kotlin.NoWhenBranchMatchedException;
|
||||
import kotlinx.coroutines.CoroutineDispatcher;
|
||||
import kotlinx.coroutines.Dispatchers;
|
||||
import kotlinx.coroutines.MainCoroutineDispatcher;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class d {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final S0.c f1886a;
|
||||
|
||||
static {
|
||||
MainCoroutineDispatcher immediate = Dispatchers.getMain().getImmediate();
|
||||
CoroutineDispatcher io = Dispatchers.getIO();
|
||||
CoroutineDispatcher io2 = Dispatchers.getIO();
|
||||
CoroutineDispatcher io3 = Dispatchers.getIO();
|
||||
V0.b bVar = V0.d.f1796a;
|
||||
T0.d dVar = T0.d.f1634a;
|
||||
Bitmap.Config config = f.f1888b;
|
||||
S0.b bVar2 = S0.b.f1443c;
|
||||
f1886a = new S0.c(immediate, io, io2, io3, bVar, dVar, config, bVar2, bVar2, bVar2);
|
||||
}
|
||||
|
||||
public static final boolean a(S0.j jVar) {
|
||||
ImageView imageView;
|
||||
int ordinal = jVar.f1483g.ordinal();
|
||||
if (ordinal == 0) {
|
||||
return false;
|
||||
}
|
||||
if (ordinal != 1) {
|
||||
if (ordinal != 2) {
|
||||
throw new NoWhenBranchMatchedException();
|
||||
}
|
||||
T0.i iVar = jVar.f1497x;
|
||||
if (!(iVar instanceof T0.c)) {
|
||||
U0.b bVar = jVar.f1479c;
|
||||
if (!(bVar instanceof U0.a) || !(iVar instanceof T0.f) || (imageView = ((U0.a) bVar).f1775b) == null || imageView != ((T0.f) iVar).f1637a) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
65
apk_decompiled/sources/W0/e.java
Normal file
65
apk_decompiled/sources/W0/e.java
Normal file
@@ -0,0 +1,65 @@
|
||||
package W0;
|
||||
|
||||
import android.widget.ImageView;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract /* synthetic */ class e {
|
||||
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
|
||||
public static final /* synthetic */ int[] $EnumSwitchMapping$1;
|
||||
public static final /* synthetic */ int[] $EnumSwitchMapping$2;
|
||||
|
||||
static {
|
||||
int[] iArr = new int[J0.g.values().length];
|
||||
try {
|
||||
J0.g gVar = J0.g.f933a;
|
||||
iArr[0] = 1;
|
||||
} catch (NoSuchFieldError unused) {
|
||||
}
|
||||
try {
|
||||
J0.g gVar2 = J0.g.f933a;
|
||||
iArr[1] = 2;
|
||||
} catch (NoSuchFieldError unused2) {
|
||||
}
|
||||
try {
|
||||
J0.g gVar3 = J0.g.f933a;
|
||||
iArr[2] = 3;
|
||||
} catch (NoSuchFieldError unused3) {
|
||||
}
|
||||
try {
|
||||
J0.g gVar4 = J0.g.f933a;
|
||||
iArr[3] = 4;
|
||||
} catch (NoSuchFieldError unused4) {
|
||||
}
|
||||
$EnumSwitchMapping$0 = iArr;
|
||||
int[] iArr2 = new int[ImageView.ScaleType.values().length];
|
||||
try {
|
||||
iArr2[ImageView.ScaleType.FIT_START.ordinal()] = 1;
|
||||
} catch (NoSuchFieldError unused5) {
|
||||
}
|
||||
try {
|
||||
iArr2[ImageView.ScaleType.FIT_CENTER.ordinal()] = 2;
|
||||
} catch (NoSuchFieldError unused6) {
|
||||
}
|
||||
try {
|
||||
iArr2[ImageView.ScaleType.FIT_END.ordinal()] = 3;
|
||||
} catch (NoSuchFieldError unused7) {
|
||||
}
|
||||
try {
|
||||
iArr2[ImageView.ScaleType.CENTER_INSIDE.ordinal()] = 4;
|
||||
} catch (NoSuchFieldError unused8) {
|
||||
}
|
||||
$EnumSwitchMapping$1 = iArr2;
|
||||
int[] iArr3 = new int[T0.g.values().length];
|
||||
try {
|
||||
T0.g gVar5 = T0.g.f1638a;
|
||||
iArr3[0] = 1;
|
||||
} catch (NoSuchFieldError unused9) {
|
||||
}
|
||||
try {
|
||||
T0.g gVar6 = T0.g.f1638a;
|
||||
iArr3[1] = 2;
|
||||
} catch (NoSuchFieldError unused10) {
|
||||
}
|
||||
$EnumSwitchMapping$2 = iArr3;
|
||||
}
|
||||
}
|
||||
98
apk_decompiled/sources/W0/f.java
Normal file
98
apk_decompiled/sources/W0/f.java
Normal file
@@ -0,0 +1,98 @@
|
||||
package W0;
|
||||
|
||||
import S0.w;
|
||||
import android.graphics.Bitmap;
|
||||
import android.net.Uri;
|
||||
import android.webkit.MimeTypeMap;
|
||||
import android.widget.ImageView;
|
||||
import com.adif.elcanomovil.R;
|
||||
import e3.C0334u;
|
||||
import java.io.Closeable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import kotlin.NoWhenBranchMatchedException;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.jvm.internal.IntCompanionObject;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.text.StringsKt;
|
||||
import kotlin.text.StringsKt__StringsKt;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class f {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final Bitmap.Config[] f1887a = {Bitmap.Config.ARGB_8888, Bitmap.Config.RGBA_F16};
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static final Bitmap.Config f1888b = Bitmap.Config.HARDWARE;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public static final C0334u f1889c = new C0334u((String[]) new ArrayList(20).toArray(new String[0]));
|
||||
|
||||
public static final void a(Closeable closeable) {
|
||||
try {
|
||||
closeable.close();
|
||||
} catch (RuntimeException e4) {
|
||||
throw e4;
|
||||
} catch (Exception unused) {
|
||||
}
|
||||
}
|
||||
|
||||
public static final String b(MimeTypeMap mimeTypeMap, String str) {
|
||||
String substringBeforeLast$default;
|
||||
String substringBeforeLast$default2;
|
||||
String substringAfterLast$default;
|
||||
String substringAfterLast;
|
||||
if (str == null || StringsKt.isBlank(str)) {
|
||||
return null;
|
||||
}
|
||||
substringBeforeLast$default = StringsKt__StringsKt.substringBeforeLast$default(str, '#', (String) null, 2, (Object) null);
|
||||
substringBeforeLast$default2 = StringsKt__StringsKt.substringBeforeLast$default(substringBeforeLast$default, '?', (String) null, 2, (Object) null);
|
||||
substringAfterLast$default = StringsKt__StringsKt.substringAfterLast$default(substringBeforeLast$default2, '/', (String) null, 2, (Object) null);
|
||||
substringAfterLast = StringsKt__StringsKt.substringAfterLast(substringAfterLast$default, '.', "");
|
||||
return mimeTypeMap.getMimeTypeFromExtension(substringAfterLast);
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Type inference failed for: r3v2, types: [java.lang.Object, android.view.View$OnAttachStateChangeListener] */
|
||||
public static final w c(ImageView imageView) {
|
||||
w wVar;
|
||||
Object tag = imageView.getTag(R.id.coil_request_manager);
|
||||
w wVar2 = tag instanceof w ? (w) tag : null;
|
||||
if (wVar2 != null) {
|
||||
return wVar2;
|
||||
}
|
||||
synchronized (imageView) {
|
||||
try {
|
||||
Object tag2 = imageView.getTag(R.id.coil_request_manager);
|
||||
w wVar3 = tag2 instanceof w ? (w) tag2 : null;
|
||||
if (wVar3 == null) {
|
||||
?? obj = new Object();
|
||||
imageView.addOnAttachStateChangeListener(obj);
|
||||
imageView.setTag(R.id.coil_request_manager, obj);
|
||||
wVar = obj;
|
||||
}
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
return wVar;
|
||||
}
|
||||
|
||||
public static final boolean d(Uri uri) {
|
||||
return Intrinsics.areEqual(uri.getScheme(), "file") && Intrinsics.areEqual((String) CollectionsKt.firstOrNull((List) uri.getPathSegments()), "android_asset");
|
||||
}
|
||||
|
||||
public static final int e(m3.l lVar, T0.g gVar) {
|
||||
if (lVar instanceof T0.a) {
|
||||
return ((T0.a) lVar).f1631a;
|
||||
}
|
||||
int ordinal = gVar.ordinal();
|
||||
if (ordinal == 0) {
|
||||
return IntCompanionObject.MIN_VALUE;
|
||||
}
|
||||
if (ordinal == 1) {
|
||||
return Integer.MAX_VALUE;
|
||||
}
|
||||
throw new NoWhenBranchMatchedException();
|
||||
}
|
||||
}
|
||||
50
apk_decompiled/sources/W0/g.java
Normal file
50
apk_decompiled/sources/W0/g.java
Normal file
@@ -0,0 +1,50 @@
|
||||
package W0;
|
||||
|
||||
import e3.InterfaceC0319e;
|
||||
import e3.InterfaceC0320f;
|
||||
import e3.O;
|
||||
import java.io.IOException;
|
||||
import kotlin.Result;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlinx.coroutines.CancellableContinuationImpl;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class g implements InterfaceC0320f, Function1 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final i3.j f1890a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final CancellableContinuationImpl f1891b;
|
||||
|
||||
public g(i3.j jVar, CancellableContinuationImpl cancellableContinuationImpl) {
|
||||
this.f1890a = jVar;
|
||||
this.f1891b = cancellableContinuationImpl;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public final Object invoke(Object obj) {
|
||||
try {
|
||||
this.f1890a.cancel();
|
||||
} catch (Throwable unused) {
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
|
||||
@Override // e3.InterfaceC0320f
|
||||
public final void onFailure(InterfaceC0319e interfaceC0319e, IOException iOException) {
|
||||
if (((i3.j) interfaceC0319e).f6871n) {
|
||||
return;
|
||||
}
|
||||
CancellableContinuationImpl cancellableContinuationImpl = this.f1891b;
|
||||
Result.Companion companion = Result.INSTANCE;
|
||||
cancellableContinuationImpl.resumeWith(Result.m116constructorimpl(ResultKt.createFailure(iOException)));
|
||||
}
|
||||
|
||||
@Override // e3.InterfaceC0320f
|
||||
public final void onResponse(InterfaceC0319e interfaceC0319e, O o4) {
|
||||
this.f1891b.resumeWith(Result.m116constructorimpl(o4));
|
||||
}
|
||||
}
|
||||
28
apk_decompiled/sources/W0/h.java
Normal file
28
apk_decompiled/sources/W0/h.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package W0;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class h {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final boolean f1892a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final boolean f1893b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final boolean f1894c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final int f1895d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final J0.l f1896e;
|
||||
|
||||
public h(boolean z3, boolean z4, boolean z5, int i, J0.l lVar) {
|
||||
this.f1892a = z3;
|
||||
this.f1893b = z4;
|
||||
this.f1894c = z5;
|
||||
this.f1895d = i;
|
||||
this.f1896e = lVar;
|
||||
}
|
||||
}
|
||||
11
apk_decompiled/sources/W0/i.java
Normal file
11
apk_decompiled/sources/W0/i.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package W0;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class i {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final i f1897a = new Object();
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static K0.j f1898b;
|
||||
}
|
||||
103
apk_decompiled/sources/W0/j.java
Normal file
103
apk_decompiled/sources/W0/j.java
Normal file
@@ -0,0 +1,103 @@
|
||||
package W0;
|
||||
|
||||
import I0.p;
|
||||
import android.content.ComponentCallbacks2;
|
||||
import android.content.Context;
|
||||
import android.content.res.Configuration;
|
||||
import android.net.ConnectivityManager;
|
||||
import android.net.NetworkRequest;
|
||||
import java.lang.ref.WeakReference;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
import kotlin.Lazy;
|
||||
import kotlin.Unit;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class j implements ComponentCallbacks2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Context f1899a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final WeakReference f1900b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final R0.f f1901c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public volatile boolean f1902d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final AtomicBoolean f1903e;
|
||||
|
||||
/* JADX WARN: Type inference failed for: r4v7, types: [java.lang.Object, R0.h] */
|
||||
public j(p pVar, Context context, boolean z3) {
|
||||
E2.e eVar;
|
||||
this.f1899a = context;
|
||||
this.f1900b = new WeakReference(pVar);
|
||||
if (z3) {
|
||||
pVar.getClass();
|
||||
ConnectivityManager connectivityManager = (ConnectivityManager) D.h.getSystemService(context, ConnectivityManager.class);
|
||||
if (connectivityManager == null || D.h.checkSelfPermission(context, "android.permission.ACCESS_NETWORK_STATE") != 0) {
|
||||
eVar = new E2.e(7);
|
||||
} else {
|
||||
try {
|
||||
?? obj = new Object();
|
||||
obj.f1413a = connectivityManager;
|
||||
obj.f1414b = this;
|
||||
R0.g gVar = new R0.g(obj);
|
||||
obj.f1415c = gVar;
|
||||
connectivityManager.registerNetworkCallback(new NetworkRequest.Builder().addCapability(12).build(), gVar);
|
||||
eVar = obj;
|
||||
} catch (Exception unused) {
|
||||
eVar = new E2.e(7);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
eVar = new E2.e(7);
|
||||
}
|
||||
this.f1901c = eVar;
|
||||
this.f1902d = eVar.d();
|
||||
this.f1903e = new AtomicBoolean(false);
|
||||
}
|
||||
|
||||
public final void a() {
|
||||
if (this.f1903e.getAndSet(true)) {
|
||||
return;
|
||||
}
|
||||
this.f1899a.unregisterComponentCallbacks(this);
|
||||
this.f1901c.shutdown();
|
||||
}
|
||||
|
||||
@Override // android.content.ComponentCallbacks
|
||||
public final void onConfigurationChanged(Configuration configuration) {
|
||||
if (((p) this.f1900b.get()) == null) {
|
||||
a();
|
||||
Unit unit = Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.content.ComponentCallbacks
|
||||
public final void onLowMemory() {
|
||||
onTrimMemory(80);
|
||||
}
|
||||
|
||||
@Override // android.content.ComponentCallbacks2
|
||||
public final void onTrimMemory(int i) {
|
||||
Unit unit;
|
||||
Q0.d dVar;
|
||||
p pVar = (p) this.f1900b.get();
|
||||
if (pVar != null) {
|
||||
Lazy lazy = pVar.f784b;
|
||||
if (lazy != null && (dVar = (Q0.d) lazy.getValue()) != null) {
|
||||
dVar.f1358a.c(i);
|
||||
dVar.f1359b.c(i);
|
||||
}
|
||||
unit = Unit.INSTANCE;
|
||||
} else {
|
||||
unit = null;
|
||||
}
|
||||
if (unit == null) {
|
||||
a();
|
||||
}
|
||||
}
|
||||
}
|
||||
16
apk_decompiled/sources/W0/k.java
Normal file
16
apk_decompiled/sources/W0/k.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package W0;
|
||||
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.internal.FunctionReferenceImpl;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class k extends FunctionReferenceImpl implements Function0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final k f1904a = new FunctionReferenceImpl(0, System.class, "currentTimeMillis", "currentTimeMillis()J", 0);
|
||||
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final Object invoke() {
|
||||
return Long.valueOf(System.currentTimeMillis());
|
||||
}
|
||||
}
|
||||
8
apk_decompiled/sources/W0/l.java
Normal file
8
apk_decompiled/sources/W0/l.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package W0;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class l {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final k f1905a = k.f1904a;
|
||||
}
|
||||
Reference in New Issue
Block a user