* 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>
371 lines
8.3 KiB
Smali
371 lines
8.3 KiB
Smali
.class public final enum Lj$/time/temporal/k;
|
|
.super Ljava/lang/Enum;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lj$/time/temporal/r;
|
|
|
|
|
|
# static fields
|
|
.field public static final enum JULIAN_DAY:Lj$/time/temporal/k;
|
|
|
|
.field public static final enum MODIFIED_JULIAN_DAY:Lj$/time/temporal/k;
|
|
|
|
.field public static final enum RATA_DIE:Lj$/time/temporal/k;
|
|
|
|
.field public static final synthetic d:[Lj$/time/temporal/k;
|
|
|
|
.field private static final serialVersionUID:J = -0x681b1f35efa83fd4L
|
|
|
|
|
|
# instance fields
|
|
.field public final transient a:Ljava/lang/String;
|
|
|
|
.field public final transient b:Lj$/time/temporal/v;
|
|
|
|
.field public final transient c:J
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 8
|
|
|
|
.line 221
|
|
new-instance v0, Lj$/time/temporal/k;
|
|
|
|
sget-object v1, Lj$/time/temporal/b;->NANOS:Lj$/time/temporal/b;
|
|
|
|
const-wide/32 v4, 0x253d8c
|
|
|
|
const-string v1, "JULIAN_DAY"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const-string v3, "JulianDay"
|
|
|
|
invoke-direct/range {v0 .. v5}, Lj$/time/temporal/k;-><init>(Ljava/lang/String;ILjava/lang/String;J)V
|
|
|
|
sput-object v0, Lj$/time/temporal/k;->JULIAN_DAY:Lj$/time/temporal/k;
|
|
|
|
.line 222
|
|
new-instance v1, Lj$/time/temporal/k;
|
|
|
|
const-string v4, "ModifiedJulianDay"
|
|
|
|
const-wide/32 v5, 0x9e8b
|
|
|
|
const-string v2, "MODIFIED_JULIAN_DAY"
|
|
|
|
const/4 v3, 0x1
|
|
|
|
invoke-direct/range {v1 .. v6}, Lj$/time/temporal/k;-><init>(Ljava/lang/String;ILjava/lang/String;J)V
|
|
|
|
sput-object v1, Lj$/time/temporal/k;->MODIFIED_JULIAN_DAY:Lj$/time/temporal/k;
|
|
|
|
.line 223
|
|
new-instance v2, Lj$/time/temporal/k;
|
|
|
|
const-string v5, "RataDie"
|
|
|
|
const-wide/32 v6, 0xaf93b
|
|
|
|
const-string v3, "RATA_DIE"
|
|
|
|
const/4 v4, 0x2
|
|
|
|
invoke-direct/range {v2 .. v7}, Lj$/time/temporal/k;-><init>(Ljava/lang/String;ILjava/lang/String;J)V
|
|
|
|
sput-object v2, Lj$/time/temporal/k;->RATA_DIE:Lj$/time/temporal/k;
|
|
|
|
const/4 v3, 0x3
|
|
|
|
.line 220
|
|
new-array v3, v3, [Lj$/time/temporal/k;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
aput-object v0, v3, v4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
aput-object v1, v3, v0
|
|
|
|
const/4 v0, 0x2
|
|
|
|
aput-object v2, v3, v0
|
|
|
|
sput-object v3, Lj$/time/temporal/k;->d:[Lj$/time/temporal/k;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;ILjava/lang/String;J)V
|
|
.locals 2
|
|
|
|
.line 233
|
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 234
|
|
iput-object p3, p0, Lj$/time/temporal/k;->a:Ljava/lang/String;
|
|
|
|
const-wide p1, -0x550a313cdaL
|
|
|
|
add-long/2addr p1, p4
|
|
|
|
const-wide v0, 0x550a1b48f7L
|
|
|
|
add-long/2addr v0, p4
|
|
|
|
.line 237
|
|
invoke-static {p1, p2, v0, v1}, Lj$/time/temporal/v;->f(JJ)Lj$/time/temporal/v;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lj$/time/temporal/k;->b:Lj$/time/temporal/v;
|
|
|
|
.line 238
|
|
iput-wide p4, p0, Lj$/time/temporal/k;->c:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Lj$/time/temporal/k;
|
|
.locals 1
|
|
|
|
.line 220
|
|
const-class v0, Lj$/time/temporal/k;
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lj$/time/temporal/k;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lj$/time/temporal/k;
|
|
.locals 1
|
|
|
|
.line 220
|
|
sget-object v0, Lj$/time/temporal/k;->d:[Lj$/time/temporal/k;
|
|
|
|
invoke-virtual {v0}, [Lj$/time/temporal/k;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lj$/time/temporal/k;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final d(Lj$/time/temporal/n;)Z
|
|
.locals 1
|
|
|
|
.line 270
|
|
sget-object v0, Lj$/time/temporal/a;->EPOCH_DAY:Lj$/time/temporal/a;
|
|
|
|
invoke-interface {p1, v0}, Lj$/time/temporal/n;->c(Lj$/time/temporal/r;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final g(Lj$/time/temporal/n;)Lj$/time/temporal/v;
|
|
.locals 2
|
|
|
|
.line 270
|
|
sget-object v0, Lj$/time/temporal/a;->EPOCH_DAY:Lj$/time/temporal/a;
|
|
|
|
invoke-interface {p1, v0}, Lj$/time/temporal/n;->c(Lj$/time/temporal/r;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 264
|
|
iget-object p1, p0, Lj$/time/temporal/k;->b:Lj$/time/temporal/v;
|
|
|
|
return-object p1
|
|
|
|
.line 276
|
|
:cond_0
|
|
new-instance p1, Lj$/time/b;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "Unsupported field: "
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 88
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 276
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final h(Ljava/util/Map;Lj$/time/format/d0;Lj$/time/format/e0;)Lj$/time/temporal/n;
|
|
.locals 4
|
|
|
|
.line 299
|
|
invoke-interface {p1, p0}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/Long;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 300
|
|
invoke-static {p2}, Lj$/com/android/tools/r8/a;->G(Lj$/time/temporal/n;)Lj$/time/chrono/m;
|
|
|
|
move-result-object p1
|
|
|
|
.line 301
|
|
sget-object p2, Lj$/time/format/e0;->LENIENT:Lj$/time/format/e0;
|
|
|
|
iget-wide v2, p0, Lj$/time/temporal/k;->c:J
|
|
|
|
if-ne p3, p2, :cond_0
|
|
|
|
.line 302
|
|
invoke-static {v0, v1, v2, v3}, Lj$/com/android/tools/r8/a;->P(JJ)J
|
|
|
|
move-result-wide p2
|
|
|
|
invoke-interface {p1, p2, p3}, Lj$/time/chrono/m;->e(J)Lj$/time/chrono/b;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 264
|
|
:cond_0
|
|
iget-object p2, p0, Lj$/time/temporal/k;->b:Lj$/time/temporal/v;
|
|
|
|
.line 304
|
|
invoke-virtual {p2, v0, v1, p0}, Lj$/time/temporal/v;->b(JLj$/time/temporal/r;)V
|
|
|
|
sub-long/2addr v0, v2
|
|
|
|
.line 305
|
|
invoke-interface {p1, v0, v1}, Lj$/time/chrono/m;->e(J)Lj$/time/chrono/b;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final i(Lj$/time/temporal/n;)J
|
|
.locals 4
|
|
|
|
.line 283
|
|
sget-object v0, Lj$/time/temporal/a;->EPOCH_DAY:Lj$/time/temporal/a;
|
|
|
|
invoke-interface {p1, v0}, Lj$/time/temporal/n;->y(Lj$/time/temporal/r;)J
|
|
|
|
move-result-wide v0
|
|
|
|
iget-wide v2, p0, Lj$/time/temporal/k;->c:J
|
|
|
|
add-long/2addr v0, v2
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final isDateBased()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final l(Lj$/time/temporal/m;J)Lj$/time/temporal/m;
|
|
.locals 3
|
|
|
|
.line 264
|
|
iget-object v0, p0, Lj$/time/temporal/k;->b:Lj$/time/temporal/v;
|
|
|
|
.line 289
|
|
invoke-virtual {v0, p2, p3}, Lj$/time/temporal/v;->e(J)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 292
|
|
sget-object v0, Lj$/time/temporal/a;->EPOCH_DAY:Lj$/time/temporal/a;
|
|
|
|
iget-wide v1, p0, Lj$/time/temporal/k;->c:J
|
|
|
|
invoke-static {p2, p3, v1, v2}, Lj$/com/android/tools/r8/a;->P(JJ)J
|
|
|
|
move-result-wide p2
|
|
|
|
invoke-interface {p1, p2, p3, v0}, Lj$/time/temporal/m;->a(JLj$/time/temporal/r;)Lj$/time/temporal/m;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 290
|
|
:cond_0
|
|
new-instance p1, Lj$/time/b;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "Invalid value: "
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lj$/time/temporal/k;->a:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, " "
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, p2, p3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
.line 88
|
|
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 290
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final range()Lj$/time/temporal/v;
|
|
.locals 1
|
|
|
|
.line 264
|
|
iget-object v0, p0, Lj$/time/temporal/k;->b:Lj$/time/temporal/v;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 311
|
|
iget-object v0, p0, Lj$/time/temporal/k;->a:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|