* 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>
390 lines
10 KiB
Smali
390 lines
10 KiB
Smali
.class Lkotlin/time/DurationUnitKt__DurationUnitJvmKt;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lkotlin/time/DurationUnitKt__DurationUnitJvmKt$WhenMappings;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\u001c\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0006\n\u0002\u0008\u0004\n\u0002\u0010\t\n\u0000\u001a\u000c\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\u0007\u001a\u000c\u0010\u0003\u001a\u00020\u0002*\u00020\u0001H\u0007\u001a \u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0007\u001a\u00020\u00022\u0006\u0010\u0008\u001a\u00020\u0002H\u0001\u001a \u0010\t\u001a\u00020\n2\u0006\u0010\u0006\u001a\u00020\n2\u0006\u0010\u0007\u001a\u00020\u00022\u0006\u0010\u0008\u001a\u00020\u0002H\u0001\u001a \u0010\u0004\u001a\u00020\n2\u0006\u0010\u0006\u001a\u00020\n2\u0006\u0010\u0007\u001a\u00020\u00022\u0006\u0010\u0008\u001a\u00020\u0002H\u0001\u00a8\u0006\u000b"
|
|
}
|
|
d2 = {
|
|
"toTimeUnit",
|
|
"Ljava/util/concurrent/TimeUnit;",
|
|
"Lkotlin/time/DurationUnit;",
|
|
"toDurationUnit",
|
|
"convertDurationUnit",
|
|
"",
|
|
"value",
|
|
"sourceUnit",
|
|
"targetUnit",
|
|
"convertDurationUnitOverflow",
|
|
"",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x5
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x31
|
|
xs = "kotlin/time/DurationUnitKt"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final convertDurationUnit(DLkotlin/time/DurationUnit;Lkotlin/time/DurationUnit;)D
|
|
.locals 6
|
|
.param p2 # Lkotlin/time/DurationUnit;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Lkotlin/time/DurationUnit;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.3"
|
|
.end annotation
|
|
|
|
const-string v0, "sourceUnit"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "targetUnit"
|
|
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p3}, Lkotlin/time/DurationUnit;->getTimeUnit$kotlin_stdlib()Ljava/util/concurrent/TimeUnit;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p2}, Lkotlin/time/DurationUnit;->getTimeUnit$kotlin_stdlib()Ljava/util/concurrent/TimeUnit;
|
|
|
|
move-result-object v1
|
|
|
|
const-wide/16 v2, 0x1
|
|
|
|
invoke-virtual {v0, v2, v3, v1}, Ljava/util/concurrent/TimeUnit;->convert(JLjava/util/concurrent/TimeUnit;)J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v4, 0x0
|
|
|
|
cmp-long v4, v0, v4
|
|
|
|
if-lez v4, :cond_0
|
|
|
|
long-to-double p2, v0
|
|
|
|
mul-double/2addr p0, p2
|
|
|
|
return-wide p0
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-virtual {p2}, Lkotlin/time/DurationUnit;->getTimeUnit$kotlin_stdlib()Ljava/util/concurrent/TimeUnit;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p3}, Lkotlin/time/DurationUnit;->getTimeUnit$kotlin_stdlib()Ljava/util/concurrent/TimeUnit;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p2, v2, v3, p3}, Ljava/util/concurrent/TimeUnit;->convert(JLjava/util/concurrent/TimeUnit;)J
|
|
|
|
move-result-wide p2
|
|
|
|
long-to-double p2, p2
|
|
|
|
div-double/2addr p0, p2
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final convertDurationUnit(JLkotlin/time/DurationUnit;Lkotlin/time/DurationUnit;)J
|
|
.locals 1
|
|
.param p2 # Lkotlin/time/DurationUnit;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Lkotlin/time/DurationUnit;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.5"
|
|
.end annotation
|
|
|
|
const-string v0, "sourceUnit"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "targetUnit"
|
|
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 3
|
|
invoke-virtual {p3}, Lkotlin/time/DurationUnit;->getTimeUnit$kotlin_stdlib()Ljava/util/concurrent/TimeUnit;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p2}, Lkotlin/time/DurationUnit;->getTimeUnit$kotlin_stdlib()Ljava/util/concurrent/TimeUnit;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p3, p0, p1, p2}, Ljava/util/concurrent/TimeUnit;->convert(JLjava/util/concurrent/TimeUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final convertDurationUnitOverflow(JLkotlin/time/DurationUnit;Lkotlin/time/DurationUnit;)J
|
|
.locals 1
|
|
.param p2 # Lkotlin/time/DurationUnit;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Lkotlin/time/DurationUnit;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.5"
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "sourceUnit"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string v0, "targetUnit"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p3}, Lkotlin/time/DurationUnit;->getTimeUnit$kotlin_stdlib()Ljava/util/concurrent/TimeUnit;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object p3
|
|
|
|
.line 15
|
|
invoke-virtual {p2}, Lkotlin/time/DurationUnit;->getTimeUnit$kotlin_stdlib()Ljava/util/concurrent/TimeUnit;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object p2
|
|
|
|
.line 19
|
|
invoke-virtual {p3, p0, p1, p2}, Ljava/util/concurrent/TimeUnit;->convert(JLjava/util/concurrent/TimeUnit;)J
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result-wide p0
|
|
|
|
.line 23
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final toDurationUnit(Ljava/util/concurrent/TimeUnit;)Lkotlin/time/DurationUnit;
|
|
.locals 1
|
|
.param p0 # Ljava/util/concurrent/TimeUnit;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.8"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/WasExperimental;
|
|
markerClass = {
|
|
Lkotlin/time/ExperimentalTime;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
sget-object v0, Lkotlin/time/DurationUnitKt__DurationUnitJvmKt$WhenMappings;->$EnumSwitchMapping$0:[I
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {p0}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result p0
|
|
|
|
.line 12
|
|
aget p0, v0, p0
|
|
|
|
.line 13
|
|
.line 14
|
|
packed-switch p0, :pswitch_data_0
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
new-instance p0, Lkotlin/NoWhenBranchMatchedException;
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-direct {p0}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
throw p0
|
|
|
|
.line 23
|
|
:pswitch_0
|
|
sget-object p0, Lkotlin/time/DurationUnit;->DAYS:Lkotlin/time/DurationUnit;
|
|
|
|
.line 24
|
|
.line 25
|
|
return-object p0
|
|
|
|
.line 26
|
|
:pswitch_1
|
|
sget-object p0, Lkotlin/time/DurationUnit;->HOURS:Lkotlin/time/DurationUnit;
|
|
|
|
.line 27
|
|
.line 28
|
|
return-object p0
|
|
|
|
.line 29
|
|
:pswitch_2
|
|
sget-object p0, Lkotlin/time/DurationUnit;->MINUTES:Lkotlin/time/DurationUnit;
|
|
|
|
.line 30
|
|
.line 31
|
|
return-object p0
|
|
|
|
.line 32
|
|
:pswitch_3
|
|
sget-object p0, Lkotlin/time/DurationUnit;->SECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
.line 33
|
|
.line 34
|
|
return-object p0
|
|
|
|
.line 35
|
|
:pswitch_4
|
|
sget-object p0, Lkotlin/time/DurationUnit;->MILLISECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
.line 36
|
|
.line 37
|
|
return-object p0
|
|
|
|
.line 38
|
|
:pswitch_5
|
|
sget-object p0, Lkotlin/time/DurationUnit;->MICROSECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
.line 39
|
|
.line 40
|
|
return-object p0
|
|
|
|
.line 41
|
|
:pswitch_6
|
|
sget-object p0, Lkotlin/time/DurationUnit;->NANOSECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
.line 42
|
|
.line 43
|
|
return-object p0
|
|
|
|
.line 44
|
|
nop
|
|
|
|
.line 45
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public static final toTimeUnit(Lkotlin/time/DurationUnit;)Ljava/util/concurrent/TimeUnit;
|
|
.locals 1
|
|
.param p0 # Lkotlin/time/DurationUnit;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.8"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/WasExperimental;
|
|
markerClass = {
|
|
Lkotlin/time/ExperimentalTime;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p0}, Lkotlin/time/DurationUnit;->getTimeUnit$kotlin_stdlib()Ljava/util/concurrent/TimeUnit;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object p0
|
|
|
|
.line 10
|
|
return-object p0
|
|
.end method
|