soul-browser/app/smali_classes2/j$/time/format/f0.smali
KaKi87 550ddb0413
Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1)
* 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>
2026-08-10 16:07:14 +02:00

137 lines
2.9 KiB
Smali

.class public final enum Lj$/time/format/f0;
.super Ljava/lang/Enum;
.source "SourceFile"
# static fields
.field public static final enum ALWAYS:Lj$/time/format/f0;
.field public static final enum EXCEEDS_PAD:Lj$/time/format/f0;
.field public static final enum NEVER:Lj$/time/format/f0;
.field public static final enum NORMAL:Lj$/time/format/f0;
.field public static final enum NOT_NEGATIVE:Lj$/time/format/f0;
.field public static final synthetic a:[Lj$/time/format/f0;
# direct methods
.method static constructor <clinit>()V
.locals 11
.line 84
new-instance v0, Lj$/time/format/f0;
.line 76
const-string v1, "NORMAL"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
.line 84
sput-object v0, Lj$/time/format/f0;->NORMAL:Lj$/time/format/f0;
.line 92
new-instance v1, Lj$/time/format/f0;
.line 76
const-string v3, "ALWAYS"
const/4 v4, 0x1
invoke-direct {v1, v3, v4}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
.line 92
sput-object v1, Lj$/time/format/f0;->ALWAYS:Lj$/time/format/f0;
.line 99
new-instance v3, Lj$/time/format/f0;
.line 76
const-string v5, "NEVER"
const/4 v6, 0x2
invoke-direct {v3, v5, v6}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
.line 99
sput-object v3, Lj$/time/format/f0;->NEVER:Lj$/time/format/f0;
.line 106
new-instance v5, Lj$/time/format/f0;
.line 76
const-string v7, "NOT_NEGATIVE"
const/4 v8, 0x3
invoke-direct {v5, v7, v8}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
.line 106
sput-object v5, Lj$/time/format/f0;->NOT_NEGATIVE:Lj$/time/format/f0;
.line 115
new-instance v7, Lj$/time/format/f0;
.line 76
const-string v9, "EXCEEDS_PAD"
const/4 v10, 0x4
invoke-direct {v7, v9, v10}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
.line 115
sput-object v7, Lj$/time/format/f0;->EXCEEDS_PAD:Lj$/time/format/f0;
const/4 v9, 0x5
.line 76
new-array v9, v9, [Lj$/time/format/f0;
aput-object v0, v9, v2
aput-object v1, v9, v4
aput-object v3, v9, v6
aput-object v5, v9, v8
aput-object v7, v9, v10
sput-object v9, Lj$/time/format/f0;->a:[Lj$/time/format/f0;
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lj$/time/format/f0;
.locals 1
.line 76
const-class v0, Lj$/time/format/f0;
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/format/f0;
return-object p0
.end method
.method public static values()[Lj$/time/format/f0;
.locals 1
.line 76
sget-object v0, Lj$/time/format/f0;->a:[Lj$/time/format/f0;
invoke-virtual {v0}, [Lj$/time/format/f0;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lj$/time/format/f0;
return-object v0
.end method