* 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>
529 lines
10 KiB
Smali
529 lines
10 KiB
Smali
.class public abstract Lj$/util/stream/w6;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lj$/util/Spliterator$OfPrimitive;
|
|
|
|
|
|
# instance fields
|
|
.field public a:I
|
|
|
|
.field public final b:I
|
|
|
|
.field public c:I
|
|
|
|
.field public final d:I
|
|
|
|
.field public e:Ljava/lang/Object;
|
|
|
|
.field public final synthetic f:Lj$/util/stream/x6;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 623
|
|
const-class v0, Lj$/util/stream/y6;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lj$/util/stream/x6;IIII)V
|
|
.locals 0
|
|
|
|
.line 646
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lj$/util/stream/w6;->f:Lj$/util/stream/x6;
|
|
|
|
.line 647
|
|
iput p2, p0, Lj$/util/stream/w6;->a:I
|
|
|
|
.line 648
|
|
iput p3, p0, Lj$/util/stream/w6;->b:I
|
|
|
|
.line 649
|
|
iput p4, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
.line 650
|
|
iput p5, p0, Lj$/util/stream/w6;->d:I
|
|
|
|
.line 652
|
|
iget-object p3, p1, Lj$/util/stream/x6;->f:[Ljava/lang/Object;
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
iget-object p1, p1, Lj$/util/stream/x6;->e:Ljava/lang/Object;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
aget-object p1, p3, p2
|
|
|
|
:goto_0
|
|
iput-object p1, p0, Lj$/util/stream/w6;->e:Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public abstract a(ILjava/lang/Object;Ljava/lang/Object;)V
|
|
.end method
|
|
|
|
.method public abstract b(Ljava/lang/Object;II)Lj$/util/Spliterator$OfPrimitive;
|
|
.end method
|
|
|
|
.method public abstract c(IIII)Lj$/util/Spliterator$OfPrimitive;
|
|
.end method
|
|
|
|
.method public final characteristics()I
|
|
.locals 1
|
|
|
|
const/16 v0, 0x4050
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final estimateSize()J
|
|
.locals 6
|
|
|
|
.line 664
|
|
iget v0, p0, Lj$/util/stream/w6;->a:I
|
|
|
|
iget v1, p0, Lj$/util/stream/w6;->d:I
|
|
|
|
iget v2, p0, Lj$/util/stream/w6;->b:I
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
int-to-long v0, v1
|
|
|
|
.line 665
|
|
iget v2, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
int-to-long v2, v2
|
|
|
|
sub-long/2addr v0, v2
|
|
|
|
return-wide v0
|
|
|
|
.line 669
|
|
:cond_0
|
|
iget-object v3, p0, Lj$/util/stream/w6;->f:Lj$/util/stream/x6;
|
|
|
|
iget-object v3, v3, Lj$/util/stream/c;->d:[J
|
|
|
|
aget-wide v4, v3, v2
|
|
|
|
int-to-long v1, v1
|
|
|
|
add-long/2addr v4, v1
|
|
|
|
aget-wide v0, v3, v0
|
|
|
|
sub-long/2addr v4, v0
|
|
|
|
iget v0, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
int-to-long v0, v0
|
|
|
|
sub-long/2addr v4, v0
|
|
|
|
return-wide v4
|
|
.end method
|
|
|
|
.method public final forEachRemaining(Ljava/lang/Object;)V
|
|
.locals 7
|
|
|
|
.line 698
|
|
invoke-static {p1}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 700
|
|
iget v0, p0, Lj$/util/stream/w6;->a:I
|
|
|
|
iget v1, p0, Lj$/util/stream/w6;->d:I
|
|
|
|
iget v2, p0, Lj$/util/stream/w6;->b:I
|
|
|
|
if-lt v0, v2, :cond_1
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
iget v3, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
if-ge v3, v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
|
|
.line 702
|
|
:cond_1
|
|
:goto_0
|
|
iget v3, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
.line 704
|
|
:goto_1
|
|
iget-object v4, p0, Lj$/util/stream/w6;->f:Lj$/util/stream/x6;
|
|
|
|
if-ge v0, v2, :cond_2
|
|
|
|
.line 705
|
|
iget-object v5, v4, Lj$/util/stream/x6;->f:[Ljava/lang/Object;
|
|
|
|
aget-object v5, v5, v0
|
|
|
|
.line 706
|
|
invoke-virtual {v4, v5}, Lj$/util/stream/x6;->q(Ljava/lang/Object;)I
|
|
|
|
move-result v6
|
|
|
|
invoke-virtual {v4, v5, v3, v6, p1}, Lj$/util/stream/x6;->p(Ljava/lang/Object;IILjava/lang/Object;)V
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
.line 710
|
|
:cond_2
|
|
iget v0, p0, Lj$/util/stream/w6;->a:I
|
|
|
|
if-ne v0, v2, :cond_3
|
|
|
|
iget-object v0, p0, Lj$/util/stream/w6;->e:Ljava/lang/Object;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
iget-object v0, v4, Lj$/util/stream/x6;->f:[Ljava/lang/Object;
|
|
|
|
aget-object v0, v0, v2
|
|
|
|
.line 711
|
|
:goto_2
|
|
invoke-virtual {v4, v0, v3, v1, p1}, Lj$/util/stream/x6;->p(Ljava/lang/Object;IILjava/lang/Object;)V
|
|
|
|
.line 713
|
|
iput v2, p0, Lj$/util/stream/w6;->a:I
|
|
|
|
.line 714
|
|
iput v1, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic forEachRemaining(Ljava/util/function/DoubleConsumer;)V
|
|
.locals 0
|
|
|
|
.line 1043
|
|
invoke-virtual {p0, p1}, Lj$/util/stream/w6;->forEachRemaining(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic forEachRemaining(Ljava/util/function/IntConsumer;)V
|
|
.locals 0
|
|
|
|
.line 815
|
|
invoke-virtual {p0, p1}, Lj$/util/stream/w6;->forEachRemaining(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic forEachRemaining(Ljava/util/function/LongConsumer;)V
|
|
.locals 0
|
|
|
|
.line 929
|
|
invoke-virtual {p0, p1}, Lj$/util/stream/w6;->forEachRemaining(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final synthetic getComparator()Ljava/util/Comparator;
|
|
.locals 1
|
|
|
|
invoke-static {p0}, Lj$/util/Spliterator$-CC;->$default$getComparator(Lj$/util/Spliterator;)Ljava/util/Comparator;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final synthetic getExactSizeIfKnown()J
|
|
.locals 2
|
|
|
|
invoke-static {p0}, Lj$/util/Spliterator$-CC;->$default$getExactSizeIfKnown(Lj$/util/Spliterator;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final synthetic hasCharacteristics(I)Z
|
|
.locals 0
|
|
|
|
invoke-static {p0, p1}, Lj$/util/Spliterator$-CC;->$default$hasCharacteristics(Lj$/util/Spliterator;I)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final tryAdvance(Ljava/lang/Object;)Z
|
|
.locals 5
|
|
|
|
.line 679
|
|
invoke-static {p1}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 681
|
|
iget v0, p0, Lj$/util/stream/w6;->a:I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iget v2, p0, Lj$/util/stream/w6;->b:I
|
|
|
|
if-lt v0, v2, :cond_1
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
iget v0, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
iget v3, p0, Lj$/util/stream/w6;->d:I
|
|
|
|
if-ge v0, v3, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return v1
|
|
|
|
.line 683
|
|
:cond_1
|
|
:goto_0
|
|
iget-object v0, p0, Lj$/util/stream/w6;->e:Ljava/lang/Object;
|
|
|
|
iget v3, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
add-int/lit8 v4, v3, 0x1
|
|
|
|
iput v4, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
invoke-virtual {p0, v3, v0, p1}, Lj$/util/stream/w6;->a(ILjava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
.line 685
|
|
iget p1, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
iget-object v0, p0, Lj$/util/stream/w6;->e:Ljava/lang/Object;
|
|
|
|
iget-object v3, p0, Lj$/util/stream/w6;->f:Lj$/util/stream/x6;
|
|
|
|
invoke-virtual {v3, v0}, Lj$/util/stream/x6;->q(Ljava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
const/4 v4, 0x1
|
|
|
|
if-ne p1, v0, :cond_2
|
|
|
|
.line 686
|
|
iput v1, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
.line 687
|
|
iget p1, p0, Lj$/util/stream/w6;->a:I
|
|
|
|
add-int/2addr p1, v4
|
|
|
|
iput p1, p0, Lj$/util/stream/w6;->a:I
|
|
|
|
.line 688
|
|
iget-object v0, v3, Lj$/util/stream/x6;->f:[Ljava/lang/Object;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
if-gt p1, v2, :cond_2
|
|
|
|
.line 689
|
|
aget-object p1, v0, p1
|
|
|
|
iput-object p1, p0, Lj$/util/stream/w6;->e:Ljava/lang/Object;
|
|
|
|
:cond_2
|
|
return v4
|
|
.end method
|
|
|
|
.method public bridge synthetic tryAdvance(Ljava/util/function/DoubleConsumer;)Z
|
|
.locals 0
|
|
|
|
.line 1043
|
|
invoke-virtual {p0, p1}, Lj$/util/stream/w6;->tryAdvance(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public bridge synthetic tryAdvance(Ljava/util/function/IntConsumer;)Z
|
|
.locals 0
|
|
|
|
.line 815
|
|
invoke-virtual {p0, p1}, Lj$/util/stream/w6;->tryAdvance(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public bridge synthetic tryAdvance(Ljava/util/function/LongConsumer;)Z
|
|
.locals 0
|
|
|
|
.line 929
|
|
invoke-virtual {p0, p1}, Lj$/util/stream/w6;->tryAdvance(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public bridge synthetic trySplit()Lj$/util/Spliterator$OfDouble;
|
|
.locals 1
|
|
|
|
.line 1043
|
|
invoke-virtual {p0}, Lj$/util/stream/w6;->trySplit()Lj$/util/Spliterator$OfPrimitive;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lj$/util/Spliterator$OfDouble;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic trySplit()Lj$/util/Spliterator$OfInt;
|
|
.locals 1
|
|
|
|
.line 815
|
|
invoke-virtual {p0}, Lj$/util/stream/w6;->trySplit()Lj$/util/Spliterator$OfPrimitive;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lj$/util/Spliterator$OfInt;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic trySplit()Lj$/util/Spliterator$OfLong;
|
|
.locals 1
|
|
|
|
.line 929
|
|
invoke-virtual {p0}, Lj$/util/stream/w6;->trySplit()Lj$/util/Spliterator$OfPrimitive;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lj$/util/Spliterator$OfLong;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final trySplit()Lj$/util/Spliterator$OfPrimitive;
|
|
.locals 6
|
|
|
|
.line 720
|
|
iget v0, p0, Lj$/util/stream/w6;->a:I
|
|
|
|
iget v1, p0, Lj$/util/stream/w6;->b:I
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
add-int/lit8 v2, v1, -0x1
|
|
|
|
.line 722
|
|
iget v3, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
iget-object v4, p0, Lj$/util/stream/w6;->f:Lj$/util/stream/x6;
|
|
|
|
iget-object v5, v4, Lj$/util/stream/x6;->f:[Ljava/lang/Object;
|
|
|
|
aget-object v5, v5, v2
|
|
|
|
.line 723
|
|
invoke-virtual {v4, v5}, Lj$/util/stream/x6;->q(Ljava/lang/Object;)I
|
|
|
|
move-result v5
|
|
|
|
.line 722
|
|
invoke-virtual {p0, v0, v2, v3, v5}, Lj$/util/stream/w6;->c(IIII)Lj$/util/Spliterator$OfPrimitive;
|
|
|
|
move-result-object v0
|
|
|
|
.line 725
|
|
iput v1, p0, Lj$/util/stream/w6;->a:I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 726
|
|
iput v2, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
.line 727
|
|
iget-object v2, v4, Lj$/util/stream/x6;->f:[Ljava/lang/Object;
|
|
|
|
aget-object v1, v2, v1
|
|
|
|
iput-object v1, p0, Lj$/util/stream/w6;->e:Ljava/lang/Object;
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
if-ne v0, v1, :cond_2
|
|
|
|
.line 731
|
|
iget v0, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
iget v1, p0, Lj$/util/stream/w6;->d:I
|
|
|
|
sub-int/2addr v1, v0
|
|
|
|
div-int/lit8 v1, v1, 0x2
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
.line 735
|
|
:cond_1
|
|
iget-object v2, p0, Lj$/util/stream/w6;->e:Ljava/lang/Object;
|
|
|
|
invoke-virtual {p0, v2, v0, v1}, Lj$/util/stream/w6;->b(Ljava/lang/Object;II)Lj$/util/Spliterator$OfPrimitive;
|
|
|
|
move-result-object v0
|
|
|
|
.line 736
|
|
iget v2, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
add-int/2addr v2, v1
|
|
|
|
iput v2, p0, Lj$/util/stream/w6;->c:I
|
|
|
|
return-object v0
|
|
|
|
:cond_2
|
|
:goto_0
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final bridge synthetic trySplit()Lj$/util/Spliterator;
|
|
.locals 1
|
|
|
|
.line 623
|
|
invoke-virtual {p0}, Lj$/util/stream/w6;->trySplit()Lj$/util/Spliterator$OfPrimitive;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|