* 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>
245 lines
5.5 KiB
Smali
245 lines
5.5 KiB
Smali
.class public final Lj$/util/Spliterators;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lj$/util/Spliterators$AbstractSpliterator;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Lj$/util/j1;
|
|
|
|
.field public static final b:Lj$/util/h1;
|
|
|
|
.field public static final c:Lj$/util/i1;
|
|
|
|
.field public static final d:Lj$/util/g1;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 63
|
|
new-instance v0, Lj$/util/j1;
|
|
|
|
.line 838
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 63
|
|
sput-object v0, Lj$/util/Spliterators;->a:Lj$/util/j1;
|
|
|
|
.line 79
|
|
new-instance v0, Lj$/util/h1;
|
|
|
|
.line 838
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 79
|
|
sput-object v0, Lj$/util/Spliterators;->b:Lj$/util/h1;
|
|
|
|
.line 95
|
|
new-instance v0, Lj$/util/i1;
|
|
|
|
.line 838
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 95
|
|
sput-object v0, Lj$/util/Spliterators;->c:Lj$/util/i1;
|
|
|
|
.line 111
|
|
new-instance v0, Lj$/util/g1;
|
|
|
|
.line 838
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 111
|
|
sput-object v0, Lj$/util/Spliterators;->d:Lj$/util/g1;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(III)V
|
|
.locals 2
|
|
|
|
if-gt p1, p2, :cond_2
|
|
|
|
if-ltz p1, :cond_1
|
|
|
|
if-gt p2, p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 394
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/ArrayIndexOutOfBoundsException;
|
|
|
|
invoke-direct {p0, p2}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>(I)V
|
|
|
|
throw p0
|
|
|
|
.line 391
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/ArrayIndexOutOfBoundsException;
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>(I)V
|
|
|
|
throw p0
|
|
|
|
.line 387
|
|
:cond_2
|
|
new-instance p0, Ljava/lang/ArrayIndexOutOfBoundsException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "origin("
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, ") > fence("
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, ")"
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static spliterator([DIII)Lj$/util/Spliterator$OfDouble;
|
|
.locals 1
|
|
|
|
.line 371
|
|
invoke-static {p0}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [D
|
|
|
|
array-length v0, v0
|
|
|
|
invoke-static {v0, p1, p2}, Lj$/util/Spliterators;->a(III)V
|
|
|
|
.line 372
|
|
new-instance v0, Lj$/util/f1;
|
|
|
|
invoke-direct {v0, p0, p1, p2, p3}, Lj$/util/f1;-><init>([DIII)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static spliterator([IIII)Lj$/util/Spliterator$OfInt;
|
|
.locals 1
|
|
|
|
.line 239
|
|
invoke-static {p0}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [I
|
|
|
|
array-length v0, v0
|
|
|
|
invoke-static {v0, p1, p2}, Lj$/util/Spliterators;->a(III)V
|
|
|
|
.line 240
|
|
new-instance v0, Lj$/util/k1;
|
|
|
|
invoke-direct {v0, p0, p1, p2, p3}, Lj$/util/k1;-><init>([IIII)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static spliterator([JIII)Lj$/util/Spliterator$OfLong;
|
|
.locals 1
|
|
|
|
.line 305
|
|
invoke-static {p0}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [J
|
|
|
|
array-length v0, v0
|
|
|
|
invoke-static {v0, p1, p2}, Lj$/util/Spliterators;->a(III)V
|
|
|
|
.line 306
|
|
new-instance v0, Lj$/util/m1;
|
|
|
|
invoke-direct {v0, p0, p1, p2, p3}, Lj$/util/m1;-><init>([JIII)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static spliterator(Ljava/util/Collection;I)Lj$/util/Spliterator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Collection<",
|
|
"+TT;>;I)",
|
|
"Lj$/util/Spliterator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 420
|
|
new-instance v0, Lj$/util/l1;
|
|
|
|
invoke-static {p0}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/util/Collection;
|
|
|
|
invoke-direct {v0, p0, p1}, Lj$/util/l1;-><init>(Ljava/util/Collection;I)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static spliteratorUnknownSize(Ljava/util/Iterator;I)Lj$/util/Spliterator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Iterator<",
|
|
"+TT;>;I)",
|
|
"Lj$/util/Spliterator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 478
|
|
new-instance v0, Lj$/util/l1;
|
|
|
|
invoke-static {p0}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/util/Iterator;
|
|
|
|
invoke-direct {v0, p0, p1}, Lj$/util/l1;-><init>(Ljava/util/Iterator;I)V
|
|
|
|
return-object v0
|
|
.end method
|