* 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>
290 lines
5.8 KiB
Smali
290 lines
5.8 KiB
Smali
.class public Lj$/util/concurrent/p;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public a:[Lj$/util/concurrent/l;
|
|
|
|
.field public b:Lj$/util/concurrent/l;
|
|
|
|
.field public c:Lj$/util/concurrent/o;
|
|
|
|
.field public d:Lj$/util/concurrent/o;
|
|
|
|
.field public e:I
|
|
|
|
.field public f:I
|
|
|
|
.field public g:I
|
|
|
|
.field public final h:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>([Lj$/util/concurrent/l;III)V
|
|
.locals 0
|
|
|
|
.line 3341
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 3342
|
|
iput-object p1, p0, Lj$/util/concurrent/p;->a:[Lj$/util/concurrent/l;
|
|
|
|
.line 3343
|
|
iput p2, p0, Lj$/util/concurrent/p;->h:I
|
|
|
|
.line 3344
|
|
iput p3, p0, Lj$/util/concurrent/p;->e:I
|
|
|
|
iput p3, p0, Lj$/util/concurrent/p;->f:I
|
|
|
|
.line 3345
|
|
iput p4, p0, Lj$/util/concurrent/p;->g:I
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 3346
|
|
iput-object p1, p0, Lj$/util/concurrent/p;->b:Lj$/util/concurrent/l;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()Lj$/util/concurrent/l;
|
|
.locals 6
|
|
|
|
.line 3354
|
|
iget-object v0, p0, Lj$/util/concurrent/p;->b:Lj$/util/concurrent/l;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3355
|
|
iget-object v0, v0, Lj$/util/concurrent/l;->d:Lj$/util/concurrent/l;
|
|
|
|
:cond_0
|
|
:goto_0
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 3359
|
|
iput-object v0, p0, Lj$/util/concurrent/p;->b:Lj$/util/concurrent/l;
|
|
|
|
return-object v0
|
|
|
|
.line 3360
|
|
:cond_1
|
|
iget v0, p0, Lj$/util/concurrent/p;->f:I
|
|
|
|
iget v1, p0, Lj$/util/concurrent/p;->g:I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-ge v0, v1, :cond_9
|
|
|
|
iget-object v0, p0, Lj$/util/concurrent/p;->a:[Lj$/util/concurrent/l;
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
array-length v1, v0
|
|
|
|
iget v3, p0, Lj$/util/concurrent/p;->e:I
|
|
|
|
if-le v1, v3, :cond_9
|
|
|
|
if-gez v3, :cond_2
|
|
|
|
goto/16 :goto_4
|
|
|
|
.line 3363
|
|
:cond_2
|
|
invoke-static {v0, v3}, Lj$/util/concurrent/ConcurrentHashMap;->k([Lj$/util/concurrent/l;I)Lj$/util/concurrent/l;
|
|
|
|
move-result-object v4
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
iget v5, v4, Lj$/util/concurrent/l;->a:I
|
|
|
|
if-gez v5, :cond_6
|
|
|
|
.line 3364
|
|
instance-of v5, v4, Lj$/util/concurrent/g;
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
.line 3365
|
|
check-cast v4, Lj$/util/concurrent/g;
|
|
|
|
iget-object v4, v4, Lj$/util/concurrent/g;->e:[Lj$/util/concurrent/l;
|
|
|
|
iput-object v4, p0, Lj$/util/concurrent/p;->a:[Lj$/util/concurrent/l;
|
|
|
|
.line 3386
|
|
iget-object v4, p0, Lj$/util/concurrent/p;->d:Lj$/util/concurrent/o;
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
.line 3388
|
|
iget-object v5, v4, Lj$/util/concurrent/o;->d:Lj$/util/concurrent/o;
|
|
|
|
iput-object v5, p0, Lj$/util/concurrent/p;->d:Lj$/util/concurrent/o;
|
|
|
|
goto :goto_1
|
|
|
|
.line 3390
|
|
:cond_3
|
|
new-instance v4, Lj$/util/concurrent/o;
|
|
|
|
.line 3304
|
|
invoke-direct {v4}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 3391
|
|
:goto_1
|
|
iput-object v0, v4, Lj$/util/concurrent/o;->c:[Lj$/util/concurrent/l;
|
|
|
|
.line 3392
|
|
iput v1, v4, Lj$/util/concurrent/o;->a:I
|
|
|
|
.line 3393
|
|
iput v3, v4, Lj$/util/concurrent/o;->b:I
|
|
|
|
.line 3394
|
|
iget-object v0, p0, Lj$/util/concurrent/p;->c:Lj$/util/concurrent/o;
|
|
|
|
iput-object v0, v4, Lj$/util/concurrent/o;->d:Lj$/util/concurrent/o;
|
|
|
|
.line 3395
|
|
iput-object v4, p0, Lj$/util/concurrent/p;->c:Lj$/util/concurrent/o;
|
|
|
|
move-object v0, v2
|
|
|
|
goto :goto_0
|
|
|
|
.line 3370
|
|
:cond_4
|
|
instance-of v0, v4, Lj$/util/concurrent/q;
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 3371
|
|
check-cast v4, Lj$/util/concurrent/q;
|
|
|
|
iget-object v0, v4, Lj$/util/concurrent/q;->f:Lj$/util/concurrent/r;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
move-object v0, v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_6
|
|
move-object v0, v4
|
|
|
|
.line 3375
|
|
:goto_2
|
|
iget-object v4, p0, Lj$/util/concurrent/p;->c:Lj$/util/concurrent/o;
|
|
|
|
if-eqz v4, :cond_8
|
|
|
|
.line 3405
|
|
:goto_3
|
|
iget-object v3, p0, Lj$/util/concurrent/p;->c:Lj$/util/concurrent/o;
|
|
|
|
if-eqz v3, :cond_7
|
|
|
|
iget v4, p0, Lj$/util/concurrent/p;->e:I
|
|
|
|
iget v5, v3, Lj$/util/concurrent/o;->a:I
|
|
|
|
add-int/2addr v4, v5
|
|
|
|
iput v4, p0, Lj$/util/concurrent/p;->e:I
|
|
|
|
if-lt v4, v1, :cond_7
|
|
|
|
.line 3407
|
|
iget v1, v3, Lj$/util/concurrent/o;->b:I
|
|
|
|
iput v1, p0, Lj$/util/concurrent/p;->e:I
|
|
|
|
.line 3408
|
|
iget-object v1, v3, Lj$/util/concurrent/o;->c:[Lj$/util/concurrent/l;
|
|
|
|
iput-object v1, p0, Lj$/util/concurrent/p;->a:[Lj$/util/concurrent/l;
|
|
|
|
.line 3409
|
|
iput-object v2, v3, Lj$/util/concurrent/o;->c:[Lj$/util/concurrent/l;
|
|
|
|
.line 3410
|
|
iget-object v1, v3, Lj$/util/concurrent/o;->d:Lj$/util/concurrent/o;
|
|
|
|
.line 3411
|
|
iget-object v4, p0, Lj$/util/concurrent/p;->d:Lj$/util/concurrent/o;
|
|
|
|
iput-object v4, v3, Lj$/util/concurrent/o;->d:Lj$/util/concurrent/o;
|
|
|
|
.line 3412
|
|
iput-object v1, p0, Lj$/util/concurrent/p;->c:Lj$/util/concurrent/o;
|
|
|
|
.line 3413
|
|
iput-object v3, p0, Lj$/util/concurrent/p;->d:Lj$/util/concurrent/o;
|
|
|
|
move v1, v5
|
|
|
|
goto :goto_3
|
|
|
|
:cond_7
|
|
if-nez v3, :cond_0
|
|
|
|
.line 3415
|
|
iget v2, p0, Lj$/util/concurrent/p;->e:I
|
|
|
|
iget v3, p0, Lj$/util/concurrent/p;->h:I
|
|
|
|
add-int/2addr v2, v3
|
|
|
|
iput v2, p0, Lj$/util/concurrent/p;->e:I
|
|
|
|
if-lt v2, v1, :cond_0
|
|
|
|
.line 3416
|
|
iget v1, p0, Lj$/util/concurrent/p;->f:I
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
iput v1, p0, Lj$/util/concurrent/p;->f:I
|
|
|
|
iput v1, p0, Lj$/util/concurrent/p;->e:I
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 3377
|
|
:cond_8
|
|
iget v2, p0, Lj$/util/concurrent/p;->h:I
|
|
|
|
add-int/2addr v3, v2
|
|
|
|
iput v3, p0, Lj$/util/concurrent/p;->e:I
|
|
|
|
if-lt v3, v1, :cond_0
|
|
|
|
.line 3378
|
|
iget v1, p0, Lj$/util/concurrent/p;->f:I
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
iput v1, p0, Lj$/util/concurrent/p;->f:I
|
|
|
|
iput v1, p0, Lj$/util/concurrent/p;->e:I
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 3362
|
|
:cond_9
|
|
:goto_4
|
|
iput-object v2, p0, Lj$/util/concurrent/p;->b:Lj$/util/concurrent/l;
|
|
|
|
return-object v2
|
|
.end method
|