* 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>
495 lines
10 KiB
Smali
495 lines
10 KiB
Smali
.class public final enum Lkotlin/text/RegexOption;
|
|
.super Ljava/lang/Enum;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/text/FlagEnum;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Enum<",
|
|
"Lkotlin/text/RegexOption;",
|
|
">;",
|
|
"Lkotlin/text/FlagEnum;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u000e\u0008\u0086\u0081\u0002\u0018\u00002\u00020\u00012\u0008\u0012\u0004\u0012\u00020\u00000\u0002B\u001b\u0008\u0002\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0008\u0008\u0002\u0010\u0005\u001a\u00020\u0004\u00a2\u0006\u0004\u0008\u0006\u0010\u0007R\u0014\u0010\u0003\u001a\u00020\u0004X\u0096\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0008\u0010\tR\u0014\u0010\u0005\u001a\u00020\u0004X\u0096\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\n\u0010\tj\u0002\u0008\u000bj\u0002\u0008\u000cj\u0002\u0008\rj\u0002\u0008\u000ej\u0002\u0008\u000fj\u0002\u0008\u0010j\u0002\u0008\u0011\u00a8\u0006\u0012"
|
|
}
|
|
d2 = {
|
|
"Lkotlin/text/RegexOption;",
|
|
"Lkotlin/text/FlagEnum;",
|
|
"",
|
|
"value",
|
|
"",
|
|
"mask",
|
|
"<init>",
|
|
"(Ljava/lang/String;III)V",
|
|
"getValue",
|
|
"()I",
|
|
"getMask",
|
|
"IGNORE_CASE",
|
|
"MULTILINE",
|
|
"LITERAL",
|
|
"UNIX_LINES",
|
|
"COMMENTS",
|
|
"DOT_MATCHES_ALL",
|
|
"CANON_EQ",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final synthetic $ENTRIES:Lkotlin/enums/EnumEntries;
|
|
|
|
.field private static final synthetic $VALUES:[Lkotlin/text/RegexOption;
|
|
|
|
.field public static final enum CANON_EQ:Lkotlin/text/RegexOption;
|
|
|
|
.field public static final enum COMMENTS:Lkotlin/text/RegexOption;
|
|
|
|
.field public static final enum DOT_MATCHES_ALL:Lkotlin/text/RegexOption;
|
|
|
|
.field public static final enum IGNORE_CASE:Lkotlin/text/RegexOption;
|
|
|
|
.field public static final enum LITERAL:Lkotlin/text/RegexOption;
|
|
|
|
.field public static final enum MULTILINE:Lkotlin/text/RegexOption;
|
|
|
|
.field public static final enum UNIX_LINES:Lkotlin/text/RegexOption;
|
|
|
|
|
|
# instance fields
|
|
.field private final mask:I
|
|
|
|
.field private final value:I
|
|
|
|
|
|
# direct methods
|
|
.method private static final synthetic $values()[Lkotlin/text/RegexOption;
|
|
.locals 3
|
|
|
|
const/4 v0, 0x7
|
|
|
|
new-array v0, v0, [Lkotlin/text/RegexOption;
|
|
|
|
sget-object v1, Lkotlin/text/RegexOption;->IGNORE_CASE:Lkotlin/text/RegexOption;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sget-object v1, Lkotlin/text/RegexOption;->MULTILINE:Lkotlin/text/RegexOption;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sget-object v1, Lkotlin/text/RegexOption;->LITERAL:Lkotlin/text/RegexOption;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sget-object v1, Lkotlin/text/RegexOption;->UNIX_LINES:Lkotlin/text/RegexOption;
|
|
|
|
const/4 v2, 0x3
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sget-object v1, Lkotlin/text/RegexOption;->COMMENTS:Lkotlin/text/RegexOption;
|
|
|
|
const/4 v2, 0x4
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sget-object v1, Lkotlin/text/RegexOption;->DOT_MATCHES_ALL:Lkotlin/text/RegexOption;
|
|
|
|
const/4 v2, 0x5
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sget-object v1, Lkotlin/text/RegexOption;->CANON_EQ:Lkotlin/text/RegexOption;
|
|
|
|
const/4 v2, 0x6
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method static constructor <clinit>()V
|
|
.locals 13
|
|
|
|
.line 1
|
|
new-instance v0, Lkotlin/text/RegexOption;
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v5, 0x2
|
|
|
|
.line 4
|
|
const/4 v6, 0x0
|
|
|
|
.line 5
|
|
const-string v1, "IGNORE_CASE"
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v2, 0x0
|
|
|
|
.line 8
|
|
const/4 v3, 0x2
|
|
|
|
.line 9
|
|
const/4 v4, 0x0
|
|
|
|
.line 10
|
|
invoke-direct/range {v0 .. v6}, Lkotlin/text/RegexOption;-><init>(Ljava/lang/String;IIIILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
sput-object v0, Lkotlin/text/RegexOption;->IGNORE_CASE:Lkotlin/text/RegexOption;
|
|
|
|
.line 14
|
|
.line 15
|
|
new-instance v1, Lkotlin/text/RegexOption;
|
|
|
|
.line 16
|
|
.line 17
|
|
const/4 v6, 0x2
|
|
|
|
.line 18
|
|
const/4 v7, 0x0
|
|
|
|
.line 19
|
|
const-string v2, "MULTILINE"
|
|
|
|
.line 20
|
|
.line 21
|
|
const/4 v3, 0x1
|
|
|
|
.line 22
|
|
const/16 v4, 0x8
|
|
|
|
.line 23
|
|
.line 24
|
|
const/4 v5, 0x0
|
|
|
|
.line 25
|
|
invoke-direct/range {v1 .. v7}, Lkotlin/text/RegexOption;-><init>(Ljava/lang/String;IIIILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
sput-object v1, Lkotlin/text/RegexOption;->MULTILINE:Lkotlin/text/RegexOption;
|
|
|
|
.line 29
|
|
.line 30
|
|
new-instance v2, Lkotlin/text/RegexOption;
|
|
|
|
.line 31
|
|
.line 32
|
|
const/4 v7, 0x2
|
|
|
|
.line 33
|
|
const/4 v8, 0x0
|
|
|
|
.line 34
|
|
const-string v3, "LITERAL"
|
|
|
|
.line 35
|
|
.line 36
|
|
const/4 v4, 0x2
|
|
|
|
.line 37
|
|
const/16 v5, 0x10
|
|
|
|
.line 38
|
|
.line 39
|
|
const/4 v6, 0x0
|
|
|
|
.line 40
|
|
invoke-direct/range {v2 .. v8}, Lkotlin/text/RegexOption;-><init>(Ljava/lang/String;IIIILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
sput-object v2, Lkotlin/text/RegexOption;->LITERAL:Lkotlin/text/RegexOption;
|
|
|
|
.line 44
|
|
.line 45
|
|
new-instance v3, Lkotlin/text/RegexOption;
|
|
|
|
.line 46
|
|
.line 47
|
|
const/4 v8, 0x2
|
|
|
|
.line 48
|
|
const/4 v9, 0x0
|
|
|
|
.line 49
|
|
const-string v4, "UNIX_LINES"
|
|
|
|
.line 50
|
|
.line 51
|
|
const/4 v5, 0x3
|
|
|
|
.line 52
|
|
const/4 v6, 0x1
|
|
|
|
.line 53
|
|
const/4 v7, 0x0
|
|
|
|
.line 54
|
|
invoke-direct/range {v3 .. v9}, Lkotlin/text/RegexOption;-><init>(Ljava/lang/String;IIIILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
sput-object v3, Lkotlin/text/RegexOption;->UNIX_LINES:Lkotlin/text/RegexOption;
|
|
|
|
.line 58
|
|
.line 59
|
|
new-instance v4, Lkotlin/text/RegexOption;
|
|
|
|
.line 60
|
|
.line 61
|
|
const/4 v9, 0x2
|
|
|
|
.line 62
|
|
const/4 v10, 0x0
|
|
|
|
.line 63
|
|
const-string v5, "COMMENTS"
|
|
|
|
.line 64
|
|
.line 65
|
|
const/4 v6, 0x4
|
|
|
|
.line 66
|
|
const/4 v7, 0x4
|
|
|
|
.line 67
|
|
const/4 v8, 0x0
|
|
|
|
.line 68
|
|
invoke-direct/range {v4 .. v10}, Lkotlin/text/RegexOption;-><init>(Ljava/lang/String;IIIILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
sput-object v4, Lkotlin/text/RegexOption;->COMMENTS:Lkotlin/text/RegexOption;
|
|
|
|
.line 72
|
|
.line 73
|
|
new-instance v5, Lkotlin/text/RegexOption;
|
|
|
|
.line 74
|
|
.line 75
|
|
const/4 v10, 0x2
|
|
|
|
.line 76
|
|
const/4 v11, 0x0
|
|
|
|
.line 77
|
|
const-string v6, "DOT_MATCHES_ALL"
|
|
|
|
.line 78
|
|
.line 79
|
|
const/4 v7, 0x5
|
|
|
|
.line 80
|
|
const/16 v8, 0x20
|
|
|
|
.line 81
|
|
.line 82
|
|
const/4 v9, 0x0
|
|
|
|
.line 83
|
|
invoke-direct/range {v5 .. v11}, Lkotlin/text/RegexOption;-><init>(Ljava/lang/String;IIIILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.line 84
|
|
.line 85
|
|
.line 86
|
|
sput-object v5, Lkotlin/text/RegexOption;->DOT_MATCHES_ALL:Lkotlin/text/RegexOption;
|
|
|
|
.line 87
|
|
.line 88
|
|
new-instance v6, Lkotlin/text/RegexOption;
|
|
|
|
.line 89
|
|
.line 90
|
|
const/4 v11, 0x2
|
|
|
|
.line 91
|
|
const/4 v12, 0x0
|
|
|
|
.line 92
|
|
const-string v7, "CANON_EQ"
|
|
|
|
.line 93
|
|
.line 94
|
|
const/4 v8, 0x6
|
|
|
|
.line 95
|
|
const/16 v9, 0x80
|
|
|
|
.line 96
|
|
.line 97
|
|
const/4 v10, 0x0
|
|
|
|
.line 98
|
|
invoke-direct/range {v6 .. v12}, Lkotlin/text/RegexOption;-><init>(Ljava/lang/String;IIIILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.line 99
|
|
.line 100
|
|
.line 101
|
|
sput-object v6, Lkotlin/text/RegexOption;->CANON_EQ:Lkotlin/text/RegexOption;
|
|
|
|
.line 102
|
|
.line 103
|
|
invoke-static {}, Lkotlin/text/RegexOption;->$values()[Lkotlin/text/RegexOption;
|
|
|
|
.line 104
|
|
.line 105
|
|
.line 106
|
|
move-result-object v0
|
|
|
|
.line 107
|
|
sput-object v0, Lkotlin/text/RegexOption;->$VALUES:[Lkotlin/text/RegexOption;
|
|
|
|
.line 108
|
|
.line 109
|
|
invoke-static {v0}, Lkotlin/enums/EnumEntriesKt;->enumEntries([Ljava/lang/Enum;)Lkotlin/enums/EnumEntries;
|
|
|
|
.line 110
|
|
.line 111
|
|
.line 112
|
|
move-result-object v0
|
|
|
|
.line 113
|
|
sput-object v0, Lkotlin/text/RegexOption;->$ENTRIES:Lkotlin/enums/EnumEntries;
|
|
|
|
.line 114
|
|
.line 115
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Ljava/lang/String;III)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(II)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
iput p3, p0, Lkotlin/text/RegexOption;->value:I
|
|
|
|
iput p4, p0, Lkotlin/text/RegexOption;->mask:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Ljava/lang/String;IIIILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p5, p5, 0x2
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
move p4, p3
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-direct {p0, p1, p2, p3, p4}, Lkotlin/text/RegexOption;-><init>(Ljava/lang/String;III)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getEntries()Lkotlin/enums/EnumEntries;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lkotlin/enums/EnumEntries<",
|
|
"Lkotlin/text/RegexOption;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
sget-object v0, Lkotlin/text/RegexOption;->$ENTRIES:Lkotlin/enums/EnumEntries;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Lkotlin/text/RegexOption;
|
|
.locals 1
|
|
|
|
const-class v0, Lkotlin/text/RegexOption;
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lkotlin/text/RegexOption;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lkotlin/text/RegexOption;
|
|
.locals 1
|
|
|
|
sget-object v0, Lkotlin/text/RegexOption;->$VALUES:[Lkotlin/text/RegexOption;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lkotlin/text/RegexOption;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getMask()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lkotlin/text/RegexOption;->mask:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getValue()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lkotlin/text/RegexOption;->value:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|