* 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>
319 lines
6.3 KiB
Smali
319 lines
6.3 KiB
Smali
.class public Lj$/util/stream/t6;
|
|
.super Lj$/util/stream/x6;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/function/IntConsumer;
|
|
|
|
|
|
# virtual methods
|
|
.method public accept(I)V
|
|
.locals 3
|
|
|
|
.line 795
|
|
invoke-virtual {p0}, Lj$/util/stream/x6;->u()V
|
|
|
|
.line 796
|
|
iget-object v0, p0, Lj$/util/stream/x6;->e:Ljava/lang/Object;
|
|
|
|
check-cast v0, [I
|
|
|
|
iget v1, p0, Lj$/util/stream/c;->b:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Lj$/util/stream/c;->b:I
|
|
|
|
aput p1, v0, v1
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final synthetic andThen(Ljava/util/function/IntConsumer;)Ljava/util/function/IntConsumer;
|
|
.locals 0
|
|
|
|
invoke-static {p0, p1}, Lj$/util/function/IntConsumer$-CC;->$default$andThen(Ljava/util/function/IntConsumer;Ljava/util/function/IntConsumer;)Ljava/util/function/IntConsumer;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final forEach(Ljava/util/function/Consumer;)V
|
|
.locals 1
|
|
|
|
.line 760
|
|
instance-of v0, p1, Ljava/util/function/IntConsumer;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 761
|
|
check-cast p1, Ljava/util/function/IntConsumer;
|
|
|
|
invoke-virtual {p0, p1}, Lj$/util/stream/x6;->g(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
.line 764
|
|
:cond_0
|
|
sget-boolean v0, Lj$/util/stream/p8;->a:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 766
|
|
invoke-virtual {p0}, Lj$/util/stream/t6;->v()Lj$/util/Spliterator$OfInt;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lj$/util/stream/s6;
|
|
|
|
.line 0
|
|
invoke-static {v0, p1}, Lj$/com/android/tools/r8/a;->f(Lj$/util/Spliterator$OfInt;Ljava/util/function/Consumer;)V
|
|
|
|
return-void
|
|
|
|
.line 765
|
|
:cond_1
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "{0} calling SpinedBuffer.OfInt.forEach(Consumer)"
|
|
|
|
invoke-static {p1, v0}, Lj$/util/stream/p8;->a(Ljava/lang/Class;Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final iterator()Ljava/util/Iterator;
|
|
.locals 2
|
|
|
|
.line 811
|
|
invoke-virtual {p0}, Lj$/util/stream/t6;->v()Lj$/util/Spliterator$OfInt;
|
|
|
|
move-result-object v0
|
|
|
|
.line 712
|
|
invoke-static {v0}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 741
|
|
new-instance v1, Lj$/util/a1;
|
|
|
|
invoke-direct {v1, v0}, Lj$/util/a1;-><init>(Lj$/util/Spliterator$OfInt;)V
|
|
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public final newArray(I)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
.line 777
|
|
new-array p1, p1, [I
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final p(Ljava/lang/Object;IILjava/lang/Object;)V
|
|
.locals 1
|
|
|
|
.line 750
|
|
check-cast p1, [I
|
|
|
|
check-cast p4, Ljava/util/function/IntConsumer;
|
|
|
|
:goto_0
|
|
if-ge p2, p3, :cond_0
|
|
|
|
.line 790
|
|
aget v0, p1, p2
|
|
|
|
invoke-interface {p4, v0}, Ljava/util/function/IntConsumer;->accept(I)V
|
|
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final q(Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 750
|
|
check-cast p1, [I
|
|
|
|
.line 782
|
|
array-length p1, p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public bridge synthetic spliterator()Lj$/util/Spliterator;
|
|
.locals 1
|
|
|
|
.line 750
|
|
invoke-virtual {p0}, Lj$/util/stream/t6;->v()Lj$/util/Spliterator$OfInt;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final t()[Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
const/16 v0, 0x8
|
|
|
|
.line 772
|
|
new-array v0, v0, [[I
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 9
|
|
|
|
.line 845
|
|
invoke-virtual {p0}, Lj$/util/stream/x6;->b()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [I
|
|
|
|
.line 846
|
|
array-length v1, v0
|
|
|
|
const/4 v2, 0x3
|
|
|
|
const/4 v3, 0x2
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x4
|
|
|
|
const/16 v7, 0xc8
|
|
|
|
if-ge v1, v7, :cond_0
|
|
|
|
.line 848
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
array-length v7, v0
|
|
|
|
invoke-static {v7}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v7
|
|
|
|
iget v8, p0, Lj$/util/stream/c;->c:I
|
|
|
|
.line 849
|
|
invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-static {v0}, Ljava/util/Arrays;->toString([I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
new-array v6, v6, [Ljava/lang/Object;
|
|
|
|
aput-object v1, v6, v5
|
|
|
|
aput-object v7, v6, v4
|
|
|
|
aput-object v8, v6, v3
|
|
|
|
aput-object v0, v6, v2
|
|
|
|
.line 847
|
|
const-string v0, "%s[length=%d, chunks=%d]%s"
|
|
|
|
invoke-static {v0, v6}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
.line 852
|
|
:cond_0
|
|
invoke-static {v0, v7}, Ljava/util/Arrays;->copyOf([II)[I
|
|
|
|
move-result-object v1
|
|
|
|
.line 854
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v7}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
array-length v0, v0
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
iget v8, p0, Lj$/util/stream/c;->c:I
|
|
|
|
.line 855
|
|
invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-static {v1}, Ljava/util/Arrays;->toString([I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
new-array v6, v6, [Ljava/lang/Object;
|
|
|
|
aput-object v7, v6, v5
|
|
|
|
aput-object v0, v6, v4
|
|
|
|
aput-object v8, v6, v3
|
|
|
|
aput-object v1, v6, v2
|
|
|
|
.line 853
|
|
const-string v0, "%s[length=%d, chunks=%d]%s..."
|
|
|
|
invoke-static {v0, v6}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public v()Lj$/util/Spliterator$OfInt;
|
|
.locals 6
|
|
|
|
.line 840
|
|
new-instance v0, Lj$/util/stream/s6;
|
|
|
|
iget v3, p0, Lj$/util/stream/c;->c:I
|
|
|
|
const/4 v4, 0x0
|
|
|
|
iget v5, p0, Lj$/util/stream/c;->b:I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
move-object v1, p0
|
|
|
|
invoke-direct/range {v0 .. v5}, Lj$/util/stream/s6;-><init>(Lj$/util/stream/t6;IIII)V
|
|
|
|
return-object v0
|
|
.end method
|