* 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>
342 lines
8 KiB
Smali
342 lines
8 KiB
Smali
.class public Lorg/jsoup/nodes/Document$OutputSettings;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Cloneable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lorg/jsoup/nodes/Document;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "OutputSettings"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lorg/jsoup/nodes/Document$OutputSettings$Syntax;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public c:Lorg/jsoup/nodes/Entities$EscapeMode;
|
|
|
|
.field public f:Ljava/nio/charset/Charset;
|
|
|
|
.field public g:Z
|
|
|
|
.field public h:Z
|
|
|
|
.field public i:I
|
|
|
|
.field public j:I
|
|
|
|
.field public k:Lorg/jsoup/nodes/Document$OutputSettings$Syntax;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
sget-object v0, Lorg/jsoup/nodes/Entities$EscapeMode;->base:Lorg/jsoup/nodes/Entities$EscapeMode;
|
|
|
|
.line 5
|
|
.line 6
|
|
iput-object v0, p0, Lorg/jsoup/nodes/Document$OutputSettings;->c:Lorg/jsoup/nodes/Entities$EscapeMode;
|
|
|
|
.line 7
|
|
.line 8
|
|
sget-object v0, Lorg/jsoup/helper/DataUtil;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
.line 9
|
|
.line 10
|
|
iput-object v0, p0, Lorg/jsoup/nodes/Document$OutputSettings;->f:Ljava/nio/charset/Charset;
|
|
|
|
.line 11
|
|
.line 12
|
|
const/4 v0, 0x1
|
|
|
|
.line 13
|
|
iput-boolean v0, p0, Lorg/jsoup/nodes/Document$OutputSettings;->g:Z
|
|
|
|
.line 14
|
|
.line 15
|
|
const/4 v1, 0x0
|
|
|
|
.line 16
|
|
iput-boolean v1, p0, Lorg/jsoup/nodes/Document$OutputSettings;->h:Z
|
|
|
|
.line 17
|
|
.line 18
|
|
iput v0, p0, Lorg/jsoup/nodes/Document$OutputSettings;->i:I
|
|
|
|
.line 19
|
|
.line 20
|
|
const/16 v0, 0x1e
|
|
|
|
.line 21
|
|
.line 22
|
|
iput v0, p0, Lorg/jsoup/nodes/Document$OutputSettings;->j:I
|
|
|
|
.line 23
|
|
.line 24
|
|
sget-object v0, Lorg/jsoup/nodes/Document$OutputSettings$Syntax;->html:Lorg/jsoup/nodes/Document$OutputSettings$Syntax;
|
|
|
|
.line 25
|
|
.line 26
|
|
iput-object v0, p0, Lorg/jsoup/nodes/Document$OutputSettings;->k:Lorg/jsoup/nodes/Document$OutputSettings$Syntax;
|
|
|
|
.line 27
|
|
.line 28
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public charset()Ljava/nio/charset/Charset;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lorg/jsoup/nodes/Document$OutputSettings;->f:Ljava/nio/charset/Charset;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public charset(Ljava/lang/String;)Lorg/jsoup/nodes/Document$OutputSettings;
|
|
.locals 0
|
|
|
|
.line 3
|
|
invoke-static {p1}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Lorg/jsoup/nodes/Document$OutputSettings;->charset(Ljava/nio/charset/Charset;)Lorg/jsoup/nodes/Document$OutputSettings;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public charset(Ljava/nio/charset/Charset;)Lorg/jsoup/nodes/Document$OutputSettings;
|
|
.locals 0
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lorg/jsoup/nodes/Document$OutputSettings;->f:Ljava/nio/charset/Charset;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public bridge synthetic clone()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lorg/jsoup/nodes/Document$OutputSettings;->clone()Lorg/jsoup/nodes/Document$OutputSettings;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public clone()Lorg/jsoup/nodes/Document$OutputSettings;
|
|
.locals 2
|
|
|
|
.line 2
|
|
:try_start_0
|
|
invoke-super {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lorg/jsoup/nodes/Document$OutputSettings;
|
|
:try_end_0
|
|
.catch Ljava/lang/CloneNotSupportedException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 3
|
|
iget-object v1, p0, Lorg/jsoup/nodes/Document$OutputSettings;->f:Ljava/nio/charset/Charset;
|
|
|
|
invoke-virtual {v1}, Ljava/nio/charset/Charset;->name()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lorg/jsoup/nodes/Document$OutputSettings;->charset(Ljava/lang/String;)Lorg/jsoup/nodes/Document$OutputSettings;
|
|
|
|
.line 4
|
|
iget-object v1, p0, Lorg/jsoup/nodes/Document$OutputSettings;->c:Lorg/jsoup/nodes/Entities$EscapeMode;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->name()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lorg/jsoup/nodes/Entities$EscapeMode;->valueOf(Ljava/lang/String;)Lorg/jsoup/nodes/Entities$EscapeMode;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, v0, Lorg/jsoup/nodes/Document$OutputSettings;->c:Lorg/jsoup/nodes/Entities$EscapeMode;
|
|
|
|
return-object v0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 5
|
|
new-instance v1, Ljava/lang/RuntimeException;
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public escapeMode(Lorg/jsoup/nodes/Entities$EscapeMode;)Lorg/jsoup/nodes/Document$OutputSettings;
|
|
.locals 0
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lorg/jsoup/nodes/Document$OutputSettings;->c:Lorg/jsoup/nodes/Entities$EscapeMode;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public escapeMode()Lorg/jsoup/nodes/Entities$EscapeMode;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lorg/jsoup/nodes/Document$OutputSettings;->c:Lorg/jsoup/nodes/Entities$EscapeMode;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public indentAmount()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lorg/jsoup/nodes/Document$OutputSettings;->i:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public indentAmount(I)Lorg/jsoup/nodes/Document$OutputSettings;
|
|
.locals 1
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
:goto_0
|
|
invoke-static {v0}, Lorg/jsoup/helper/Validate;->isTrue(Z)V
|
|
|
|
.line 3
|
|
iput p1, p0, Lorg/jsoup/nodes/Document$OutputSettings;->i:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public maxPaddingWidth()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lorg/jsoup/nodes/Document$OutputSettings;->j:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public maxPaddingWidth(I)Lorg/jsoup/nodes/Document$OutputSettings;
|
|
.locals 1
|
|
|
|
const/4 v0, -0x1
|
|
|
|
if-lt p1, v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
:goto_0
|
|
invoke-static {v0}, Lorg/jsoup/helper/Validate;->isTrue(Z)V
|
|
|
|
.line 3
|
|
iput p1, p0, Lorg/jsoup/nodes/Document$OutputSettings;->j:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public outline(Z)Lorg/jsoup/nodes/Document$OutputSettings;
|
|
.locals 0
|
|
|
|
.line 2
|
|
iput-boolean p1, p0, Lorg/jsoup/nodes/Document$OutputSettings;->h:Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public outline()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lorg/jsoup/nodes/Document$OutputSettings;->h:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public prettyPrint(Z)Lorg/jsoup/nodes/Document$OutputSettings;
|
|
.locals 0
|
|
|
|
.line 2
|
|
iput-boolean p1, p0, Lorg/jsoup/nodes/Document$OutputSettings;->g:Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public prettyPrint()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lorg/jsoup/nodes/Document$OutputSettings;->g:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public syntax()Lorg/jsoup/nodes/Document$OutputSettings$Syntax;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lorg/jsoup/nodes/Document$OutputSettings;->k:Lorg/jsoup/nodes/Document$OutputSettings$Syntax;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public syntax(Lorg/jsoup/nodes/Document$OutputSettings$Syntax;)Lorg/jsoup/nodes/Document$OutputSettings;
|
|
.locals 1
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lorg/jsoup/nodes/Document$OutputSettings;->k:Lorg/jsoup/nodes/Document$OutputSettings$Syntax;
|
|
|
|
.line 3
|
|
sget-object v0, Lorg/jsoup/nodes/Document$OutputSettings$Syntax;->xml:Lorg/jsoup/nodes/Document$OutputSettings$Syntax;
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
.line 4
|
|
sget-object p1, Lorg/jsoup/nodes/Entities$EscapeMode;->xhtml:Lorg/jsoup/nodes/Entities$EscapeMode;
|
|
|
|
invoke-virtual {p0, p1}, Lorg/jsoup/nodes/Document$OutputSettings;->escapeMode(Lorg/jsoup/nodes/Entities$EscapeMode;)Lorg/jsoup/nodes/Document$OutputSettings;
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|