* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
111 lines
4.7 KiB
Java
111 lines
4.7 KiB
Java
package androidx.core.view;
|
|
|
|
import android.view.View;
|
|
import com.google.android.gms.ads.RequestConfiguration;
|
|
import com.google.api.client.http.HttpStatusCodes;
|
|
import kotlin.Metadata;
|
|
import kotlin.Unit;
|
|
import kotlin.coroutines.Continuation;
|
|
import kotlin.coroutines.jvm.internal.DebugMetadata;
|
|
import kotlin.coroutines.jvm.internal.RestrictedSuspendLambda;
|
|
import kotlin.jvm.functions.Function2;
|
|
import kotlin.sequences.SequenceScope;
|
|
|
|
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00030\u0002H\u008a@"}, d2 = {"<anonymous>", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED, "Lkotlin/sequences/SequenceScope;", "Landroid/view/View;"}, k = 3, mv = {1, 8, 0}, xi = 48)
|
|
@DebugMetadata(c = "androidx.core.view.ViewKt$allViews$1", f = "View.kt", i = {0}, l = {410, HttpStatusCodes.STATUS_CODE_PRECONDITION_FAILED}, m = "invokeSuspend", n = {"$this$sequence"}, s = {"L$0"})
|
|
/* loaded from: classes.dex */
|
|
final class ViewKt$allViews$1 extends RestrictedSuspendLambda implements Function2<SequenceScope<? super View>, Continuation<? super Unit>, Object> {
|
|
|
|
/* renamed from: c, reason: collision with root package name */
|
|
public int f806c;
|
|
public /* synthetic */ Object f;
|
|
public final /* synthetic */ View g;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public ViewKt$allViews$1(View view, Continuation continuation) {
|
|
super(2, continuation);
|
|
this.g = view;
|
|
}
|
|
|
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
|
public final Continuation create(Object obj, Continuation continuation) {
|
|
ViewKt$allViews$1 viewKt$allViews$1 = new ViewKt$allViews$1(this.g, continuation);
|
|
viewKt$allViews$1.f = obj;
|
|
return viewKt$allViews$1;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function2
|
|
public final Object invoke(SequenceScope<? super View> sequenceScope, Continuation<? super Unit> continuation) {
|
|
return ((ViewKt$allViews$1) create(sequenceScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:15:0x004b, code lost:
|
|
|
|
if (r1.yieldAll(r6, r5) == r0) goto L17;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:16:0x004d, code lost:
|
|
|
|
return r0;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:18:0x0034, code lost:
|
|
|
|
if (r1.yield(r2, r5) == r0) goto L17;
|
|
*/
|
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final java.lang.Object invokeSuspend(java.lang.Object r6) {
|
|
/*
|
|
r5 = this;
|
|
java.lang.Object r0 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
|
|
int r1 = r5.f806c
|
|
android.view.View r2 = r5.g
|
|
r3 = 2
|
|
r4 = 1
|
|
if (r1 == 0) goto L24
|
|
if (r1 == r4) goto L1c
|
|
if (r1 != r3) goto L14
|
|
kotlin.ResultKt.throwOnFailure(r6)
|
|
goto L4e
|
|
L14:
|
|
java.lang.IllegalStateException r6 = new java.lang.IllegalStateException
|
|
java.lang.String r0 = "call to 'resume' before 'invoke' with coroutine"
|
|
r6.<init>(r0)
|
|
throw r6
|
|
L1c:
|
|
java.lang.Object r1 = r5.f
|
|
kotlin.sequences.SequenceScope r1 = (kotlin.sequences.SequenceScope) r1
|
|
kotlin.ResultKt.throwOnFailure(r6)
|
|
goto L37
|
|
L24:
|
|
kotlin.ResultKt.throwOnFailure(r6)
|
|
java.lang.Object r6 = r5.f
|
|
r1 = r6
|
|
kotlin.sequences.SequenceScope r1 = (kotlin.sequences.SequenceScope) r1
|
|
r5.f = r1
|
|
r5.f806c = r4
|
|
java.lang.Object r6 = r1.yield(r2, r5)
|
|
if (r6 != r0) goto L37
|
|
goto L4d
|
|
L37:
|
|
boolean r6 = r2 instanceof android.view.ViewGroup
|
|
if (r6 == 0) goto L4e
|
|
android.view.ViewGroup r2 = (android.view.ViewGroup) r2
|
|
androidx.core.view.ViewGroupKt$special$$inlined$Sequence$1 r6 = new androidx.core.view.ViewGroupKt$special$$inlined$Sequence$1
|
|
r6.<init>()
|
|
r2 = 0
|
|
r5.f = r2
|
|
r5.f806c = r3
|
|
java.lang.Object r6 = r1.yieldAll(r6, r5)
|
|
if (r6 != r0) goto L4e
|
|
L4d:
|
|
return r0
|
|
L4e:
|
|
kotlin.Unit r6 = kotlin.Unit.INSTANCE
|
|
return r6
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: androidx.core.view.ViewKt$allViews$1.invokeSuspend(java.lang.Object):java.lang.Object");
|
|
}
|
|
}
|