* 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>
406 lines
6.8 KiB
Smali
406 lines
6.8 KiB
Smali
.class public abstract enum Lj$/time/temporal/h;
|
|
.super Ljava/lang/Enum;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lj$/time/temporal/r;
|
|
|
|
|
|
# static fields
|
|
.field public static final enum DAY_OF_QUARTER:Lj$/time/temporal/h;
|
|
|
|
.field public static final enum QUARTER_OF_YEAR:Lj$/time/temporal/h;
|
|
|
|
.field public static final enum WEEK_BASED_YEAR:Lj$/time/temporal/h;
|
|
|
|
.field public static final enum WEEK_OF_WEEK_BASED_YEAR:Lj$/time/temporal/h;
|
|
|
|
.field public static final a:[I
|
|
|
|
.field public static final synthetic b:[Lj$/time/temporal/h;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 6
|
|
|
|
.line 291
|
|
new-instance v0, Lj$/time/temporal/d;
|
|
|
|
invoke-direct {v0}, Lj$/time/temporal/d;-><init>()V
|
|
|
|
sput-object v0, Lj$/time/temporal/h;->DAY_OF_QUARTER:Lj$/time/temporal/h;
|
|
|
|
.line 380
|
|
new-instance v1, Lj$/time/temporal/e;
|
|
|
|
invoke-direct {v1}, Lj$/time/temporal/e;-><init>()V
|
|
|
|
sput-object v1, Lj$/time/temporal/h;->QUARTER_OF_YEAR:Lj$/time/temporal/h;
|
|
|
|
.line 424
|
|
new-instance v2, Lj$/time/temporal/f;
|
|
|
|
invoke-direct {v2}, Lj$/time/temporal/f;-><init>()V
|
|
|
|
sput-object v2, Lj$/time/temporal/h;->WEEK_OF_WEEK_BASED_YEAR:Lj$/time/temporal/h;
|
|
|
|
.line 516
|
|
new-instance v3, Lj$/time/temporal/g;
|
|
|
|
invoke-direct {v3}, Lj$/time/temporal/g;-><init>()V
|
|
|
|
sput-object v3, Lj$/time/temporal/h;->WEEK_BASED_YEAR:Lj$/time/temporal/h;
|
|
|
|
const/4 v4, 0x4
|
|
|
|
.line 290
|
|
new-array v4, v4, [Lj$/time/temporal/h;
|
|
|
|
const/4 v5, 0x0
|
|
|
|
aput-object v0, v4, v5
|
|
|
|
const/4 v0, 0x1
|
|
|
|
aput-object v1, v4, v0
|
|
|
|
const/4 v0, 0x2
|
|
|
|
aput-object v2, v4, v0
|
|
|
|
const/4 v0, 0x3
|
|
|
|
aput-object v3, v4, v0
|
|
|
|
sput-object v4, Lj$/time/temporal/h;->b:[Lj$/time/temporal/h;
|
|
|
|
const/16 v0, 0x8
|
|
|
|
.line 586
|
|
new-array v0, v0, [I
|
|
|
|
fill-array-data v0, :array_0
|
|
|
|
sput-object v0, Lj$/time/temporal/h;->a:[I
|
|
|
|
return-void
|
|
|
|
nop
|
|
|
|
:array_0
|
|
.array-data 4
|
|
0x0
|
|
0x5a
|
|
0xb5
|
|
0x111
|
|
0x0
|
|
0x5b
|
|
0xb6
|
|
0x112
|
|
.end array-data
|
|
.end method
|
|
|
|
.method public static K(I)I
|
|
.locals 2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 601
|
|
invoke-static {p0, v0, v0}, Lj$/time/g;->U(III)Lj$/time/g;
|
|
|
|
move-result-object p0
|
|
|
|
.line 603
|
|
invoke-virtual {p0}, Lj$/time/g;->O()Lj$/time/d;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lj$/time/d;->THURSDAY:Lj$/time/d;
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
invoke-virtual {p0}, Lj$/time/g;->O()Lj$/time/d;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lj$/time/d;->WEDNESDAY:Lj$/time/d;
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lj$/time/g;->m()Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/16 p0, 0x34
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/16 p0, 0x35
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static L(Lj$/time/g;)Lj$/time/temporal/v;
|
|
.locals 4
|
|
|
|
.line 596
|
|
invoke-static {p0}, Lj$/time/temporal/h;->y(Lj$/time/g;)I
|
|
|
|
move-result p0
|
|
|
|
.line 597
|
|
invoke-static {p0}, Lj$/time/temporal/h;->K(I)I
|
|
|
|
move-result p0
|
|
|
|
int-to-long v0, p0
|
|
|
|
const-wide/16 v2, 0x1
|
|
|
|
invoke-static {v2, v3, v0, v1}, Lj$/time/temporal/v;->f(JJ)Lj$/time/temporal/v;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static u(Lj$/time/g;)I
|
|
.locals 5
|
|
|
|
.line 610
|
|
invoke-virtual {p0}, Lj$/time/g;->O()Lj$/time/d;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v0
|
|
|
|
.line 611
|
|
invoke-virtual {p0}, Lj$/time/g;->P()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
rsub-int/lit8 v0, v0, 0x3
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
.line 613
|
|
div-int/lit8 v3, v0, 0x7
|
|
|
|
mul-int/lit8 v3, v3, 0x7
|
|
|
|
sub-int/2addr v0, v3
|
|
|
|
add-int/lit8 v3, v0, -0x3
|
|
|
|
const/4 v4, -0x3
|
|
|
|
if-ge v3, v4, :cond_0
|
|
|
|
add-int/lit8 v3, v0, 0x4
|
|
|
|
:cond_0
|
|
if-ge v1, v3, :cond_2
|
|
|
|
.line 1140
|
|
invoke-virtual {p0}, Lj$/time/g;->P()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0xb4
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1143
|
|
:cond_1
|
|
iget p0, p0, Lj$/time/g;->a:I
|
|
|
|
invoke-static {p0, v1}, Lj$/time/g;->W(II)Lj$/time/g;
|
|
|
|
move-result-object p0
|
|
|
|
:goto_0
|
|
const-wide/16 v0, -0x1
|
|
|
|
.line 1473
|
|
invoke-virtual {p0, v0, v1}, Lj$/time/g;->b0(J)Lj$/time/g;
|
|
|
|
move-result-object p0
|
|
|
|
.line 620
|
|
invoke-static {p0}, Lj$/time/temporal/h;->L(Lj$/time/g;)Lj$/time/temporal/v;
|
|
|
|
move-result-object p0
|
|
|
|
.line 253
|
|
iget-wide v0, p0, Lj$/time/temporal/v;->d:J
|
|
|
|
long-to-int p0, v0
|
|
|
|
return p0
|
|
|
|
:cond_2
|
|
sub-int/2addr v1, v3
|
|
|
|
.line 622
|
|
div-int/lit8 v1, v1, 0x7
|
|
|
|
add-int/2addr v1, v2
|
|
|
|
const/16 v0, 0x35
|
|
|
|
if-ne v1, v0, :cond_4
|
|
|
|
if-eq v3, v4, :cond_4
|
|
|
|
const/4 v0, -0x2
|
|
|
|
if-ne v3, v0, :cond_3
|
|
|
|
.line 624
|
|
invoke-virtual {p0}, Lj$/time/g;->m()Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
return v2
|
|
|
|
:cond_4
|
|
:goto_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Lj$/time/temporal/h;
|
|
.locals 1
|
|
|
|
.line 290
|
|
const-class v0, Lj$/time/temporal/h;
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lj$/time/temporal/h;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lj$/time/temporal/h;
|
|
.locals 1
|
|
|
|
.line 290
|
|
sget-object v0, Lj$/time/temporal/h;->b:[Lj$/time/temporal/h;
|
|
|
|
invoke-virtual {v0}, [Lj$/time/temporal/h;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lj$/time/temporal/h;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static y(Lj$/time/g;)I
|
|
.locals 4
|
|
|
|
.line 762
|
|
iget v0, p0, Lj$/time/g;->a:I
|
|
|
|
.line 633
|
|
invoke-virtual {p0}, Lj$/time/g;->P()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x3
|
|
|
|
if-gt v1, v2, :cond_0
|
|
|
|
.line 635
|
|
invoke-virtual {p0}, Lj$/time/g;->O()Lj$/time/d;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result p0
|
|
|
|
sub-int/2addr v1, p0
|
|
|
|
const/4 p0, -0x2
|
|
|
|
if-ge v1, p0, :cond_1
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/16 v2, 0x16b
|
|
|
|
if-lt v1, v2, :cond_1
|
|
|
|
.line 640
|
|
invoke-virtual {p0}, Lj$/time/g;->O()Lj$/time/d;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
.line 641
|
|
invoke-virtual {p0}, Lj$/time/g;->m()Z
|
|
|
|
move-result p0
|
|
|
|
sub-int/2addr v1, p0
|
|
|
|
sub-int/2addr v1, v3
|
|
|
|
if-ltz v1, :cond_1
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
:cond_1
|
|
return v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public synthetic h(Ljava/util/Map;Lj$/time/format/d0;Lj$/time/format/e0;)Lj$/time/temporal/n;
|
|
.locals 0
|
|
|
|
.line 0
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final isDateBased()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|