* 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>
420 lines
9.2 KiB
Smali
420 lines
9.2 KiB
Smali
.class public final enum Landroidx/lifecycle/Lifecycle$Event;
|
|
.super Ljava/lang/Enum;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/lifecycle/Lifecycle;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x4019
|
|
name = "Event"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/lifecycle/Lifecycle$Event$Companion;,
|
|
Landroidx/lifecycle/Lifecycle$Event$WhenMappings;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Enum<",
|
|
"Landroidx/lifecycle/Lifecycle$Event;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\u000c\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\u0008\t\u0008\u0086\u0001\u0018\u0000 \u00022\u0008\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u0002j\u0002\u0008\u0003j\u0002\u0008\u0004j\u0002\u0008\u0005j\u0002\u0008\u0006j\u0002\u0008\u0007j\u0002\u0008\u0008j\u0002\u0008\t\u00a8\u0006\n"
|
|
}
|
|
d2 = {
|
|
"Landroidx/lifecycle/Lifecycle$Event;",
|
|
"",
|
|
"Companion",
|
|
"ON_CREATE",
|
|
"ON_START",
|
|
"ON_RESUME",
|
|
"ON_PAUSE",
|
|
"ON_STOP",
|
|
"ON_DESTROY",
|
|
"ON_ANY",
|
|
"lifecycle-common"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x8,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final synthetic $VALUES:[Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.field public static final Companion:Landroidx/lifecycle/Lifecycle$Event$Companion;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum ON_ANY:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.field public static final enum ON_CREATE:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.field public static final enum ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.field public static final enum ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.field public static final enum ON_RESUME:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.field public static final enum ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.field public static final enum ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 15
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 2
|
|
.line 3
|
|
const-string v1, "ON_CREATE"
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v2, 0x0
|
|
|
|
.line 6
|
|
invoke-direct {v0, v1, v2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_CREATE:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 10
|
|
.line 11
|
|
new-instance v1, Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 12
|
|
.line 13
|
|
const-string v3, "ON_START"
|
|
|
|
.line 14
|
|
.line 15
|
|
const/4 v4, 0x1
|
|
|
|
.line 16
|
|
invoke-direct {v1, v3, v4}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
sput-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 20
|
|
.line 21
|
|
new-instance v3, Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 22
|
|
.line 23
|
|
const-string v5, "ON_RESUME"
|
|
|
|
.line 24
|
|
.line 25
|
|
const/4 v6, 0x2
|
|
|
|
.line 26
|
|
invoke-direct {v3, v5, v6}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
sput-object v3, Landroidx/lifecycle/Lifecycle$Event;->ON_RESUME:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 30
|
|
.line 31
|
|
new-instance v5, Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 32
|
|
.line 33
|
|
const-string v7, "ON_PAUSE"
|
|
|
|
.line 34
|
|
.line 35
|
|
const/4 v8, 0x3
|
|
|
|
.line 36
|
|
invoke-direct {v5, v7, v8}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
sput-object v5, Landroidx/lifecycle/Lifecycle$Event;->ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 40
|
|
.line 41
|
|
new-instance v7, Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 42
|
|
.line 43
|
|
const-string v9, "ON_STOP"
|
|
|
|
.line 44
|
|
.line 45
|
|
const/4 v10, 0x4
|
|
|
|
.line 46
|
|
invoke-direct {v7, v9, v10}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
sput-object v7, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 50
|
|
.line 51
|
|
new-instance v9, Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 52
|
|
.line 53
|
|
const-string v11, "ON_DESTROY"
|
|
|
|
.line 54
|
|
.line 55
|
|
const/4 v12, 0x5
|
|
|
|
.line 56
|
|
invoke-direct {v9, v11, v12}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
sput-object v9, Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 60
|
|
.line 61
|
|
new-instance v11, Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 62
|
|
.line 63
|
|
const-string v13, "ON_ANY"
|
|
|
|
.line 64
|
|
.line 65
|
|
const/4 v14, 0x6
|
|
|
|
.line 66
|
|
invoke-direct {v11, v13, v14}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
sput-object v11, Landroidx/lifecycle/Lifecycle$Event;->ON_ANY:Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 70
|
|
.line 71
|
|
const/4 v13, 0x7
|
|
|
|
.line 72
|
|
new-array v13, v13, [Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 73
|
|
.line 74
|
|
aput-object v0, v13, v2
|
|
|
|
.line 75
|
|
.line 76
|
|
aput-object v1, v13, v4
|
|
|
|
.line 77
|
|
.line 78
|
|
aput-object v3, v13, v6
|
|
|
|
.line 79
|
|
.line 80
|
|
aput-object v5, v13, v8
|
|
|
|
.line 81
|
|
.line 82
|
|
aput-object v7, v13, v10
|
|
|
|
.line 83
|
|
.line 84
|
|
aput-object v9, v13, v12
|
|
|
|
.line 85
|
|
.line 86
|
|
aput-object v11, v13, v14
|
|
|
|
.line 87
|
|
.line 88
|
|
sput-object v13, Landroidx/lifecycle/Lifecycle$Event;->$VALUES:[Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
.line 89
|
|
.line 90
|
|
new-instance v0, Landroidx/lifecycle/Lifecycle$Event$Companion;
|
|
|
|
.line 91
|
|
.line 92
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->Companion:Landroidx/lifecycle/Lifecycle$Event$Companion;
|
|
|
|
.line 96
|
|
.line 97
|
|
return-void
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Landroidx/lifecycle/Lifecycle$Event;
|
|
.locals 1
|
|
|
|
const-class v0, Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Landroidx/lifecycle/Lifecycle$Event;
|
|
.locals 1
|
|
|
|
sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->$VALUES:[Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
invoke-virtual {v0}, [Ljava/lang/Object;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Landroidx/lifecycle/Lifecycle$Event;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()Landroidx/lifecycle/Lifecycle$State;
|
|
.locals 3
|
|
|
|
.line 1
|
|
sget-object v0, Landroidx/lifecycle/Lifecycle$Event$WhenMappings;->$EnumSwitchMapping$0:[I
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v1
|
|
|
|
.line 7
|
|
aget v0, v0, v1
|
|
|
|
.line 8
|
|
.line 9
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 13
|
|
.line 14
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
const-string v2, " has no target state"
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
move-result-object v1
|
|
|
|
.line 31
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
throw v0
|
|
|
|
.line 35
|
|
:pswitch_0
|
|
sget-object v0, Landroidx/lifecycle/Lifecycle$State;->c:Landroidx/lifecycle/Lifecycle$State;
|
|
|
|
.line 36
|
|
.line 37
|
|
return-object v0
|
|
|
|
.line 38
|
|
:pswitch_1
|
|
sget-object v0, Landroidx/lifecycle/Lifecycle$State;->i:Landroidx/lifecycle/Lifecycle$State;
|
|
|
|
.line 39
|
|
.line 40
|
|
return-object v0
|
|
|
|
.line 41
|
|
:pswitch_2
|
|
sget-object v0, Landroidx/lifecycle/Lifecycle$State;->h:Landroidx/lifecycle/Lifecycle$State;
|
|
|
|
.line 42
|
|
.line 43
|
|
return-object v0
|
|
|
|
.line 44
|
|
:pswitch_3
|
|
sget-object v0, Landroidx/lifecycle/Lifecycle$State;->g:Landroidx/lifecycle/Lifecycle$State;
|
|
|
|
.line 45
|
|
.line 46
|
|
return-object v0
|
|
|
|
.line 47
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_3
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|