* 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>
456 lines
10 KiB
Smali
456 lines
10 KiB
Smali
.class public abstract Landroidx/work/impl/constraints/controllers/ConstraintController;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroidx/work/impl/constraints/ConstraintListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/work/impl/constraints/controllers/ConstraintController$OnConstraintUpdatedCallback;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Landroidx/work/impl/constraints/ConstraintListener<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ljava/util/ArrayList;
|
|
|
|
.field public b:Ljava/lang/Object;
|
|
|
|
.field public final c:Landroidx/work/impl/constraints/trackers/ConstraintTracker;
|
|
|
|
.field public d:Landroidx/work/impl/constraints/controllers/ConstraintController$OnConstraintUpdatedCallback;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/work/impl/constraints/trackers/ConstraintTracker;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iput-object v0, p0, Landroidx/work/impl/constraints/controllers/ConstraintController;->a:Ljava/util/ArrayList;
|
|
|
|
.line 10
|
|
.line 11
|
|
iput-object p1, p0, Landroidx/work/impl/constraints/controllers/ConstraintController;->c:Landroidx/work/impl/constraints/trackers/ConstraintTracker;
|
|
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Ljava/lang/Object;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/work/impl/constraints/controllers/ConstraintController;->b:Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-object v0, p0, Landroidx/work/impl/constraints/controllers/ConstraintController;->d:Landroidx/work/impl/constraints/controllers/ConstraintController$OnConstraintUpdatedCallback;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-virtual {p0, v0, p1}, Landroidx/work/impl/constraints/controllers/ConstraintController;->e(Landroidx/work/impl/constraints/controllers/ConstraintController$OnConstraintUpdatedCallback;Ljava/lang/Object;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract b(Landroidx/work/impl/model/WorkSpec;)Z
|
|
.end method
|
|
|
|
.method public abstract c(Ljava/lang/Object;)Z
|
|
.end method
|
|
|
|
.method public final d(Ljava/lang/Iterable;)V
|
|
.locals 9
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/work/impl/constraints/controllers/ConstraintController;->a:Ljava/util/ArrayList;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object p1
|
|
|
|
.line 10
|
|
:cond_0
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result v0
|
|
|
|
.line 14
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object v0
|
|
|
|
.line 20
|
|
check-cast v0, Landroidx/work/impl/model/WorkSpec;
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-virtual {p0, v0}, Landroidx/work/impl/constraints/controllers/ConstraintController;->b(Landroidx/work/impl/model/WorkSpec;)Z
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result v1
|
|
|
|
.line 26
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 27
|
|
.line 28
|
|
iget-object v1, p0, Landroidx/work/impl/constraints/controllers/ConstraintController;->a:Ljava/util/ArrayList;
|
|
|
|
.line 29
|
|
.line 30
|
|
iget-object v0, v0, Landroidx/work/impl/model/WorkSpec;->a:Ljava/lang/String;
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
goto :goto_0
|
|
|
|
.line 36
|
|
:cond_1
|
|
iget-object p1, p0, Landroidx/work/impl/constraints/controllers/ConstraintController;->a:Ljava/util/ArrayList;
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-virtual {p1}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
move-result p1
|
|
|
|
.line 42
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 43
|
|
.line 44
|
|
iget-object p1, p0, Landroidx/work/impl/constraints/controllers/ConstraintController;->c:Landroidx/work/impl/constraints/trackers/ConstraintTracker;
|
|
|
|
.line 45
|
|
.line 46
|
|
invoke-virtual {p1, p0}, Landroidx/work/impl/constraints/trackers/ConstraintTracker;->b(Landroidx/work/impl/constraints/controllers/ConstraintController;)V
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
goto :goto_2
|
|
|
|
.line 50
|
|
:cond_2
|
|
iget-object p1, p0, Landroidx/work/impl/constraints/controllers/ConstraintController;->c:Landroidx/work/impl/constraints/trackers/ConstraintTracker;
|
|
|
|
.line 51
|
|
.line 52
|
|
iget-object v0, p1, Landroidx/work/impl/constraints/trackers/ConstraintTracker;->c:Ljava/lang/Object;
|
|
|
|
.line 53
|
|
.line 54
|
|
monitor-enter v0
|
|
|
|
.line 55
|
|
:try_start_0
|
|
iget-object v1, p1, Landroidx/work/impl/constraints/trackers/ConstraintTracker;->d:Ljava/util/LinkedHashSet;
|
|
|
|
.line 56
|
|
.line 57
|
|
invoke-interface {v1, p0}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
move-result v1
|
|
|
|
.line 61
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 62
|
|
.line 63
|
|
iget-object v1, p1, Landroidx/work/impl/constraints/trackers/ConstraintTracker;->d:Ljava/util/LinkedHashSet;
|
|
|
|
.line 64
|
|
.line 65
|
|
invoke-interface {v1}, Ljava/util/Set;->size()I
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
move-result v1
|
|
|
|
.line 69
|
|
const/4 v2, 0x1
|
|
|
|
.line 70
|
|
if-ne v1, v2, :cond_3
|
|
|
|
.line 71
|
|
.line 72
|
|
invoke-virtual {p1}, Landroidx/work/impl/constraints/trackers/ConstraintTracker;->a()Ljava/lang/Object;
|
|
|
|
.line 73
|
|
.line 74
|
|
.line 75
|
|
move-result-object v1
|
|
|
|
.line 76
|
|
iput-object v1, p1, Landroidx/work/impl/constraints/trackers/ConstraintTracker;->e:Ljava/lang/Object;
|
|
|
|
.line 77
|
|
.line 78
|
|
invoke-static {}, Landroidx/work/Logger;->c()Landroidx/work/Logger;
|
|
|
|
.line 79
|
|
.line 80
|
|
.line 81
|
|
move-result-object v1
|
|
|
|
.line 82
|
|
sget-object v3, Landroidx/work/impl/constraints/trackers/ConstraintTracker;->f:Ljava/lang/String;
|
|
|
|
.line 83
|
|
.line 84
|
|
const-string v4, "%s: initial state = %s"
|
|
|
|
.line 85
|
|
.line 86
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 87
|
|
.line 88
|
|
.line 89
|
|
move-result-object v5
|
|
|
|
.line 90
|
|
invoke-virtual {v5}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
.line 91
|
|
.line 92
|
|
.line 93
|
|
move-result-object v5
|
|
|
|
.line 94
|
|
iget-object v6, p1, Landroidx/work/impl/constraints/trackers/ConstraintTracker;->e:Ljava/lang/Object;
|
|
|
|
.line 95
|
|
.line 96
|
|
const/4 v7, 0x2
|
|
|
|
.line 97
|
|
new-array v7, v7, [Ljava/lang/Object;
|
|
|
|
.line 98
|
|
.line 99
|
|
const/4 v8, 0x0
|
|
|
|
.line 100
|
|
aput-object v5, v7, v8
|
|
|
|
.line 101
|
|
.line 102
|
|
aput-object v6, v7, v2
|
|
|
|
.line 103
|
|
.line 104
|
|
invoke-static {v4, v7}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
.line 105
|
|
.line 106
|
|
.line 107
|
|
move-result-object v2
|
|
|
|
.line 108
|
|
new-array v4, v8, [Ljava/lang/Throwable;
|
|
|
|
.line 109
|
|
.line 110
|
|
invoke-virtual {v1, v3, v2, v4}, Landroidx/work/Logger;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Throwable;)V
|
|
|
|
.line 111
|
|
.line 112
|
|
.line 113
|
|
invoke-virtual {p1}, Landroidx/work/impl/constraints/trackers/ConstraintTracker;->d()V
|
|
|
|
.line 114
|
|
.line 115
|
|
.line 116
|
|
goto :goto_1
|
|
|
|
.line 117
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 118
|
|
goto :goto_3
|
|
|
|
.line 119
|
|
:cond_3
|
|
:goto_1
|
|
iget-object p1, p1, Landroidx/work/impl/constraints/trackers/ConstraintTracker;->e:Ljava/lang/Object;
|
|
|
|
.line 120
|
|
.line 121
|
|
invoke-virtual {p0, p1}, Landroidx/work/impl/constraints/controllers/ConstraintController;->a(Ljava/lang/Object;)V
|
|
|
|
.line 122
|
|
.line 123
|
|
.line 124
|
|
:cond_4
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 125
|
|
:goto_2
|
|
iget-object p1, p0, Landroidx/work/impl/constraints/controllers/ConstraintController;->d:Landroidx/work/impl/constraints/controllers/ConstraintController$OnConstraintUpdatedCallback;
|
|
|
|
.line 126
|
|
.line 127
|
|
iget-object v0, p0, Landroidx/work/impl/constraints/controllers/ConstraintController;->b:Ljava/lang/Object;
|
|
|
|
.line 128
|
|
.line 129
|
|
invoke-virtual {p0, p1, v0}, Landroidx/work/impl/constraints/controllers/ConstraintController;->e(Landroidx/work/impl/constraints/controllers/ConstraintController$OnConstraintUpdatedCallback;Ljava/lang/Object;)V
|
|
|
|
.line 130
|
|
.line 131
|
|
.line 132
|
|
return-void
|
|
|
|
.line 133
|
|
:goto_3
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 134
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final e(Landroidx/work/impl/constraints/controllers/ConstraintController$OnConstraintUpdatedCallback;Ljava/lang/Object;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/work/impl/constraints/controllers/ConstraintController;->a:Ljava/util/ArrayList;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v1
|
|
|
|
.line 7
|
|
if-nez v1, :cond_3
|
|
|
|
.line 8
|
|
.line 9
|
|
if-nez p1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
goto :goto_1
|
|
|
|
.line 12
|
|
:cond_0
|
|
if-eqz p2, :cond_2
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {p0, p2}, Landroidx/work/impl/constraints/controllers/ConstraintController;->c(Ljava/lang/Object;)Z
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result p2
|
|
|
|
.line 18
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 19
|
|
.line 20
|
|
goto :goto_0
|
|
|
|
.line 21
|
|
:cond_1
|
|
invoke-interface {p1, v0}, Landroidx/work/impl/constraints/controllers/ConstraintController$OnConstraintUpdatedCallback;->a(Ljava/util/ArrayList;)V
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
return-void
|
|
|
|
.line 25
|
|
:cond_2
|
|
:goto_0
|
|
invoke-interface {p1, v0}, Landroidx/work/impl/constraints/controllers/ConstraintController$OnConstraintUpdatedCallback;->b(Ljava/util/ArrayList;)V
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
:cond_3
|
|
:goto_1
|
|
return-void
|
|
.end method
|