* 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>
1142 lines
21 KiB
Smali
1142 lines
21 KiB
Smali
.class public final Lj$/time/w;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lj$/time/temporal/m;
|
|
.implements Lj$/time/temporal/o;
|
|
.implements Ljava/lang/Comparable;
|
|
.implements Ljava/io/Serializable;
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic c:I = 0x0
|
|
|
|
.field private static final serialVersionUID:J = 0x3a0e6ceaf57ebbc6L
|
|
|
|
|
|
# instance fields
|
|
.field public final a:I
|
|
|
|
.field public final b:I
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 5
|
|
|
|
.line 141
|
|
new-instance v0, Lj$/time/format/u;
|
|
|
|
invoke-direct {v0}, Lj$/time/format/u;-><init>()V
|
|
|
|
sget-object v1, Lj$/time/temporal/a;->YEAR:Lj$/time/temporal/a;
|
|
|
|
const/16 v2, 0xa
|
|
|
|
sget-object v3, Lj$/time/format/f0;->EXCEEDS_PAD:Lj$/time/format/f0;
|
|
|
|
const/4 v4, 0x4
|
|
|
|
.line 142
|
|
invoke-virtual {v0, v1, v4, v2, v3}, Lj$/time/format/u;->m(Lj$/time/temporal/r;IILj$/time/format/f0;)V
|
|
|
|
const/16 v1, 0x2d
|
|
|
|
.line 143
|
|
invoke-virtual {v0, v1}, Lj$/time/format/u;->d(C)V
|
|
|
|
sget-object v1, Lj$/time/temporal/a;->MONTH_OF_YEAR:Lj$/time/temporal/a;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
.line 144
|
|
invoke-virtual {v0, v1, v2}, Lj$/time/format/u;->l(Lj$/time/temporal/r;I)V
|
|
|
|
.line 2203
|
|
invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;
|
|
|
|
move-result-object v1
|
|
|
|
.line 2224
|
|
sget-object v2, Lj$/time/format/e0;->SMART:Lj$/time/format/e0;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-virtual {v0, v1, v2, v3}, Lj$/time/format/u;->q(Ljava/util/Locale;Lj$/time/format/e0;Lj$/time/chrono/m;)Lj$/time/format/DateTimeFormatter;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(II)V
|
|
.locals 0
|
|
|
|
.line 305
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 306
|
|
iput p1, p0, Lj$/time/w;->a:I
|
|
|
|
.line 307
|
|
iput p2, p0, Lj$/time/w;->b:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private readObject(Ljava/io/ObjectInputStream;)V
|
|
.locals 1
|
|
|
|
.line 1236
|
|
new-instance p1, Ljava/io/InvalidObjectException;
|
|
|
|
const-string v0, "Deserialization via serialization delegate"
|
|
|
|
invoke-direct {p1, v0}, Ljava/io/InvalidObjectException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method private writeReplace()Ljava/lang/Object;
|
|
.locals 2
|
|
|
|
.line 1226
|
|
new-instance v0, Lj$/time/s;
|
|
|
|
const/16 v1, 0xc
|
|
|
|
invoke-direct {v0, v1, p0}, Lj$/time/s;-><init>(BLjava/lang/Object;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final K()J
|
|
.locals 4
|
|
|
|
.line 500
|
|
iget v0, p0, Lj$/time/w;->a:I
|
|
|
|
int-to-long v0, v0
|
|
|
|
const-wide/16 v2, 0xc
|
|
|
|
mul-long/2addr v0, v2
|
|
|
|
iget v2, p0, Lj$/time/w;->b:I
|
|
|
|
int-to-long v2, v2
|
|
|
|
add-long/2addr v0, v2
|
|
|
|
const-wide/16 v2, 0x1
|
|
|
|
sub-long/2addr v0, v2
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final L(JLj$/time/temporal/t;)Lj$/time/w;
|
|
.locals 2
|
|
|
|
.line 806
|
|
instance-of v0, p3, Lj$/time/temporal/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 807
|
|
sget-object v0, Lj$/time/v;->b:[I
|
|
|
|
move-object v1, p3
|
|
|
|
check-cast v1, Lj$/time/temporal/b;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
aget v0, v0, v1
|
|
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
.line 815
|
|
new-instance p1, Lj$/time/temporal/u;
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, "Unsupported unit: "
|
|
|
|
invoke-direct {p2, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, 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 815
|
|
throw p1
|
|
|
|
.line 813
|
|
:pswitch_0
|
|
sget-object p3, Lj$/time/temporal/a;->ERA:Lj$/time/temporal/a;
|
|
|
|
invoke-virtual {p0, p3}, Lj$/time/w;->y(Lj$/time/temporal/r;)J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v0, v1, p1, p2}, Lj$/com/android/tools/r8/a;->I(JJ)J
|
|
|
|
move-result-wide p1
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lj$/time/w;->P(JLj$/time/temporal/r;)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:pswitch_1
|
|
const/16 p3, 0x3e8
|
|
|
|
int-to-long v0, p3
|
|
|
|
.line 0
|
|
invoke-static {p1, p2, v0, v1}, Lj$/com/android/tools/r8/a;->O(JJ)J
|
|
|
|
move-result-wide p1
|
|
|
|
.line 812
|
|
invoke-virtual {p0, p1, p2}, Lj$/time/w;->N(J)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:pswitch_2
|
|
const/16 p3, 0x64
|
|
|
|
int-to-long v0, p3
|
|
|
|
.line 0
|
|
invoke-static {p1, p2, v0, v1}, Lj$/com/android/tools/r8/a;->O(JJ)J
|
|
|
|
move-result-wide p1
|
|
|
|
.line 811
|
|
invoke-virtual {p0, p1, p2}, Lj$/time/w;->N(J)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:pswitch_3
|
|
const/16 p3, 0xa
|
|
|
|
int-to-long v0, p3
|
|
|
|
.line 0
|
|
invoke-static {p1, p2, v0, v1}, Lj$/com/android/tools/r8/a;->O(JJ)J
|
|
|
|
move-result-wide p1
|
|
|
|
.line 810
|
|
invoke-virtual {p0, p1, p2}, Lj$/time/w;->N(J)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 809
|
|
:pswitch_4
|
|
invoke-virtual {p0, p1, p2}, Lj$/time/w;->N(J)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 808
|
|
:pswitch_5
|
|
invoke-virtual {p0, p1, p2}, Lj$/time/w;->M(J)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 817
|
|
:cond_0
|
|
invoke-interface {p3, p0, p1, p2}, Lj$/time/temporal/t;->d(Lj$/time/temporal/m;J)Lj$/time/temporal/m;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lj$/time/w;
|
|
|
|
return-object p1
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public final M(J)Lj$/time/w;
|
|
.locals 6
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmp-long v0, p1, v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
.line 850
|
|
:cond_0
|
|
iget v0, p0, Lj$/time/w;->a:I
|
|
|
|
int-to-long v0, v0
|
|
|
|
const-wide/16 v2, 0xc
|
|
|
|
mul-long/2addr v0, v2
|
|
|
|
iget v2, p0, Lj$/time/w;->b:I
|
|
|
|
add-int/lit8 v2, v2, -0x1
|
|
|
|
int-to-long v2, v2
|
|
|
|
add-long/2addr v0, v2
|
|
|
|
add-long/2addr v0, p1
|
|
|
|
.line 852
|
|
sget-object p1, Lj$/time/temporal/a;->YEAR:Lj$/time/temporal/a;
|
|
|
|
const/16 p2, 0xc
|
|
|
|
int-to-long v2, p2
|
|
|
|
.line 0
|
|
invoke-static {v0, v1, v2, v3}, Lj$/com/android/tools/r8/a;->N(JJ)J
|
|
|
|
move-result-wide v4
|
|
|
|
.line 669
|
|
iget-object p2, p1, Lj$/time/temporal/a;->b:Lj$/time/temporal/v;
|
|
|
|
.line 732
|
|
invoke-virtual {p2, v4, v5, p1}, Lj$/time/temporal/v;->a(JLj$/time/temporal/r;)I
|
|
|
|
move-result p1
|
|
|
|
.line 0
|
|
invoke-static {v0, v1, v2, v3}, Lj$/com/android/tools/r8/a;->M(JJ)J
|
|
|
|
move-result-wide v0
|
|
|
|
long-to-int p2, v0
|
|
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
.line 854
|
|
invoke-virtual {p0, p1, p2}, Lj$/time/w;->O(II)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final N(J)Lj$/time/w;
|
|
.locals 3
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmp-long v0, p1, v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
.line 833
|
|
:cond_0
|
|
sget-object v0, Lj$/time/temporal/a;->YEAR:Lj$/time/temporal/a;
|
|
|
|
iget v1, p0, Lj$/time/w;->a:I
|
|
|
|
int-to-long v1, v1
|
|
|
|
add-long/2addr v1, p1
|
|
|
|
.line 669
|
|
iget-object p1, v0, Lj$/time/temporal/a;->b:Lj$/time/temporal/v;
|
|
|
|
.line 732
|
|
invoke-virtual {p1, v1, v2, v0}, Lj$/time/temporal/v;->a(JLj$/time/temporal/r;)I
|
|
|
|
move-result p1
|
|
|
|
.line 834
|
|
iget p2, p0, Lj$/time/w;->b:I
|
|
|
|
invoke-virtual {p0, p1, p2}, Lj$/time/w;->O(II)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final O(II)Lj$/time/w;
|
|
.locals 1
|
|
|
|
.line 319
|
|
iget v0, p0, Lj$/time/w;->a:I
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
iget v0, p0, Lj$/time/w;->b:I
|
|
|
|
if-ne v0, p2, :cond_0
|
|
|
|
return-object p0
|
|
|
|
.line 322
|
|
:cond_0
|
|
new-instance v0, Lj$/time/w;
|
|
|
|
invoke-direct {v0, p1, p2}, Lj$/time/w;-><init>(II)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final P(JLj$/time/temporal/r;)Lj$/time/w;
|
|
.locals 4
|
|
|
|
.line 683
|
|
instance-of v0, p3, Lj$/time/temporal/a;
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
.line 684
|
|
move-object v0, p3
|
|
|
|
check-cast v0, Lj$/time/temporal/a;
|
|
|
|
.line 685
|
|
invoke-virtual {v0, p1, p2}, Lj$/time/temporal/a;->u(J)V
|
|
|
|
.line 686
|
|
sget-object v1, Lj$/time/v;->a:[I
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v0
|
|
|
|
aget v0, v1, v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v0, v1, :cond_6
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-eq v0, v2, :cond_5
|
|
|
|
const/4 v2, 0x3
|
|
|
|
if-eq v0, v2, :cond_3
|
|
|
|
const/4 v2, 0x4
|
|
|
|
if-eq v0, v2, :cond_2
|
|
|
|
const/4 v2, 0x5
|
|
|
|
if-ne v0, v2, :cond_1
|
|
|
|
.line 691
|
|
sget-object p3, Lj$/time/temporal/a;->ERA:Lj$/time/temporal/a;
|
|
|
|
invoke-virtual {p0, p3}, Lj$/time/w;->y(Lj$/time/temporal/r;)J
|
|
|
|
move-result-wide v2
|
|
|
|
cmp-long p1, v2, p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
iget p1, p0, Lj$/time/w;->a:I
|
|
|
|
sub-int/2addr v1, p1
|
|
|
|
.line 709
|
|
sget-object p1, Lj$/time/temporal/a;->YEAR:Lj$/time/temporal/a;
|
|
|
|
int-to-long p2, v1
|
|
|
|
invoke-virtual {p1, p2, p3}, Lj$/time/temporal/a;->u(J)V
|
|
|
|
.line 710
|
|
iget p1, p0, Lj$/time/w;->b:I
|
|
|
|
invoke-virtual {p0, v1, p1}, Lj$/time/w;->O(II)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 693
|
|
:cond_1
|
|
new-instance p1, Lj$/time/temporal/u;
|
|
|
|
const-string p2, "Unsupported field: "
|
|
|
|
.line 0
|
|
invoke-static {p2, p3}, Lj$/time/c;->a(Ljava/lang/String;Lj$/time/temporal/r;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
.line 88
|
|
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 693
|
|
throw p1
|
|
|
|
:cond_2
|
|
long-to-int p1, p1
|
|
|
|
.line 709
|
|
sget-object p2, Lj$/time/temporal/a;->YEAR:Lj$/time/temporal/a;
|
|
|
|
int-to-long v0, p1
|
|
|
|
invoke-virtual {p2, v0, v1}, Lj$/time/temporal/a;->u(J)V
|
|
|
|
.line 710
|
|
iget p2, p0, Lj$/time/w;->b:I
|
|
|
|
invoke-virtual {p0, p1, p2}, Lj$/time/w;->O(II)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 689
|
|
:cond_3
|
|
iget p3, p0, Lj$/time/w;->a:I
|
|
|
|
if-ge p3, v1, :cond_4
|
|
|
|
const-wide/16 v0, 0x1
|
|
|
|
sub-long p1, v0, p1
|
|
|
|
:cond_4
|
|
long-to-int p1, p1
|
|
|
|
.line 709
|
|
sget-object p2, Lj$/time/temporal/a;->YEAR:Lj$/time/temporal/a;
|
|
|
|
int-to-long v0, p1
|
|
|
|
invoke-virtual {p2, v0, v1}, Lj$/time/temporal/a;->u(J)V
|
|
|
|
.line 710
|
|
iget p2, p0, Lj$/time/w;->b:I
|
|
|
|
invoke-virtual {p0, p1, p2}, Lj$/time/w;->O(II)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 688
|
|
:cond_5
|
|
invoke-virtual {p0}, Lj$/time/w;->K()J
|
|
|
|
move-result-wide v0
|
|
|
|
sub-long/2addr p1, v0
|
|
|
|
invoke-virtual {p0, p1, p2}, Lj$/time/w;->M(J)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_6
|
|
long-to-int p1, p1
|
|
|
|
.line 723
|
|
sget-object p2, Lj$/time/temporal/a;->MONTH_OF_YEAR:Lj$/time/temporal/a;
|
|
|
|
int-to-long v0, p1
|
|
|
|
invoke-virtual {p2, v0, v1}, Lj$/time/temporal/a;->u(J)V
|
|
|
|
.line 724
|
|
iget p2, p0, Lj$/time/w;->a:I
|
|
|
|
invoke-virtual {p0, p2, p1}, Lj$/time/w;->O(II)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 695
|
|
:cond_7
|
|
invoke-interface {p3, p0, p1, p2}, Lj$/time/temporal/r;->l(Lj$/time/temporal/m;J)Lj$/time/temporal/m;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lj$/time/w;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final bridge synthetic a(JLj$/time/temporal/r;)Lj$/time/temporal/m;
|
|
.locals 0
|
|
|
|
.line 131
|
|
invoke-virtual {p0, p1, p2, p3}, Lj$/time/w;->P(JLj$/time/temporal/r;)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final bridge synthetic b(JLj$/time/temporal/t;)Lj$/time/temporal/m;
|
|
.locals 0
|
|
|
|
.line 131
|
|
invoke-virtual {p0, p1, p2, p3}, Lj$/time/w;->L(JLj$/time/temporal/t;)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final c(Lj$/time/temporal/r;)Z
|
|
.locals 1
|
|
|
|
.line 355
|
|
instance-of v0, p1, Lj$/time/temporal/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 356
|
|
sget-object v0, Lj$/time/temporal/a;->YEAR:Lj$/time/temporal/a;
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
sget-object v0, Lj$/time/temporal/a;->MONTH_OF_YEAR:Lj$/time/temporal/a;
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
sget-object v0, Lj$/time/temporal/a;->PROLEPTIC_MONTH:Lj$/time/temporal/a;
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
sget-object v0, Lj$/time/temporal/a;->YEAR_OF_ERA:Lj$/time/temporal/a;
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
sget-object v0, Lj$/time/temporal/a;->ERA:Lj$/time/temporal/a;
|
|
|
|
if-ne p1, v0, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 359
|
|
invoke-interface {p1, p0}, Lj$/time/temporal/r;->d(Lj$/time/temporal/n;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_2
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final compareTo(Ljava/lang/Object;)I
|
|
.locals 2
|
|
|
|
.line 131
|
|
check-cast p1, Lj$/time/w;
|
|
|
|
.line 1128
|
|
iget v0, p0, Lj$/time/w;->a:I
|
|
|
|
iget v1, p1, Lj$/time/w;->a:I
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 1130
|
|
iget v0, p0, Lj$/time/w;->b:I
|
|
|
|
iget p1, p1, Lj$/time/w;->b:I
|
|
|
|
sub-int/2addr v0, p1
|
|
|
|
:cond_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public final d(Lj$/time/h;)Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 955
|
|
sget-object v0, Lj$/time/temporal/s;->b:Lj$/time/h;
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
.line 956
|
|
sget-object p1, Lj$/time/chrono/t;->c:Lj$/time/chrono/t;
|
|
|
|
return-object p1
|
|
|
|
.line 957
|
|
:cond_0
|
|
sget-object v0, Lj$/time/temporal/s;->c:Lj$/time/h;
|
|
|
|
if-ne p1, v0, :cond_1
|
|
|
|
.line 958
|
|
sget-object p1, Lj$/time/temporal/b;->MONTHS:Lj$/time/temporal/b;
|
|
|
|
return-object p1
|
|
|
|
.line 960
|
|
:cond_1
|
|
invoke-static {p0, p1}, Lj$/time/temporal/s;->c(Lj$/time/temporal/n;Lj$/time/h;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p0, p1, :cond_0
|
|
|
|
return v0
|
|
|
|
.line 1169
|
|
:cond_0
|
|
instance-of v1, p1, Lj$/time/w;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 1170
|
|
check-cast p1, Lj$/time/w;
|
|
|
|
.line 1171
|
|
iget v1, p0, Lj$/time/w;->a:I
|
|
|
|
iget v3, p1, Lj$/time/w;->a:I
|
|
|
|
if-ne v1, v3, :cond_1
|
|
|
|
iget v1, p0, Lj$/time/w;->b:I
|
|
|
|
iget p1, p1, Lj$/time/w;->b:I
|
|
|
|
if-ne v1, p1, :cond_1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
return v2
|
|
.end method
|
|
|
|
.method public final g(Lj$/time/temporal/r;)I
|
|
.locals 3
|
|
|
|
.line 458
|
|
invoke-virtual {p0, p1}, Lj$/time/w;->i(Lj$/time/temporal/r;)Lj$/time/temporal/v;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0, p1}, Lj$/time/w;->y(Lj$/time/temporal/r;)J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-virtual {v0, v1, v2, p1}, Lj$/time/temporal/v;->a(JLj$/time/temporal/r;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final h(Lj$/time/g;)Lj$/time/temporal/m;
|
|
.locals 0
|
|
|
|
.line 1592
|
|
invoke-static {p1, p0}, Lj$/com/android/tools/r8/a;->a(Lj$/time/chrono/b;Lj$/time/temporal/m;)Lj$/time/temporal/m;
|
|
|
|
move-result-object p1
|
|
|
|
.line 630
|
|
check-cast p1, Lj$/time/w;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final hashCode()I
|
|
.locals 2
|
|
|
|
.line 1183
|
|
iget v0, p0, Lj$/time/w;->a:I
|
|
|
|
iget v1, p0, Lj$/time/w;->b:I
|
|
|
|
shl-int/lit8 v1, v1, 0x1b
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final i(Lj$/time/temporal/r;)Lj$/time/temporal/v;
|
|
.locals 4
|
|
|
|
.line 423
|
|
sget-object v0, Lj$/time/temporal/a;->YEAR_OF_ERA:Lj$/time/temporal/a;
|
|
|
|
if-ne p1, v0, :cond_1
|
|
|
|
.line 514
|
|
iget p1, p0, Lj$/time/w;->a:I
|
|
|
|
const-wide/16 v0, 0x1
|
|
|
|
if-gtz p1, :cond_0
|
|
|
|
const-wide/32 v2, 0x3b9aca00
|
|
|
|
.line 424
|
|
:goto_0
|
|
invoke-static {v0, v1, v2, v3}, Lj$/time/temporal/v;->f(JJ)Lj$/time/temporal/v;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
const-wide/32 v2, 0x3b9ac9ff
|
|
|
|
goto :goto_0
|
|
|
|
.line 426
|
|
:cond_1
|
|
invoke-static {p0, p1}, Lj$/time/temporal/s;->d(Lj$/time/temporal/n;Lj$/time/temporal/r;)Lj$/time/temporal/v;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final l(Lj$/time/temporal/m;)Lj$/time/temporal/m;
|
|
.locals 3
|
|
|
|
.line 991
|
|
invoke-static {p1}, Lj$/com/android/tools/r8/a;->G(Lj$/time/temporal/n;)Lj$/time/chrono/m;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lj$/time/chrono/t;->c:Lj$/time/chrono/t;
|
|
|
|
invoke-interface {v0, v1}, Lj$/time/chrono/m;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 994
|
|
sget-object v0, Lj$/time/temporal/a;->PROLEPTIC_MONTH:Lj$/time/temporal/a;
|
|
|
|
invoke-virtual {p0}, Lj$/time/w;->K()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-interface {p1, v1, v2, v0}, Lj$/time/temporal/m;->a(JLj$/time/temporal/r;)Lj$/time/temporal/m;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 992
|
|
:cond_0
|
|
new-instance p1, Lj$/time/b;
|
|
|
|
const-string v0, "Adjustment only supported on ISO date-time"
|
|
|
|
.line 88
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 992
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
.line 1196
|
|
iget v0, p0, Lj$/time/w;->a:I
|
|
|
|
invoke-static {v0}, Ljava/lang/Math;->abs(I)I
|
|
|
|
move-result v0
|
|
|
|
.line 1197
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const/16 v2, 0x9
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
const/16 v2, 0x3e8
|
|
|
|
if-ge v0, v2, :cond_1
|
|
|
|
.line 1199
|
|
iget v0, p0, Lj$/time/w;->a:I
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
add-int/lit16 v0, v0, -0x2710
|
|
|
|
.line 1200
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->deleteCharAt(I)Ljava/lang/StringBuilder;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
add-int/lit16 v0, v0, 0x2710
|
|
|
|
.line 1202
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->deleteCharAt(I)Ljava/lang/StringBuilder;
|
|
|
|
goto :goto_0
|
|
|
|
.line 1205
|
|
:cond_1
|
|
iget v0, p0, Lj$/time/w;->a:I
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 1207
|
|
:goto_0
|
|
iget v0, p0, Lj$/time/w;->b:I
|
|
|
|
const/16 v2, 0xa
|
|
|
|
if-ge v0, v2, :cond_2
|
|
|
|
const-string v0, "-0"
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const-string v0, "-"
|
|
|
|
:goto_1
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v0, p0, Lj$/time/w;->b:I
|
|
|
|
.line 1208
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 1209
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final u(JLj$/time/temporal/b;)Lj$/time/temporal/m;
|
|
.locals 2
|
|
|
|
const-wide/high16 v0, -0x8000000000000000L
|
|
|
|
cmp-long v0, p1, v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-wide p1, 0x7fffffffffffffffL
|
|
|
|
.line 904
|
|
invoke-virtual {p0, p1, p2, p3}, Lj$/time/w;->L(JLj$/time/temporal/t;)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
const-wide/16 v0, 0x1
|
|
|
|
invoke-virtual {p1, v0, v1, p3}, Lj$/time/w;->L(JLj$/time/temporal/t;)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
neg-long p1, p1
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lj$/time/w;->L(JLj$/time/temporal/t;)Lj$/time/w;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final y(Lj$/time/temporal/r;)J
|
|
.locals 3
|
|
|
|
.line 486
|
|
instance-of v0, p1, Lj$/time/temporal/a;
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
.line 487
|
|
sget-object v0, Lj$/time/v;->a:[I
|
|
|
|
move-object v1, p1
|
|
|
|
check-cast v1, Lj$/time/temporal/a;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
aget v0, v0, v1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v0, v1, :cond_6
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-eq v0, v2, :cond_5
|
|
|
|
const/4 v2, 0x3
|
|
|
|
if-eq v0, v2, :cond_3
|
|
|
|
const/4 v2, 0x4
|
|
|
|
if-eq v0, v2, :cond_2
|
|
|
|
const/4 v2, 0x5
|
|
|
|
if-ne v0, v2, :cond_1
|
|
|
|
.line 492
|
|
iget p1, p0, Lj$/time/w;->a:I
|
|
|
|
if-ge p1, v1, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:cond_0
|
|
int-to-long v0, v1
|
|
|
|
return-wide v0
|
|
|
|
.line 494
|
|
:cond_1
|
|
new-instance v0, Lj$/time/temporal/u;
|
|
|
|
const-string v1, "Unsupported field: "
|
|
|
|
.line 0
|
|
invoke-static {v1, p1}, Lj$/time/c;->a(Ljava/lang/String;Lj$/time/temporal/r;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 88
|
|
invoke-direct {v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 494
|
|
throw v0
|
|
|
|
.line 491
|
|
:cond_2
|
|
iget p1, p0, Lj$/time/w;->a:I
|
|
|
|
:goto_0
|
|
int-to-long v0, p1
|
|
|
|
return-wide v0
|
|
|
|
.line 490
|
|
:cond_3
|
|
iget p1, p0, Lj$/time/w;->a:I
|
|
|
|
if-ge p1, v1, :cond_4
|
|
|
|
rsub-int/lit8 p1, p1, 0x1
|
|
|
|
:cond_4
|
|
int-to-long v0, p1
|
|
|
|
return-wide v0
|
|
|
|
.line 489
|
|
:cond_5
|
|
invoke-virtual {p0}, Lj$/time/w;->K()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
|
|
.line 488
|
|
:cond_6
|
|
iget p1, p0, Lj$/time/w;->b:I
|
|
|
|
goto :goto_0
|
|
|
|
.line 496
|
|
:cond_7
|
|
invoke-interface {p1, p0}, Lj$/time/temporal/r;->i(Lj$/time/temporal/n;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|