soul-browser/app/smali/androidx/customview/R$styleable.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

197 lines
4.5 KiB
Smali

.class public final Landroidx/customview/R$styleable;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/customview/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "styleable"
.end annotation
# static fields
.field public static ColorStateListItem:[I = null
.field public static ColorStateListItem_alpha:I = 0x3
.field public static ColorStateListItem_android_alpha:I = 0x1
.field public static ColorStateListItem_android_color:I = 0x0
.field public static ColorStateListItem_android_lStar:I = 0x2
.field public static ColorStateListItem_lStar:I = 0x4
.field public static FontFamily:[I = null
.field public static FontFamilyFont:[I = null
.field public static FontFamilyFont_android_font:I = 0x0
.field public static FontFamilyFont_android_fontStyle:I = 0x2
.field public static FontFamilyFont_android_fontVariationSettings:I = 0x4
.field public static FontFamilyFont_android_fontWeight:I = 0x1
.field public static FontFamilyFont_android_ttcIndex:I = 0x3
.field public static FontFamilyFont_font:I = 0x5
.field public static FontFamilyFont_fontStyle:I = 0x6
.field public static FontFamilyFont_fontVariationSettings:I = 0x7
.field public static FontFamilyFont_fontWeight:I = 0x8
.field public static FontFamilyFont_ttcIndex:I = 0x9
.field public static FontFamily_fontProviderAuthority:I = 0x0
.field public static FontFamily_fontProviderCerts:I = 0x1
.field public static FontFamily_fontProviderFallbackQuery:I = 0x2
.field public static FontFamily_fontProviderFetchStrategy:I = 0x3
.field public static FontFamily_fontProviderFetchTimeout:I = 0x4
.field public static FontFamily_fontProviderPackage:I = 0x5
.field public static FontFamily_fontProviderQuery:I = 0x6
.field public static FontFamily_fontProviderSystemFontFamily:I = 0x7
.field public static GradientColor:[I = null
.field public static GradientColorItem:[I = null
.field public static GradientColorItem_android_color:I = 0x0
.field public static GradientColorItem_android_offset:I = 0x1
.field public static GradientColor_android_centerColor:I = 0x7
.field public static GradientColor_android_centerX:I = 0x3
.field public static GradientColor_android_centerY:I = 0x4
.field public static GradientColor_android_endColor:I = 0x1
.field public static GradientColor_android_endX:I = 0xa
.field public static GradientColor_android_endY:I = 0xb
.field public static GradientColor_android_gradientRadius:I = 0x5
.field public static GradientColor_android_startColor:I = 0x0
.field public static GradientColor_android_startX:I = 0x8
.field public static GradientColor_android_startY:I = 0x9
.field public static GradientColor_android_tileMode:I = 0x6
.field public static GradientColor_android_type:I = 0x2
# direct methods
.method public static constructor <clinit>()V
.locals 5
const v0, 0x7f040032
const v1, 0x7f0402dc
const v2, 0x10101a5
const v3, 0x101031f
const v4, 0x1010647
filled-new-array {v2, v3, v4, v0, v1}, [I
move-result-object v0
sput-object v0, Landroidx/customview/R$styleable;->ColorStateListItem:[I
const/16 v0, 0x8
new-array v0, v0, [I
fill-array-data v0, :array_0
sput-object v0, Landroidx/customview/R$styleable;->FontFamily:[I
const/16 v0, 0xa
new-array v0, v0, [I
fill-array-data v0, :array_1
sput-object v0, Landroidx/customview/R$styleable;->FontFamilyFont:[I
const/16 v0, 0xc
new-array v0, v0, [I
fill-array-data v0, :array_2
sput-object v0, Landroidx/customview/R$styleable;->GradientColor:[I
const v0, 0x1010514
filled-new-array {v2, v0}, [I
move-result-object v0
sput-object v0, Landroidx/customview/R$styleable;->GradientColorItem:[I
return-void
:array_0
.array-data 4
0x7f040267
0x7f040268
0x7f040269
0x7f04026a
0x7f04026b
0x7f04026c
0x7f04026d
0x7f04026e
.end array-data
:array_1
.array-data 4
0x1010532
0x1010533
0x101053f
0x101056f
0x1010570
0x7f040265
0x7f04026f
0x7f040270
0x7f040271
0x7f04058c
.end array-data
:array_2
.array-data 4
0x101019d
0x101019e
0x10101a1
0x10101a2
0x10101a3
0x10101a4
0x1010201
0x101020b
0x1010510
0x1010511
0x1010512
0x1010513
.end array-data
.end method