* 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>
428 lines
8.4 KiB
Smali
428 lines
8.4 KiB
Smali
.class public final Lj$/time/format/o;
|
|
.super Lj$/time/format/i;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field public static final h:Lj$/time/g;
|
|
|
|
|
|
# instance fields
|
|
.field public final g:Lj$/time/chrono/b;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
const/16 v0, 0x7d0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 2921
|
|
invoke-static {v0, v1, v1}, Lj$/time/g;->U(III)Lj$/time/g;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lj$/time/format/o;->h:Lj$/time/g;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lj$/time/temporal/r;IILj$/time/chrono/b;I)V
|
|
.locals 6
|
|
|
|
.line 2971
|
|
sget-object v4, Lj$/time/format/f0;->NOT_NEGATIVE:Lj$/time/format/f0;
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v3, p3
|
|
|
|
move v5, p5
|
|
|
|
invoke-direct/range {v0 .. v5}, Lj$/time/format/i;-><init>(Lj$/time/temporal/r;IILj$/time/format/f0;I)V
|
|
|
|
.line 2973
|
|
iput-object p4, v0, Lj$/time/format/o;->g:Lj$/time/chrono/b;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lj$/time/format/y;J)J
|
|
.locals 7
|
|
|
|
.line 2978
|
|
invoke-static {p2, p3}, Ljava/lang/Math;->abs(J)J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 2980
|
|
iget-object v2, p0, Lj$/time/format/o;->g:Lj$/time/chrono/b;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 238
|
|
iget-object p1, p1, Lj$/time/format/y;->a:Lj$/time/temporal/n;
|
|
|
|
.line 2981
|
|
invoke-static {p1}, Lj$/com/android/tools/r8/a;->G(Lj$/time/temporal/n;)Lj$/time/chrono/m;
|
|
|
|
move-result-object p1
|
|
|
|
.line 2982
|
|
invoke-interface {p1, v2}, Lj$/time/chrono/m;->w(Lj$/time/temporal/n;)Lj$/time/chrono/b;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v2, p0, Lj$/time/format/i;->a:Lj$/time/temporal/r;
|
|
|
|
invoke-interface {p1, v2}, Lj$/time/temporal/n;->g(Lj$/time/temporal/r;)I
|
|
|
|
move-result p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
int-to-long v2, p1
|
|
|
|
cmp-long p1, p2, v2
|
|
|
|
.line 2984
|
|
sget-object v4, Lj$/time/format/i;->f:[J
|
|
|
|
if-ltz p1, :cond_1
|
|
|
|
iget p1, p0, Lj$/time/format/i;->b:I
|
|
|
|
aget-wide v5, v4, p1
|
|
|
|
add-long/2addr v2, v5
|
|
|
|
cmp-long p1, p2, v2
|
|
|
|
if-gez p1, :cond_1
|
|
|
|
.line 2986
|
|
rem-long/2addr v0, v5
|
|
|
|
return-wide v0
|
|
|
|
.line 2989
|
|
:cond_1
|
|
iget p1, p0, Lj$/time/format/i;->c:I
|
|
|
|
aget-wide p1, v4, p1
|
|
|
|
rem-long/2addr v0, p1
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final b(Lj$/time/format/v;)Z
|
|
.locals 1
|
|
|
|
.line 270
|
|
iget-boolean v0, p1, Lj$/time/format/v;->c:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
.line 3064
|
|
:cond_0
|
|
invoke-super {p0, p1}, Lj$/time/format/i;->b(Lj$/time/format/v;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final c(Lj$/time/format/v;JII)I
|
|
.locals 10
|
|
|
|
.line 2995
|
|
iget-object v0, p0, Lj$/time/format/o;->g:Lj$/time/chrono/b;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 167
|
|
invoke-virtual {p1}, Lj$/time/format/v;->c()Lj$/time/format/d0;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v1, v1, Lj$/time/format/d0;->c:Lj$/time/chrono/m;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 169
|
|
iget-object v1, p1, Lj$/time/format/v;->a:Lj$/time/format/DateTimeFormatter;
|
|
|
|
.line 1501
|
|
iget-object v1, v1, Lj$/time/format/DateTimeFormatter;->e:Lj$/time/chrono/m;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 171
|
|
sget-object v1, Lj$/time/chrono/t;->c:Lj$/time/chrono/t;
|
|
|
|
.line 2997
|
|
:cond_0
|
|
invoke-interface {v1, v0}, Lj$/time/chrono/m;->w(Lj$/time/temporal/n;)Lj$/time/chrono/b;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lj$/time/format/i;->a:Lj$/time/temporal/r;
|
|
|
|
invoke-interface {v0, v1}, Lj$/time/temporal/n;->g(Lj$/time/temporal/r;)I
|
|
|
|
move-result v0
|
|
|
|
.line 3001
|
|
new-instance v1, Lj$/time/format/n;
|
|
|
|
move-object v2, p0
|
|
|
|
move-object v3, p1
|
|
|
|
move-wide v4, p2
|
|
|
|
move v6, p4
|
|
|
|
move v7, p5
|
|
|
|
invoke-direct/range {v1 .. v7}, Lj$/time/format/n;-><init>(Lj$/time/format/o;Lj$/time/format/v;JII)V
|
|
|
|
.line 401
|
|
iget-object p1, v3, Lj$/time/format/v;->e:Ljava/util/ArrayList;
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
.line 402
|
|
new-instance p1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object p1, v3, Lj$/time/format/v;->e:Ljava/util/ArrayList;
|
|
|
|
.line 404
|
|
:cond_1
|
|
iget-object p1, v3, Lj$/time/format/v;->e:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {p1, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
move-object v2, p0
|
|
|
|
move-object v3, p1
|
|
|
|
move-wide v4, p2
|
|
|
|
move v6, p4
|
|
|
|
move v7, p5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
sub-int p5, v7, v6
|
|
|
|
.line 3011
|
|
iget p1, v2, Lj$/time/format/i;->b:I
|
|
|
|
if-ne p5, p1, :cond_5
|
|
|
|
const-wide/16 p2, 0x0
|
|
|
|
cmp-long p2, v4, p2
|
|
|
|
if-ltz p2, :cond_5
|
|
|
|
.line 3012
|
|
sget-object p2, Lj$/time/format/i;->f:[J
|
|
|
|
aget-wide p1, p2, p1
|
|
|
|
int-to-long p3, v0
|
|
|
|
.line 3013
|
|
rem-long v8, p3, p1
|
|
|
|
sub-long v8, p3, v8
|
|
|
|
if-lez v0, :cond_3
|
|
|
|
add-long/2addr v8, v4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
sub-long/2addr v8, v4
|
|
|
|
:goto_1
|
|
cmp-long p3, v8, p3
|
|
|
|
if-gez p3, :cond_4
|
|
|
|
add-long/2addr p1, v8
|
|
|
|
move-wide p2, p1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
move-wide p2, v8
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
move-wide p2, v4
|
|
|
|
.line 3024
|
|
:goto_2
|
|
iget-object v4, v2, Lj$/time/format/i;->a:Lj$/time/temporal/r;
|
|
|
|
move v8, v7
|
|
|
|
move v7, v6
|
|
|
|
move-wide v5, p2
|
|
|
|
invoke-virtual/range {v3 .. v8}, Lj$/time/format/v;->f(Lj$/time/temporal/r;JII)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final e()Lj$/time/format/i;
|
|
.locals 8
|
|
|
|
.line 3034
|
|
iget v0, p0, Lj$/time/format/i;->e:I
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
return-object p0
|
|
|
|
.line 3037
|
|
:cond_0
|
|
new-instance v2, Lj$/time/format/o;
|
|
|
|
iget-object v6, p0, Lj$/time/format/o;->g:Lj$/time/chrono/b;
|
|
|
|
const/4 v7, -0x1
|
|
|
|
iget-object v3, p0, Lj$/time/format/i;->a:Lj$/time/temporal/r;
|
|
|
|
iget v4, p0, Lj$/time/format/i;->b:I
|
|
|
|
iget v5, p0, Lj$/time/format/i;->c:I
|
|
|
|
invoke-direct/range {v2 .. v7}, Lj$/time/format/o;-><init>(Lj$/time/temporal/r;IILj$/time/chrono/b;I)V
|
|
|
|
return-object v2
|
|
.end method
|
|
|
|
.method public final f(I)Lj$/time/format/i;
|
|
.locals 6
|
|
|
|
.line 3048
|
|
new-instance v0, Lj$/time/format/o;
|
|
|
|
iget v1, p0, Lj$/time/format/i;->e:I
|
|
|
|
add-int v5, v1, p1
|
|
|
|
iget-object v1, p0, Lj$/time/format/i;->a:Lj$/time/temporal/r;
|
|
|
|
iget v2, p0, Lj$/time/format/i;->b:I
|
|
|
|
iget v3, p0, Lj$/time/format/i;->c:I
|
|
|
|
iget-object v4, p0, Lj$/time/format/o;->g:Lj$/time/chrono/b;
|
|
|
|
invoke-direct/range {v0 .. v5}, Lj$/time/format/o;-><init>(Lj$/time/temporal/r;IILj$/time/chrono/b;I)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 4
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 3070
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
.line 299
|
|
iget-object v1, p0, Lj$/time/format/o;->g:Lj$/time/chrono/b;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v1, "defaultObj"
|
|
|
|
invoke-static {v0, v1}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
.line 3070
|
|
:goto_0
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "ReducedValue("
|
|
|
|
invoke-direct {v0, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v2, p0, Lj$/time/format/i;->a:Lj$/time/temporal/r;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, ","
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v3, p0, Lj$/time/format/i;->b:I
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v3, p0, Lj$/time/format/i;->c:I
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ")"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|