* 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>
266 lines
5.9 KiB
Smali
266 lines
5.9 KiB
Smali
.class public final Lj$/util/stream/u7;
|
|
.super Lj$/util/stream/e7;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lj$/util/Spliterator$OfInt;
|
|
|
|
|
|
# virtual methods
|
|
.method public final d()V
|
|
.locals 3
|
|
|
|
.line 344
|
|
new-instance v0, Lj$/util/stream/t6;
|
|
|
|
.line 752
|
|
invoke-direct {v0}, Lj$/util/stream/x6;-><init>()V
|
|
|
|
.line 345
|
|
iput-object v0, p0, Lj$/util/stream/e7;->h:Lj$/util/stream/c;
|
|
|
|
.line 346
|
|
invoke-static {v0}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
new-instance v1, Lj$/util/stream/t7;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-direct {v1, v0, v2}, Lj$/util/stream/t7;-><init>(Ljava/util/function/IntConsumer;I)V
|
|
|
|
iget-object v0, p0, Lj$/util/stream/e7;->b:Lj$/util/stream/a;
|
|
|
|
invoke-virtual {v0, v1}, Lj$/util/stream/a;->w0(Lj$/util/stream/n5;)Lj$/util/stream/n5;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lj$/util/stream/e7;->e:Lj$/util/stream/n5;
|
|
|
|
.line 347
|
|
new-instance v0, Lj$/util/p;
|
|
|
|
const/16 v1, 0xb
|
|
|
|
invoke-direct {v0, v1, p0}, Lj$/util/p;-><init>(ILjava/lang/Object;)V
|
|
|
|
iput-object v0, p0, Lj$/util/stream/e7;->f:Ljava/util/function/BooleanSupplier;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final e(Lj$/util/Spliterator;)Lj$/util/stream/e7;
|
|
.locals 3
|
|
|
|
.line 339
|
|
new-instance v0, Lj$/util/stream/u7;
|
|
|
|
iget-object v1, p0, Lj$/util/stream/e7;->b:Lj$/util/stream/a;
|
|
|
|
iget-boolean v2, p0, Lj$/util/stream/e7;->a:Z
|
|
|
|
.line 334
|
|
invoke-direct {v0, v1, p1, v2}, Lj$/util/stream/e7;-><init>(Lj$/util/stream/a;Lj$/util/Spliterator;Z)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final bridge synthetic forEachRemaining(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 321
|
|
check-cast p1, Ljava/util/function/IntConsumer;
|
|
|
|
invoke-virtual {p0, p1}, Lj$/util/stream/u7;->forEachRemaining(Ljava/util/function/IntConsumer;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final synthetic forEachRemaining(Ljava/util/function/Consumer;)V
|
|
.locals 0
|
|
|
|
invoke-static {p0, p1}, Lj$/com/android/tools/r8/a;->f(Lj$/util/Spliterator$OfInt;Ljava/util/function/Consumer;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final forEachRemaining(Ljava/util/function/IntConsumer;)V
|
|
.locals 2
|
|
|
|
.line 366
|
|
iget-object v0, p0, Lj$/util/stream/e7;->h:Lj$/util/stream/c;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-boolean v0, p0, Lj$/util/stream/e7;->i:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 367
|
|
invoke-static {p1}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 368
|
|
invoke-virtual {p0}, Lj$/util/stream/e7;->c()V
|
|
|
|
.line 370
|
|
invoke-static {p1}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
new-instance v0, Lj$/util/stream/t7;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, p1, v1}, Lj$/util/stream/t7;-><init>(Ljava/util/function/IntConsumer;I)V
|
|
|
|
iget-object p1, p0, Lj$/util/stream/e7;->d:Lj$/util/Spliterator;
|
|
|
|
iget-object v1, p0, Lj$/util/stream/e7;->b:Lj$/util/stream/a;
|
|
|
|
invoke-virtual {v1, p1, v0}, Lj$/util/stream/a;->v0(Lj$/util/Spliterator;Lj$/util/stream/n5;)Lj$/util/stream/n5;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 371
|
|
iput-boolean p1, p0, Lj$/util/stream/e7;->i:Z
|
|
|
|
return-void
|
|
|
|
.line 374
|
|
:cond_0
|
|
invoke-virtual {p0, p1}, Lj$/util/stream/u7;->tryAdvance(Ljava/util/function/IntConsumer;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final bridge synthetic tryAdvance(Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
.line 321
|
|
check-cast p1, Ljava/util/function/IntConsumer;
|
|
|
|
invoke-virtual {p0, p1}, Lj$/util/stream/u7;->tryAdvance(Ljava/util/function/IntConsumer;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final synthetic tryAdvance(Ljava/util/function/Consumer;)Z
|
|
.locals 0
|
|
|
|
invoke-static {p0, p1}, Lj$/com/android/tools/r8/a;->t(Lj$/util/Spliterator$OfInt;Ljava/util/function/Consumer;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final tryAdvance(Ljava/util/function/IntConsumer;)Z
|
|
.locals 8
|
|
|
|
.line 357
|
|
invoke-static {p1}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 358
|
|
invoke-virtual {p0}, Lj$/util/stream/e7;->a()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 360
|
|
iget-object v1, p0, Lj$/util/stream/e7;->h:Lj$/util/stream/c;
|
|
|
|
check-cast v1, Lj$/util/stream/t6;
|
|
|
|
iget-wide v2, p0, Lj$/util/stream/e7;->g:J
|
|
|
|
.line 802
|
|
invoke-virtual {v1, v2, v3}, Lj$/util/stream/x6;->r(J)I
|
|
|
|
move-result v4
|
|
|
|
.line 803
|
|
iget v5, v1, Lj$/util/stream/c;->c:I
|
|
|
|
if-nez v5, :cond_0
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
.line 804
|
|
iget-object v1, v1, Lj$/util/stream/x6;->e:Ljava/lang/Object;
|
|
|
|
check-cast v1, [I
|
|
|
|
long-to-int v2, v2
|
|
|
|
aget v1, v1, v2
|
|
|
|
goto :goto_0
|
|
|
|
.line 806
|
|
:cond_0
|
|
iget-object v5, v1, Lj$/util/stream/x6;->f:[Ljava/lang/Object;
|
|
|
|
check-cast v5, [[I
|
|
|
|
aget-object v5, v5, v4
|
|
|
|
iget-object v1, v1, Lj$/util/stream/c;->d:[J
|
|
|
|
aget-wide v6, v1, v4
|
|
|
|
sub-long/2addr v2, v6
|
|
|
|
long-to-int v1, v2
|
|
|
|
aget v1, v5, v1
|
|
|
|
.line 360
|
|
:goto_0
|
|
invoke-interface {p1, v1}, Ljava/util/function/IntConsumer;->accept(I)V
|
|
|
|
:cond_1
|
|
return v0
|
|
.end method
|
|
|
|
.method public final trySplit()Lj$/util/Spliterator$OfInt;
|
|
.locals 1
|
|
|
|
.line 352
|
|
invoke-super {p0}, Lj$/util/stream/e7;->trySplit()Lj$/util/Spliterator;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lj$/util/Spliterator$OfInt;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final trySplit()Lj$/util/Spliterator$OfPrimitive;
|
|
.locals 1
|
|
|
|
.line 352
|
|
invoke-super {p0}, Lj$/util/stream/e7;->trySplit()Lj$/util/Spliterator;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lj$/util/Spliterator$OfInt;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final trySplit()Lj$/util/Spliterator;
|
|
.locals 1
|
|
|
|
.line 352
|
|
invoke-super {p0}, Lj$/util/stream/e7;->trySplit()Lj$/util/Spliterator;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lj$/util/Spliterator$OfInt;
|
|
|
|
return-object v0
|
|
.end method
|