* 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>
251 lines
6.1 KiB
Smali
251 lines
6.1 KiB
Smali
.class public final Lkotlinx/coroutines/DispatchedTaskKt;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\u0002\n\u0000\u00a8\u0006\u0000"
|
|
}
|
|
d2 = {
|
|
"kotlinx-coroutines-core"
|
|
}
|
|
k = 0x2
|
|
mv = {
|
|
0x1,
|
|
0x9,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nDispatchedTask.kt\nKotlin\n*S Kotlin\n*F\n+ 1 DispatchedTask.kt\nkotlinx/coroutines/DispatchedTaskKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 DispatchedContinuation.kt\nkotlinx/coroutines/internal/DispatchedContinuation\n+ 4 CoroutineContext.kt\nkotlinx/coroutines/CoroutineContextKt\n+ 5 StackTraceRecovery.kt\nkotlinx/coroutines/internal/StackTraceRecoveryKt\n*L\n1#1,218:1\n196#1,17:236\n1#2:219\n251#3:220\n252#3,2:231\n254#3:235\n103#4,10:221\n114#4,2:233\n57#5,2:253\n*S KotlinDebug\n*F\n+ 1 DispatchedTask.kt\nkotlinx/coroutines/DispatchedTaskKt\n*L\n186#1:236,17\n174#1:220\n174#1:231,2\n174#1:235\n174#1:221,10\n174#1:233,2\n216#1:253,2\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public static final a(Lkotlinx/coroutines/CancellableContinuationImpl;Lkotlin/coroutines/Continuation;Z)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
sget-object v0, Lkotlinx/coroutines/CancellableContinuationImpl;->k:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
invoke-virtual {p0, v0}, Lkotlinx/coroutines/CancellableContinuationImpl;->e(Ljava/lang/Object;)Ljava/lang/Throwable;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object v1
|
|
|
|
.line 11
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
sget-object p0, Lkotlin/Result;->Companion:Lkotlin/Result$Companion;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {v1}, Lkotlin/ResultKt;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object p0
|
|
|
|
.line 19
|
|
:goto_0
|
|
invoke-static {p0}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result-object p0
|
|
|
|
.line 23
|
|
goto :goto_1
|
|
|
|
.line 24
|
|
:cond_0
|
|
sget-object v1, Lkotlin/Result;->Companion:Lkotlin/Result$Companion;
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-virtual {p0, v0}, Lkotlinx/coroutines/CancellableContinuationImpl;->f(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result-object p0
|
|
|
|
.line 30
|
|
goto :goto_0
|
|
|
|
.line 31
|
|
:goto_1
|
|
if-eqz p2, :cond_6
|
|
|
|
.line 32
|
|
.line 33
|
|
const-string p2, "null cannot be cast to non-null type kotlinx.coroutines.internal.DispatchedContinuation<T of kotlinx.coroutines.DispatchedTaskKt.resume>"
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
check-cast p1, Lkotlinx/coroutines/internal/DispatchedContinuation;
|
|
|
|
.line 39
|
|
.line 40
|
|
iget-object p2, p1, Lkotlinx/coroutines/internal/DispatchedContinuation;->i:Lkotlin/coroutines/Continuation;
|
|
|
|
.line 41
|
|
.line 42
|
|
iget-object v0, p1, Lkotlinx/coroutines/internal/DispatchedContinuation;->k:Ljava/lang/Object;
|
|
|
|
.line 43
|
|
.line 44
|
|
invoke-interface {p2}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
move-result-object v1
|
|
|
|
.line 48
|
|
invoke-static {v1, v0}, Lkotlinx/coroutines/internal/ThreadContextKt;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 49
|
|
.line 50
|
|
.line 51
|
|
move-result-object v0
|
|
|
|
.line 52
|
|
sget-object v2, Lkotlinx/coroutines/internal/ThreadContextKt;->a:Lkotlinx/coroutines/internal/Symbol;
|
|
|
|
.line 53
|
|
.line 54
|
|
if-eq v0, v2, :cond_1
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-static {p2, v1, v0}, Lkotlinx/coroutines/CoroutineContextKt;->d(Lkotlin/coroutines/Continuation;Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Lkotlinx/coroutines/UndispatchedCoroutine;
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
move-result-object p2
|
|
|
|
.line 60
|
|
goto :goto_2
|
|
|
|
.line 61
|
|
:cond_1
|
|
const/4 p2, 0x0
|
|
|
|
.line 62
|
|
:goto_2
|
|
:try_start_0
|
|
iget-object p1, p1, Lkotlinx/coroutines/internal/DispatchedContinuation;->i:Lkotlin/coroutines/Continuation;
|
|
|
|
.line 63
|
|
.line 64
|
|
invoke-interface {p1, p0}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 68
|
|
.line 69
|
|
if-eqz p2, :cond_3
|
|
|
|
.line 70
|
|
.line 71
|
|
invoke-virtual {p2}, Lkotlinx/coroutines/UndispatchedCoroutine;->m0()Z
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
move-result p0
|
|
|
|
.line 75
|
|
if-eqz p0, :cond_2
|
|
|
|
.line 76
|
|
.line 77
|
|
goto :goto_3
|
|
|
|
.line 78
|
|
:cond_2
|
|
return-void
|
|
|
|
.line 79
|
|
:cond_3
|
|
:goto_3
|
|
invoke-static {v1, v0}, Lkotlinx/coroutines/internal/ThreadContextKt;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
return-void
|
|
|
|
.line 83
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
.line 84
|
|
if-eqz p2, :cond_4
|
|
|
|
.line 85
|
|
.line 86
|
|
invoke-virtual {p2}, Lkotlinx/coroutines/UndispatchedCoroutine;->m0()Z
|
|
|
|
.line 87
|
|
.line 88
|
|
.line 89
|
|
move-result p1
|
|
|
|
.line 90
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 91
|
|
.line 92
|
|
:cond_4
|
|
invoke-static {v1, v0}, Lkotlinx/coroutines/internal/ThreadContextKt;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
:cond_5
|
|
throw p0
|
|
|
|
.line 96
|
|
:cond_6
|
|
invoke-interface {p1, p0}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
.line 97
|
|
.line 98
|
|
.line 99
|
|
return-void
|
|
.end method
|