soul-browser/app/smali_classes2/j$/time/format/g0.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

158 lines
3.5 KiB
Smali

.class public final enum Lj$/time/format/g0;
.super Ljava/lang/Enum;
.source "SourceFile"
# static fields
.field public static final enum FULL:Lj$/time/format/g0;
.field public static final enum FULL_STANDALONE:Lj$/time/format/g0;
.field public static final enum NARROW:Lj$/time/format/g0;
.field public static final enum NARROW_STANDALONE:Lj$/time/format/g0;
.field public static final enum SHORT:Lj$/time/format/g0;
.field public static final enum SHORT_STANDALONE:Lj$/time/format/g0;
.field public static final synthetic b:[Lj$/time/format/g0;
# instance fields
.field public final a:I
# direct methods
.method static constructor <clinit>()V
.locals 13
.line 96
new-instance v0, Lj$/time/format/g0;
const-string v1, "FULL"
const/4 v2, 0x0
invoke-direct {v0, v1, v2, v2}, Lj$/time/format/g0;-><init>(Ljava/lang/String;II)V
sput-object v0, Lj$/time/format/g0;->FULL:Lj$/time/format/g0;
.line 101
new-instance v1, Lj$/time/format/g0;
const-string v3, "FULL_STANDALONE"
const/4 v4, 0x1
invoke-direct {v1, v3, v4, v2}, Lj$/time/format/g0;-><init>(Ljava/lang/String;II)V
sput-object v1, Lj$/time/format/g0;->FULL_STANDALONE:Lj$/time/format/g0;
.line 106
new-instance v3, Lj$/time/format/g0;
const-string v5, "SHORT"
const/4 v6, 0x2
invoke-direct {v3, v5, v6, v4}, Lj$/time/format/g0;-><init>(Ljava/lang/String;II)V
sput-object v3, Lj$/time/format/g0;->SHORT:Lj$/time/format/g0;
.line 111
new-instance v5, Lj$/time/format/g0;
const-string v7, "SHORT_STANDALONE"
const/4 v8, 0x3
invoke-direct {v5, v7, v8, v4}, Lj$/time/format/g0;-><init>(Ljava/lang/String;II)V
sput-object v5, Lj$/time/format/g0;->SHORT_STANDALONE:Lj$/time/format/g0;
.line 116
new-instance v7, Lj$/time/format/g0;
const-string v9, "NARROW"
const/4 v10, 0x4
invoke-direct {v7, v9, v10, v4}, Lj$/time/format/g0;-><init>(Ljava/lang/String;II)V
sput-object v7, Lj$/time/format/g0;->NARROW:Lj$/time/format/g0;
.line 121
new-instance v9, Lj$/time/format/g0;
const-string v11, "NARROW_STANDALONE"
const/4 v12, 0x5
invoke-direct {v9, v11, v12, v4}, Lj$/time/format/g0;-><init>(Ljava/lang/String;II)V
sput-object v9, Lj$/time/format/g0;->NARROW_STANDALONE:Lj$/time/format/g0;
const/4 v11, 0x6
.line 88
new-array v11, v11, [Lj$/time/format/g0;
aput-object v0, v11, v2
aput-object v1, v11, v4
aput-object v3, v11, v6
aput-object v5, v11, v8
aput-object v7, v11, v10
aput-object v9, v11, v12
sput-object v11, Lj$/time/format/g0;->b:[Lj$/time/format/g0;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;II)V
.locals 0
.line 126
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
.line 128
iput p3, p0, Lj$/time/format/g0;->a:I
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lj$/time/format/g0;
.locals 1
.line 88
const-class v0, Lj$/time/format/g0;
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/g0;
return-object p0
.end method
.method public static values()[Lj$/time/format/g0;
.locals 1
.line 88
sget-object v0, Lj$/time/format/g0;->b:[Lj$/time/format/g0;
invoke-virtual {v0}, [Lj$/time/format/g0;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lj$/time/format/g0;
return-object v0
.end method