* 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>
137 lines
2.9 KiB
Smali
137 lines
2.9 KiB
Smali
.class public final Lj$/util/stream/l3;
|
|
.super Lj$/util/stream/n3;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lj$/util/stream/m5;
|
|
|
|
|
|
# instance fields
|
|
.field public final h:[J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lj$/util/Spliterator;Lj$/util/stream/v3;[J)V
|
|
.locals 1
|
|
|
|
.line 1974
|
|
array-length v0, p3
|
|
|
|
invoke-direct {p0, p1, p2, v0}, Lj$/util/stream/n3;-><init>(Lj$/util/Spliterator;Lj$/util/stream/v3;I)V
|
|
|
|
.line 1975
|
|
iput-object p3, p0, Lj$/util/stream/l3;->h:[J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lj$/util/stream/l3;Lj$/util/Spliterator;JJ)V
|
|
.locals 9
|
|
|
|
.line 1980
|
|
iget-object v0, p1, Lj$/util/stream/l3;->h:[J
|
|
|
|
array-length v8, v0
|
|
|
|
move-object v1, p0
|
|
|
|
move-object v2, p1
|
|
|
|
move-object v3, p2
|
|
|
|
move-wide v4, p3
|
|
|
|
move-wide v6, p5
|
|
|
|
invoke-direct/range {v1 .. v8}, Lj$/util/stream/n3;-><init>(Lj$/util/stream/n3;Lj$/util/Spliterator;JJI)V
|
|
|
|
.line 1981
|
|
iget-object p1, v2, Lj$/util/stream/l3;->h:[J
|
|
|
|
iput-object p1, v1, Lj$/util/stream/l3;->h:[J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lj$/util/Spliterator;JJ)Lj$/util/stream/n3;
|
|
.locals 7
|
|
|
|
.line 1987
|
|
new-instance v0, Lj$/util/stream/l3;
|
|
|
|
move-object v1, p0
|
|
|
|
move-object v2, p1
|
|
|
|
move-wide v3, p2
|
|
|
|
move-wide v5, p4
|
|
|
|
invoke-direct/range {v0 .. v6}, Lj$/util/stream/l3;-><init>(Lj$/util/stream/l3;Lj$/util/Spliterator;JJ)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final accept(J)V
|
|
.locals 3
|
|
|
|
.line 1992
|
|
iget v0, p0, Lj$/util/stream/n3;->f:I
|
|
|
|
iget v1, p0, Lj$/util/stream/n3;->g:I
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
.line 1995
|
|
iget-object v1, p0, Lj$/util/stream/l3;->h:[J
|
|
|
|
add-int/lit8 v2, v0, 0x1
|
|
|
|
iput v2, p0, Lj$/util/stream/n3;->f:I
|
|
|
|
aput-wide p1, v1, v0
|
|
|
|
return-void
|
|
|
|
.line 1993
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IndexOutOfBoundsException;
|
|
|
|
iget p2, p0, Lj$/util/stream/n3;->f:I
|
|
|
|
invoke-static {p2}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final bridge synthetic accept(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
invoke-static {p0, p1}, Lj$/util/stream/v3;->I(Lj$/util/stream/m5;Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final synthetic andThen(Ljava/util/function/LongConsumer;)Ljava/util/function/LongConsumer;
|
|
.locals 0
|
|
|
|
invoke-static {p0, p1}, Lj$/util/function/LongConsumer$-CC;->$default$andThen(Ljava/util/function/LongConsumer;Ljava/util/function/LongConsumer;)Ljava/util/function/LongConsumer;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final synthetic l(Ljava/lang/Long;)V
|
|
.locals 0
|
|
|
|
invoke-static {p0, p1}, Lj$/util/stream/v3;->H(Lj$/util/stream/m5;Ljava/lang/Long;)V
|
|
|
|
return-void
|
|
.end method
|