* 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>
672 lines
12 KiB
Smali
672 lines
12 KiB
Smali
.class public abstract Lcom/google/common/base/CharMatcher;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/common/base/Predicate;
|
|
|
|
|
|
# annotations
|
|
.annotation build Lcom/google/common/annotations/GwtCompatible;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/google/common/base/CharMatcher$Any;,
|
|
Lcom/google/common/base/CharMatcher$None;,
|
|
Lcom/google/common/base/CharMatcher$Whitespace;,
|
|
Lcom/google/common/base/CharMatcher$BreakingWhitespace;,
|
|
Lcom/google/common/base/CharMatcher$Ascii;,
|
|
Lcom/google/common/base/CharMatcher$Digit;,
|
|
Lcom/google/common/base/CharMatcher$JavaDigit;,
|
|
Lcom/google/common/base/CharMatcher$JavaLetter;,
|
|
Lcom/google/common/base/CharMatcher$JavaLetterOrDigit;,
|
|
Lcom/google/common/base/CharMatcher$JavaUpperCase;,
|
|
Lcom/google/common/base/CharMatcher$JavaLowerCase;,
|
|
Lcom/google/common/base/CharMatcher$JavaIsoControl;,
|
|
Lcom/google/common/base/CharMatcher$Invisible;,
|
|
Lcom/google/common/base/CharMatcher$SingleWidth;,
|
|
Lcom/google/common/base/CharMatcher$Is;,
|
|
Lcom/google/common/base/CharMatcher$IsNot;,
|
|
Lcom/google/common/base/CharMatcher$IsEither;,
|
|
Lcom/google/common/base/CharMatcher$AnyOf;,
|
|
Lcom/google/common/base/CharMatcher$InRange;,
|
|
Lcom/google/common/base/CharMatcher$ForPredicate;,
|
|
Lcom/google/common/base/CharMatcher$Negated;,
|
|
Lcom/google/common/base/CharMatcher$And;,
|
|
Lcom/google/common/base/CharMatcher$Or;,
|
|
Lcom/google/common/base/CharMatcher$BitSetMatcher;,
|
|
Lcom/google/common/base/CharMatcher$RangesMatcher;,
|
|
Lcom/google/common/base/CharMatcher$NegatedFastMatcher;,
|
|
Lcom/google/common/base/CharMatcher$NamedFastMatcher;,
|
|
Lcom/google/common/base/CharMatcher$FastMatcher;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lcom/google/common/base/Predicate<",
|
|
"Ljava/lang/Character;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public static a(C)Ljava/lang/String;
|
|
.locals 6
|
|
|
|
.line 1
|
|
const/4 v0, 0x6
|
|
|
|
.line 2
|
|
new-array v0, v0, [C
|
|
|
|
.line 3
|
|
.line 4
|
|
const/16 v1, 0x5c
|
|
|
|
.line 5
|
|
.line 6
|
|
const/4 v2, 0x0
|
|
|
|
.line 7
|
|
aput-char v1, v0, v2
|
|
|
|
.line 8
|
|
.line 9
|
|
const/4 v1, 0x1
|
|
|
|
.line 10
|
|
const/16 v3, 0x75
|
|
|
|
.line 11
|
|
.line 12
|
|
aput-char v3, v0, v1
|
|
|
|
.line 13
|
|
.line 14
|
|
const/4 v1, 0x2
|
|
|
|
.line 15
|
|
aput-char v2, v0, v1
|
|
|
|
.line 16
|
|
.line 17
|
|
const/4 v1, 0x3
|
|
|
|
.line 18
|
|
aput-char v2, v0, v1
|
|
|
|
.line 19
|
|
.line 20
|
|
const/4 v1, 0x4
|
|
|
|
.line 21
|
|
aput-char v2, v0, v1
|
|
|
|
.line 22
|
|
.line 23
|
|
const/4 v3, 0x5
|
|
|
|
.line 24
|
|
aput-char v2, v0, v3
|
|
|
|
.line 25
|
|
.line 26
|
|
:goto_0
|
|
if-ge v2, v1, :cond_0
|
|
|
|
.line 27
|
|
.line 28
|
|
rsub-int/lit8 v3, v2, 0x5
|
|
|
|
.line 29
|
|
.line 30
|
|
and-int/lit8 v4, p0, 0xf
|
|
|
|
.line 31
|
|
.line 32
|
|
const-string v5, "0123456789ABCDEF"
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {v5, v4}, Ljava/lang/String;->charAt(I)C
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result v4
|
|
|
|
.line 38
|
|
aput-char v4, v0, v3
|
|
|
|
.line 39
|
|
.line 40
|
|
shr-int/2addr p0, v1
|
|
|
|
.line 41
|
|
int-to-char p0, p0
|
|
|
|
.line 42
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 43
|
|
.line 44
|
|
goto :goto_0
|
|
|
|
.line 45
|
|
:cond_0
|
|
invoke-static {v0}, Ljava/lang/String;->copyValueOf([C)Ljava/lang/String;
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result-object p0
|
|
|
|
.line 49
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static c(Ljava/lang/String;)Lcom/google/common/base/CharMatcher;
|
|
.locals 4
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v1, 0x0
|
|
|
|
.line 8
|
|
const/4 v2, 0x1
|
|
|
|
.line 9
|
|
if-eq v0, v2, :cond_1
|
|
|
|
.line 10
|
|
.line 11
|
|
const/4 v3, 0x2
|
|
|
|
.line 12
|
|
if-eq v0, v3, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
new-instance v0, Lcom/google/common/base/CharMatcher$AnyOf;
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-direct {v0, p0}, Lcom/google/common/base/CharMatcher$AnyOf;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
return-object v0
|
|
|
|
.line 20
|
|
:cond_0
|
|
invoke-virtual {p0, v1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result v0
|
|
|
|
.line 24
|
|
invoke-virtual {p0, v2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result p0
|
|
|
|
.line 28
|
|
new-instance v1, Lcom/google/common/base/CharMatcher$IsEither;
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-direct {v1, v0, p0}, Lcom/google/common/base/CharMatcher$IsEither;-><init>(CC)V
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
return-object v1
|
|
|
|
.line 34
|
|
:cond_1
|
|
invoke-virtual {p0, v1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result p0
|
|
|
|
.line 38
|
|
new-instance v0, Lcom/google/common/base/CharMatcher$Is;
|
|
|
|
.line 39
|
|
.line 40
|
|
invoke-direct {v0, p0}, Lcom/google/common/base/CharMatcher$Is;-><init>(C)V
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
return-object v0
|
|
|
|
.line 44
|
|
:cond_2
|
|
sget-object p0, Lcom/google/common/base/CharMatcher$None;->f:Lcom/google/common/base/CharMatcher;
|
|
|
|
.line 45
|
|
.line 46
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static e()Lcom/google/common/base/CharMatcher;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/google/common/base/CharMatcher$Ascii;->f:Lcom/google/common/base/CharMatcher;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static g(CC)Lcom/google/common/base/CharMatcher;
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/common/base/CharMatcher$InRange;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0, p0, p1}, Lcom/google/common/base/CharMatcher$InRange;-><init>(CC)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static j(C)Lcom/google/common/base/CharMatcher;
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/common/base/CharMatcher$Is;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0, p0}, Lcom/google/common/base/CharMatcher$Is;-><init>(C)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static k()Lcom/google/common/base/CharMatcher;
|
|
.locals 2
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/common/base/CharMatcher$IsNot;
|
|
|
|
.line 2
|
|
.line 3
|
|
const/16 v1, 0x20
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-direct {v0, v1}, Lcom/google/common/base/CharMatcher$IsNot;-><init>(C)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static l()Lcom/google/common/base/CharMatcher;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/google/common/base/CharMatcher$JavaIsoControl;->f:Lcom/google/common/base/CharMatcher;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic apply(Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
check-cast p1, Ljava/lang/Character;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0, p1}, Lcom/google/common/base/CharMatcher;->d(Ljava/lang/Character;)Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result p1
|
|
|
|
.line 7
|
|
return p1
|
|
.end method
|
|
|
|
.method public b(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/common/base/CharMatcher$And;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0, p0, p1}, Lcom/google/common/base/CharMatcher$And;-><init>(Lcom/google/common/base/CharMatcher;Lcom/google/common/base/CharMatcher;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final d(Ljava/lang/Character;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p1}, Ljava/lang/Character;->charValue()C
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p1
|
|
|
|
.line 5
|
|
invoke-virtual {p0, p1}, Lcom/google/common/base/CharMatcher;->m(C)Z
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result p1
|
|
|
|
.line 9
|
|
return p1
|
|
.end method
|
|
|
|
.method public f(Ljava/lang/CharSequence;)I
|
|
.locals 3
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
move v1, v0
|
|
|
|
.line 3
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v2
|
|
|
|
.line 7
|
|
if-ge v0, v2, :cond_1
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-interface {p1, v0}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result v2
|
|
|
|
.line 13
|
|
invoke-virtual {p0, v2}, Lcom/google/common/base/CharMatcher;->m(C)Z
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result v2
|
|
|
|
.line 17
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 18
|
|
.line 19
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
.line 20
|
|
.line 21
|
|
:cond_0
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
.line 22
|
|
.line 23
|
|
goto :goto_0
|
|
|
|
.line 24
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public h(ILjava/lang/CharSequence;)I
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-interface {p2}, Ljava/lang/CharSequence;->length()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
invoke-static {p1, v0}, Lcom/google/common/base/Preconditions;->i(II)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
:goto_0
|
|
if-ge p1, v0, :cond_1
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-interface {p2, p1}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result v1
|
|
|
|
.line 14
|
|
invoke-virtual {p0, v1}, Lcom/google/common/base/CharMatcher;->m(C)Z
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result v1
|
|
|
|
.line 18
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 19
|
|
.line 20
|
|
return p1
|
|
|
|
.line 21
|
|
:cond_0
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
.line 22
|
|
.line 23
|
|
goto :goto_0
|
|
|
|
.line 24
|
|
:cond_1
|
|
const/4 p1, -0x1
|
|
|
|
.line 25
|
|
return p1
|
|
.end method
|
|
|
|
.method public i(Ljava/lang/CharSequence;)I
|
|
.locals 1
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, v0, p1}, Lcom/google/common/base/CharMatcher;->h(ILjava/lang/CharSequence;)I
|
|
|
|
.line 3
|
|
.line 4
|
|
.line 5
|
|
move-result p1
|
|
|
|
.line 6
|
|
return p1
|
|
.end method
|
|
|
|
.method public abstract m(C)Z
|
|
.end method
|
|
|
|
.method public n(Ljava/lang/CharSequence;)Z
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
const/4 v1, 0x1
|
|
|
|
.line 6
|
|
sub-int/2addr v0, v1
|
|
|
|
.line 7
|
|
:goto_0
|
|
if-ltz v0, :cond_1
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-interface {p1, v0}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result v2
|
|
|
|
.line 13
|
|
invoke-virtual {p0, v2}, Lcom/google/common/base/CharMatcher;->m(C)Z
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result v2
|
|
|
|
.line 17
|
|
if-nez v2, :cond_0
|
|
|
|
.line 18
|
|
.line 19
|
|
const/4 p1, 0x0
|
|
|
|
.line 20
|
|
return p1
|
|
|
|
.line 21
|
|
:cond_0
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
.line 22
|
|
.line 23
|
|
goto :goto_0
|
|
|
|
.line 24
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public o(Ljava/lang/CharSequence;)Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Lcom/google/common/base/CharMatcher;->i(Ljava/lang/CharSequence;)I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p1
|
|
|
|
.line 5
|
|
const/4 v0, -0x1
|
|
|
|
.line 6
|
|
if-ne p1, v0, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
const/4 p1, 0x1
|
|
|
|
.line 9
|
|
return p1
|
|
|
|
.line 10
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 11
|
|
return p1
|
|
.end method
|
|
|
|
.method public p()Lcom/google/common/base/CharMatcher;
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/common/base/CharMatcher$Negated;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0, p0}, Lcom/google/common/base/CharMatcher$Negated;-><init>(Lcom/google/common/base/CharMatcher;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public q(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/common/base/CharMatcher$Or;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0, p0, p1}, Lcom/google/common/base/CharMatcher$Or;-><init>(Lcom/google/common/base/CharMatcher;Lcom/google/common/base/CharMatcher;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-object v0
|
|
.end method
|