* 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>
410 lines
8.2 KiB
Smali
410 lines
8.2 KiB
Smali
.class public Landroidx/transition/TransitionManager;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/transition/TransitionManager$MultiListener;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Landroidx/transition/AutoTransition;
|
|
|
|
.field public static final b:Ljava/lang/ThreadLocal;
|
|
|
|
.field public static final c:Ljava/util/ArrayList;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/transition/AutoTransition;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0}, Landroidx/transition/TransitionSet;-><init>()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 v1, 0x1
|
|
|
|
.line 7
|
|
invoke-virtual {v0, v1}, Landroidx/transition/TransitionSet;->P(I)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
new-instance v2, Landroidx/transition/Fade;
|
|
|
|
.line 11
|
|
.line 12
|
|
const/4 v3, 0x2
|
|
|
|
.line 13
|
|
invoke-direct {v2, v3}, Landroidx/transition/Fade;-><init>(I)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {v0, v2}, Landroidx/transition/TransitionSet;->O(Landroidx/transition/Transition;)V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
new-instance v2, Landroidx/transition/ChangeBounds;
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-direct {v2}, Landroidx/transition/Transition;-><init>()V
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {v0, v2}, Landroidx/transition/TransitionSet;->O(Landroidx/transition/Transition;)V
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
new-instance v2, Landroidx/transition/Fade;
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-direct {v2, v1}, Landroidx/transition/Fade;-><init>(I)V
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
invoke-virtual {v0, v2}, Landroidx/transition/TransitionSet;->O(Landroidx/transition/Transition;)V
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
sput-object v0, Landroidx/transition/TransitionManager;->a:Landroidx/transition/AutoTransition;
|
|
|
|
.line 36
|
|
.line 37
|
|
new-instance v0, Ljava/lang/ThreadLocal;
|
|
|
|
.line 38
|
|
.line 39
|
|
invoke-direct {v0}, Ljava/lang/ThreadLocal;-><init>()V
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
sput-object v0, Landroidx/transition/TransitionManager;->b:Ljava/lang/ThreadLocal;
|
|
|
|
.line 43
|
|
.line 44
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
.line 45
|
|
.line 46
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
sput-object v0, Landroidx/transition/TransitionManager;->c:Ljava/util/ArrayList;
|
|
|
|
.line 50
|
|
.line 51
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Landroid/view/ViewGroup;Landroidx/transition/Transition;)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
sget-object v0, Landroidx/transition/TransitionManager;->c:Ljava/util/ArrayList;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0, p0}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v1
|
|
|
|
.line 7
|
|
if-nez v1, :cond_3
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {p0}, Landroid/view/View;->isLaidOut()Z
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result v1
|
|
|
|
.line 13
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {v0, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
if-nez p1, :cond_0
|
|
|
|
.line 19
|
|
.line 20
|
|
sget-object p1, Landroidx/transition/TransitionManager;->a:Landroidx/transition/AutoTransition;
|
|
|
|
.line 21
|
|
.line 22
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroidx/transition/Transition;->k()Landroidx/transition/Transition;
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result-object p1
|
|
|
|
.line 26
|
|
invoke-static {}, Landroidx/transition/TransitionManager;->b()Landroidx/collection/ArrayMap;
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result-object v0
|
|
|
|
.line 30
|
|
invoke-virtual {v0, p0}, Landroidx/collection/SimpleArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result-object v0
|
|
|
|
.line 34
|
|
check-cast v0, Ljava/util/ArrayList;
|
|
|
|
.line 35
|
|
.line 36
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
move-result v1
|
|
|
|
.line 42
|
|
if-lez v1, :cond_1
|
|
|
|
.line 43
|
|
.line 44
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
move-result v1
|
|
|
|
.line 48
|
|
const/4 v2, 0x0
|
|
|
|
.line 49
|
|
:goto_0
|
|
if-ge v2, v1, :cond_1
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
move-result-object v3
|
|
|
|
.line 55
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 56
|
|
.line 57
|
|
check-cast v3, Landroidx/transition/Transition;
|
|
|
|
.line 58
|
|
.line 59
|
|
invoke-virtual {v3, p0}, Landroidx/transition/Transition;->z(Landroid/view/View;)V
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
goto :goto_0
|
|
|
|
.line 63
|
|
:cond_1
|
|
const/4 v0, 0x1
|
|
|
|
.line 64
|
|
invoke-virtual {p1, p0, v0}, Landroidx/transition/Transition;->i(Landroid/view/ViewGroup;Z)V
|
|
|
|
.line 65
|
|
.line 66
|
|
.line 67
|
|
sget v0, Landroidx/transition/R$id;->transition_current_scene:I
|
|
|
|
.line 68
|
|
.line 69
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->getTag(I)Ljava/lang/Object;
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
move-result-object v0
|
|
|
|
.line 73
|
|
check-cast v0, Landroidx/transition/Scene;
|
|
|
|
.line 74
|
|
.line 75
|
|
const/4 v1, 0x0
|
|
|
|
.line 76
|
|
if-nez v0, :cond_2
|
|
|
|
.line 77
|
|
.line 78
|
|
sget v0, Landroidx/transition/R$id;->transition_current_scene:I
|
|
|
|
.line 79
|
|
.line 80
|
|
invoke-virtual {p0, v0, v1}, Landroid/view/View;->setTag(ILjava/lang/Object;)V
|
|
|
|
.line 81
|
|
.line 82
|
|
.line 83
|
|
new-instance v0, Landroidx/transition/TransitionManager$MultiListener;
|
|
|
|
.line 84
|
|
.line 85
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
iput-object p1, v0, Landroidx/transition/TransitionManager$MultiListener;->c:Landroidx/transition/Transition;
|
|
|
|
.line 89
|
|
.line 90
|
|
iput-object p0, v0, Landroidx/transition/TransitionManager$MultiListener;->f:Landroid/view/ViewGroup;
|
|
|
|
.line 91
|
|
.line 92
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->addOnAttachStateChangeListener(Landroid/view/View$OnAttachStateChangeListener;)V
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
invoke-virtual {p0}, Landroid/view/View;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
|
|
|
|
.line 96
|
|
.line 97
|
|
.line 98
|
|
move-result-object p0
|
|
|
|
.line 99
|
|
invoke-virtual {p0, v0}, Landroid/view/ViewTreeObserver;->addOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V
|
|
|
|
.line 100
|
|
.line 101
|
|
.line 102
|
|
return-void
|
|
|
|
.line 103
|
|
:cond_2
|
|
throw v1
|
|
|
|
.line 104
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public static b()Landroidx/collection/ArrayMap;
|
|
.locals 3
|
|
|
|
.line 1
|
|
sget-object v0, Landroidx/transition/TransitionManager;->b:Ljava/lang/ThreadLocal;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v1
|
|
|
|
.line 7
|
|
check-cast v1, Ljava/lang/ref/WeakReference;
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {v1}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object v1
|
|
|
|
.line 15
|
|
check-cast v1, Landroidx/collection/ArrayMap;
|
|
|
|
.line 16
|
|
.line 17
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 18
|
|
.line 19
|
|
return-object v1
|
|
|
|
.line 20
|
|
:cond_0
|
|
new-instance v1, Landroidx/collection/ArrayMap;
|
|
|
|
.line 21
|
|
.line 22
|
|
const/4 v2, 0x0
|
|
|
|
.line 23
|
|
invoke-direct {v1, v2}, Landroidx/collection/SimpleArrayMap;-><init>(I)V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
new-instance v2, Ljava/lang/ref/WeakReference;
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-direct {v2, v1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {v0, v2}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
return-object v1
|
|
.end method
|