* 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>
345 lines
7.1 KiB
Smali
345 lines
7.1 KiB
Smali
.class public abstract Lj$/time/temporal/s;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Lj$/time/h;
|
|
|
|
.field public static final b:Lj$/time/h;
|
|
|
|
.field public static final c:Lj$/time/h;
|
|
|
|
.field public static final d:Lj$/time/h;
|
|
|
|
.field public static final e:Lj$/time/h;
|
|
|
|
.field public static final f:Lj$/time/h;
|
|
|
|
.field public static final g:Lj$/time/h;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
.line 344
|
|
new-instance v0, Lj$/time/h;
|
|
|
|
const/4 v1, 0x3
|
|
|
|
.line 344
|
|
invoke-direct {v0, v1}, Lj$/time/h;-><init>(I)V
|
|
|
|
.line 344
|
|
sput-object v0, Lj$/time/temporal/s;->a:Lj$/time/h;
|
|
|
|
.line 359
|
|
new-instance v0, Lj$/time/h;
|
|
|
|
const/4 v1, 0x4
|
|
|
|
.line 359
|
|
invoke-direct {v0, v1}, Lj$/time/h;-><init>(I)V
|
|
|
|
.line 359
|
|
sput-object v0, Lj$/time/temporal/s;->b:Lj$/time/h;
|
|
|
|
.line 375
|
|
new-instance v0, Lj$/time/h;
|
|
|
|
const/4 v1, 0x5
|
|
|
|
.line 375
|
|
invoke-direct {v0, v1}, Lj$/time/h;-><init>(I)V
|
|
|
|
.line 375
|
|
sput-object v0, Lj$/time/temporal/s;->c:Lj$/time/h;
|
|
|
|
.line 391
|
|
new-instance v0, Lj$/time/h;
|
|
|
|
const/4 v1, 0x6
|
|
|
|
.line 391
|
|
invoke-direct {v0, v1}, Lj$/time/h;-><init>(I)V
|
|
|
|
.line 391
|
|
sput-object v0, Lj$/time/temporal/s;->d:Lj$/time/h;
|
|
|
|
.line 409
|
|
new-instance v0, Lj$/time/h;
|
|
|
|
const/4 v1, 0x7
|
|
|
|
.line 409
|
|
invoke-direct {v0, v1}, Lj$/time/h;-><init>(I)V
|
|
|
|
.line 409
|
|
sput-object v0, Lj$/time/temporal/s;->e:Lj$/time/h;
|
|
|
|
.line 425
|
|
new-instance v0, Lj$/time/h;
|
|
|
|
const/16 v1, 0x8
|
|
|
|
.line 425
|
|
invoke-direct {v0, v1}, Lj$/time/h;-><init>(I)V
|
|
|
|
.line 425
|
|
sput-object v0, Lj$/time/temporal/s;->f:Lj$/time/h;
|
|
|
|
.line 443
|
|
new-instance v0, Lj$/time/h;
|
|
|
|
const/16 v1, 0x9
|
|
|
|
.line 443
|
|
invoke-direct {v0, v1}, Lj$/time/h;-><init>(I)V
|
|
|
|
.line 443
|
|
sput-object v0, Lj$/time/temporal/s;->g:Lj$/time/h;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Lj$/time/temporal/n;Lj$/time/temporal/r;)I
|
|
.locals 5
|
|
|
|
.line 218
|
|
invoke-interface {p0, p1}, Lj$/time/temporal/n;->i(Lj$/time/temporal/r;)Lj$/time/temporal/v;
|
|
|
|
move-result-object v0
|
|
|
|
.line 219
|
|
invoke-virtual {v0}, Lj$/time/temporal/v;->d()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 222
|
|
invoke-interface {p0, p1}, Lj$/time/temporal/n;->y(Lj$/time/temporal/r;)J
|
|
|
|
move-result-wide v1
|
|
|
|
.line 223
|
|
invoke-virtual {v0, v1, v2}, Lj$/time/temporal/v;->e(J)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
long-to-int p0, v1
|
|
|
|
return p0
|
|
|
|
.line 224
|
|
:cond_0
|
|
new-instance p0, Lj$/time/b;
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
const-string v4, "Invalid value for "
|
|
|
|
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, " (valid values "
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, "): "
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 88
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 224
|
|
throw p0
|
|
|
|
.line 220
|
|
:cond_1
|
|
new-instance p0, Lj$/time/temporal/u;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "Invalid field "
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, " for get() method, use getLong() instead"
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 88
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 220
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static b(Lj$/time/temporal/m;JLj$/time/temporal/t;)Lj$/time/temporal/m;
|
|
.locals 2
|
|
|
|
const-wide/high16 v0, -0x8000000000000000L
|
|
|
|
cmp-long v0, p1, v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-wide p1, 0x7fffffffffffffffL
|
|
|
|
.line 370
|
|
invoke-interface {p0, p1, p2, p3}, Lj$/time/temporal/m;->b(JLj$/time/temporal/t;)Lj$/time/temporal/m;
|
|
|
|
move-result-object p0
|
|
|
|
const-wide/16 p1, 0x1
|
|
|
|
:goto_0
|
|
invoke-interface {p0, p1, p2, p3}, Lj$/time/temporal/m;->b(JLj$/time/temporal/t;)Lj$/time/temporal/m;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
neg-long p1, p1
|
|
|
|
goto :goto_0
|
|
.end method
|
|
|
|
.method public static c(Lj$/time/temporal/n;Lj$/time/h;)Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 309
|
|
sget-object v0, Lj$/time/temporal/s;->a:Lj$/time/h;
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
.line 310
|
|
sget-object v0, Lj$/time/temporal/s;->b:Lj$/time/h;
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
.line 311
|
|
sget-object v0, Lj$/time/temporal/s;->c:Lj$/time/h;
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 314
|
|
:cond_0
|
|
invoke-virtual {p1, p0}, Lj$/time/h;->d(Lj$/time/temporal/n;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static d(Lj$/time/temporal/n;Lj$/time/temporal/r;)Lj$/time/temporal/v;
|
|
.locals 1
|
|
|
|
.line 170
|
|
instance-of v0, p1, Lj$/time/temporal/a;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 171
|
|
invoke-interface {p0, p1}, Lj$/time/temporal/n;->c(Lj$/time/temporal/r;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 172
|
|
check-cast p1, Lj$/time/temporal/a;
|
|
|
|
.line 669
|
|
iget-object p0, p1, Lj$/time/temporal/a;->b:Lj$/time/temporal/v;
|
|
|
|
return-object p0
|
|
|
|
.line 174
|
|
:cond_0
|
|
new-instance p0, Lj$/time/temporal/u;
|
|
|
|
const-string v0, "Unsupported field: "
|
|
|
|
.line 0
|
|
invoke-static {v0, p1}, Lj$/time/c;->a(Ljava/lang/String;Lj$/time/temporal/r;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 88
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 174
|
|
throw p0
|
|
|
|
.line 176
|
|
:cond_1
|
|
const-string v0, "field"
|
|
|
|
invoke-static {p1, v0}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 177
|
|
invoke-interface {p1, p0}, Lj$/time/temporal/r;->g(Lj$/time/temporal/n;)Lj$/time/temporal/v;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic e(I)I
|
|
.locals 1
|
|
|
|
.line 0
|
|
rem-int/lit8 v0, p0, 0x7
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
xor-int/lit8 p0, p0, 0x7
|
|
|
|
shr-int/lit8 p0, p0, 0x1f
|
|
|
|
or-int/lit8 p0, p0, 0x1
|
|
|
|
if-lez p0, :cond_1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
add-int/lit8 v0, v0, 0x7
|
|
|
|
return v0
|
|
.end method
|