* 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>
405 lines
9.8 KiB
Smali
405 lines
9.8 KiB
Smali
.class public abstract Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/recyclerview/widget/RecyclerView;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "ItemAnimator"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemHolderInfo;,
|
|
Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemAnimatorFinishedListener;,
|
|
Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemAnimatorListener;,
|
|
Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$AdapterChanges;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public a:Landroidx/recyclerview/widget/RecyclerView$ItemAnimatorRestoreListener;
|
|
|
|
.field public b:Ljava/util/ArrayList;
|
|
|
|
.field public c:J
|
|
|
|
.field public d:J
|
|
|
|
.field public e:J
|
|
|
|
.field public f:J
|
|
|
|
|
|
# direct methods
|
|
.method public static e(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->j:I
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->h()Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v1
|
|
|
|
.line 7
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
goto :goto_0
|
|
|
|
.line 10
|
|
:cond_0
|
|
and-int/lit8 v0, v0, 0x4
|
|
|
|
.line 11
|
|
.line 12
|
|
if-nez v0, :cond_1
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->b()I
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public abstract a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemHolderInfo;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)Z
|
|
.end method
|
|
|
|
.method public abstract b(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;Landroidx/recyclerview/widget/RecyclerView$ViewHolder;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemHolderInfo;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)Z
|
|
.end method
|
|
|
|
.method public abstract c(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemHolderInfo;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)Z
|
|
.end method
|
|
|
|
.method public abstract d(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemHolderInfo;Landroidx/recyclerview/widget/RecyclerView$ItemAnimator$ItemHolderInfo;)Z
|
|
.end method
|
|
|
|
.method public f(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public g(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;Ljava/util/List;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->f(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p1
|
|
|
|
.line 5
|
|
return p1
|
|
.end method
|
|
|
|
.method public final h(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
.locals 10
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;->a:Landroidx/recyclerview/widget/RecyclerView$ItemAnimatorRestoreListener;
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 4
|
|
.line 5
|
|
iget-object v0, v0, Landroidx/recyclerview/widget/RecyclerView$ItemAnimatorRestoreListener;->a:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v1, 0x1
|
|
|
|
.line 8
|
|
invoke-virtual {p1, v1}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->p(Z)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
iget-object v2, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->a:Landroid/view/View;
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v3, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->h:Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
.line 14
|
|
.line 15
|
|
const/4 v4, 0x0
|
|
|
|
.line 16
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 17
|
|
.line 18
|
|
iget-object v3, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->i:Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
.line 19
|
|
.line 20
|
|
if-nez v3, :cond_0
|
|
|
|
.line 21
|
|
.line 22
|
|
iput-object v4, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->h:Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
.line 23
|
|
.line 24
|
|
:cond_0
|
|
iput-object v4, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->i:Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
.line 25
|
|
.line 26
|
|
iget v3, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->j:I
|
|
|
|
.line 27
|
|
.line 28
|
|
and-int/lit8 v3, v3, 0x10
|
|
|
|
.line 29
|
|
.line 30
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 31
|
|
.line 32
|
|
goto :goto_1
|
|
|
|
.line 33
|
|
:cond_1
|
|
iget-object v3, v0, Landroidx/recyclerview/widget/RecyclerView;->g:Landroidx/recyclerview/widget/RecyclerView$Recycler;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->m0()V
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
iget-object v4, v0, Landroidx/recyclerview/widget/RecyclerView;->j:Landroidx/recyclerview/widget/ChildHelper;
|
|
|
|
.line 39
|
|
.line 40
|
|
iget-object v5, v4, Landroidx/recyclerview/widget/ChildHelper;->b:Landroidx/recyclerview/widget/ChildHelper$Bucket;
|
|
|
|
.line 41
|
|
.line 42
|
|
iget-object v6, v4, Landroidx/recyclerview/widget/ChildHelper;->a:Landroidx/recyclerview/widget/RecyclerView$5;
|
|
|
|
.line 43
|
|
.line 44
|
|
iget-object v7, v6, Landroidx/recyclerview/widget/RecyclerView$5;->a:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.line 45
|
|
.line 46
|
|
invoke-virtual {v7, v2}, Landroid/view/ViewGroup;->indexOfChild(Landroid/view/View;)I
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
move-result v7
|
|
|
|
.line 50
|
|
const/4 v8, -0x1
|
|
|
|
.line 51
|
|
const/4 v9, 0x0
|
|
|
|
.line 52
|
|
if-ne v7, v8, :cond_2
|
|
|
|
.line 53
|
|
.line 54
|
|
invoke-virtual {v4, v2}, Landroidx/recyclerview/widget/ChildHelper;->e(Landroid/view/View;)V
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
goto :goto_0
|
|
|
|
.line 58
|
|
:cond_2
|
|
invoke-virtual {v5, v7}, Landroidx/recyclerview/widget/ChildHelper$Bucket;->d(I)Z
|
|
|
|
.line 59
|
|
.line 60
|
|
.line 61
|
|
move-result v8
|
|
|
|
.line 62
|
|
if-eqz v8, :cond_3
|
|
|
|
.line 63
|
|
.line 64
|
|
invoke-virtual {v5, v7}, Landroidx/recyclerview/widget/ChildHelper$Bucket;->f(I)Z
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
invoke-virtual {v4, v2}, Landroidx/recyclerview/widget/ChildHelper;->e(Landroid/view/View;)V
|
|
|
|
.line 68
|
|
.line 69
|
|
.line 70
|
|
invoke-virtual {v6, v7}, Landroidx/recyclerview/widget/RecyclerView$5;->b(I)V
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
goto :goto_0
|
|
|
|
.line 74
|
|
:cond_3
|
|
move v1, v9
|
|
|
|
.line 75
|
|
:goto_0
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 76
|
|
.line 77
|
|
invoke-static {v2}, Landroidx/recyclerview/widget/RecyclerView;->M(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
move-result-object v4
|
|
|
|
.line 81
|
|
invoke-virtual {v3, v4}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->m(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
|
|
.line 82
|
|
.line 83
|
|
.line 84
|
|
invoke-virtual {v3, v4}, Landroidx/recyclerview/widget/RecyclerView$Recycler;->j(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
|
|
.line 85
|
|
.line 86
|
|
.line 87
|
|
sget-boolean v3, Landroidx/recyclerview/widget/RecyclerView;->H0:Z
|
|
|
|
.line 88
|
|
.line 89
|
|
if-eqz v3, :cond_4
|
|
|
|
.line 90
|
|
.line 91
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
.line 92
|
|
.line 93
|
|
const-string v4, "after removing animated view: "
|
|
|
|
.line 94
|
|
.line 95
|
|
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 96
|
|
.line 97
|
|
.line 98
|
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 99
|
|
.line 100
|
|
.line 101
|
|
const-string v4, ", "
|
|
|
|
.line 102
|
|
.line 103
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 104
|
|
.line 105
|
|
.line 106
|
|
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 107
|
|
.line 108
|
|
.line 109
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 110
|
|
.line 111
|
|
.line 112
|
|
move-result-object v3
|
|
|
|
.line 113
|
|
const-string v4, "RecyclerView"
|
|
|
|
.line 114
|
|
.line 115
|
|
invoke-static {v4, v3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 116
|
|
.line 117
|
|
.line 118
|
|
:cond_4
|
|
xor-int/lit8 v3, v1, 0x1
|
|
|
|
.line 119
|
|
.line 120
|
|
invoke-virtual {v0, v3}, Landroidx/recyclerview/widget/RecyclerView;->n0(Z)V
|
|
|
|
.line 121
|
|
.line 122
|
|
.line 123
|
|
if-nez v1, :cond_5
|
|
|
|
.line 124
|
|
.line 125
|
|
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->l()Z
|
|
|
|
.line 126
|
|
.line 127
|
|
.line 128
|
|
move-result p1
|
|
|
|
.line 129
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 130
|
|
.line 131
|
|
invoke-virtual {v0, v2, v9}, Landroidx/recyclerview/widget/RecyclerView;->removeDetachedView(Landroid/view/View;Z)V
|
|
|
|
.line 132
|
|
.line 133
|
|
.line 134
|
|
:cond_5
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract i(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
|
|
.end method
|
|
|
|
.method public abstract j()V
|
|
.end method
|
|
|
|
.method public abstract k()Z
|
|
.end method
|
|
|
|
.method public abstract l()V
|
|
.end method
|