* 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>
287 lines
6.1 KiB
Smali
287 lines
6.1 KiB
Smali
.class Landroidx/recyclerview/widget/ViewBoundsCheck;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;,
|
|
Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;,
|
|
Landroidx/recyclerview/widget/ViewBoundsCheck$ViewBounds;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;
|
|
|
|
.field public final b:Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iput-object p1, p0, Landroidx/recyclerview/widget/ViewBoundsCheck;->a:Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;
|
|
|
|
.line 5
|
|
.line 6
|
|
new-instance p1, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-direct {p1}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
const/4 v0, 0x0
|
|
|
|
.line 12
|
|
iput v0, p1, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->a:I
|
|
|
|
.line 13
|
|
.line 14
|
|
iput-object p1, p0, Landroidx/recyclerview/widget/ViewBoundsCheck;->b:Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;
|
|
|
|
.line 15
|
|
.line 16
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(IIII)Landroid/view/View;
|
|
.locals 9
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/ViewBoundsCheck;->a:Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-interface {v0}, Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;->b()I
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v1
|
|
|
|
.line 7
|
|
invoke-interface {v0}, Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;->c()I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v2
|
|
|
|
.line 11
|
|
if-le p2, p1, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
const/4 v3, 0x1
|
|
|
|
.line 14
|
|
goto :goto_0
|
|
|
|
.line 15
|
|
:cond_0
|
|
const/4 v3, -0x1
|
|
|
|
.line 16
|
|
:goto_0
|
|
const/4 v4, 0x0
|
|
|
|
.line 17
|
|
:goto_1
|
|
if-eq p1, p2, :cond_3
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-interface {v0, p1}, Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;->d(I)Landroid/view/View;
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result-object v5
|
|
|
|
.line 23
|
|
invoke-interface {v0, v5}, Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;->a(Landroid/view/View;)I
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v6
|
|
|
|
.line 27
|
|
invoke-interface {v0, v5}, Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;->e(Landroid/view/View;)I
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
move-result v7
|
|
|
|
.line 31
|
|
iget-object v8, p0, Landroidx/recyclerview/widget/ViewBoundsCheck;->b:Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;
|
|
|
|
.line 32
|
|
.line 33
|
|
iput v1, v8, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->b:I
|
|
|
|
.line 34
|
|
.line 35
|
|
iput v2, v8, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->c:I
|
|
|
|
.line 36
|
|
.line 37
|
|
iput v6, v8, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->d:I
|
|
|
|
.line 38
|
|
.line 39
|
|
iput v7, v8, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->e:I
|
|
|
|
.line 40
|
|
.line 41
|
|
if-eqz p3, :cond_1
|
|
|
|
.line 42
|
|
.line 43
|
|
iput p3, v8, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->a:I
|
|
|
|
.line 44
|
|
.line 45
|
|
invoke-virtual {v8}, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->a()Z
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result v6
|
|
|
|
.line 49
|
|
if-eqz v6, :cond_1
|
|
|
|
.line 50
|
|
.line 51
|
|
return-object v5
|
|
|
|
.line 52
|
|
:cond_1
|
|
if-eqz p4, :cond_2
|
|
|
|
.line 53
|
|
.line 54
|
|
iput p4, v8, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->a:I
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {v8}, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->a()Z
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
move-result v6
|
|
|
|
.line 60
|
|
if-eqz v6, :cond_2
|
|
|
|
.line 61
|
|
.line 62
|
|
move-object v4, v5
|
|
|
|
.line 63
|
|
:cond_2
|
|
add-int/2addr p1, v3
|
|
|
|
.line 64
|
|
goto :goto_1
|
|
|
|
.line 65
|
|
:cond_3
|
|
return-object v4
|
|
.end method
|
|
|
|
.method public final b(Landroid/view/View;)Z
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/ViewBoundsCheck;->a:Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-interface {v0}, Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;->b()I
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v1
|
|
|
|
.line 7
|
|
invoke-interface {v0}, Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;->c()I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v2
|
|
|
|
.line 11
|
|
invoke-interface {v0, p1}, Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;->a(Landroid/view/View;)I
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result v3
|
|
|
|
.line 15
|
|
invoke-interface {v0, p1}, Landroidx/recyclerview/widget/ViewBoundsCheck$Callback;->e(Landroid/view/View;)I
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result p1
|
|
|
|
.line 19
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/ViewBoundsCheck;->b:Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;
|
|
|
|
.line 20
|
|
.line 21
|
|
iput v1, v0, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->b:I
|
|
|
|
.line 22
|
|
.line 23
|
|
iput v2, v0, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->c:I
|
|
|
|
.line 24
|
|
.line 25
|
|
iput v3, v0, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->d:I
|
|
|
|
.line 26
|
|
.line 27
|
|
iput p1, v0, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->e:I
|
|
|
|
.line 28
|
|
.line 29
|
|
const/16 p1, 0x6003
|
|
|
|
.line 30
|
|
.line 31
|
|
iput p1, v0, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->a:I
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/ViewBoundsCheck$BoundFlags;->a()Z
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result p1
|
|
|
|
.line 37
|
|
return p1
|
|
.end method
|