- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
416 lines
11 KiB
Smali
416 lines
11 KiB
Smali
.class public final Landroidx/core/location/LocationRequestCompat$Builder;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/core/location/LocationRequestCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Builder"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private mDurationMillis:J
|
|
|
|
.field private mIntervalMillis:J
|
|
|
|
.field private mMaxUpdateDelayMillis:J
|
|
|
|
.field private mMaxUpdates:I
|
|
|
|
.field private mMinUpdateDistanceMeters:F
|
|
|
|
.field private mMinUpdateIntervalMillis:J
|
|
|
|
.field private mQuality:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(J)V
|
|
.locals 0
|
|
|
|
.line 329
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 331
|
|
invoke-virtual {p0, p1, p2}, Landroidx/core/location/LocationRequestCompat$Builder;->setIntervalMillis(J)Landroidx/core/location/LocationRequestCompat$Builder;
|
|
|
|
const/16 p1, 0x66
|
|
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mQuality:I
|
|
|
|
const-wide p1, 0x7fffffffffffffffL
|
|
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mDurationMillis:J
|
|
|
|
const p1, 0x7fffffff
|
|
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMaxUpdates:I
|
|
|
|
const-wide/16 p1, -0x1
|
|
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMinUpdateIntervalMillis:J
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMinUpdateDistanceMeters:F
|
|
|
|
const-wide/16 p1, 0x0
|
|
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMaxUpdateDelayMillis:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroidx/core/location/LocationRequestCompat;)V
|
|
.locals 2
|
|
.param p1 # Landroidx/core/location/LocationRequestCompat;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 344
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 345
|
|
iget-wide v0, p1, Landroidx/core/location/LocationRequestCompat;->mIntervalMillis:J
|
|
|
|
iput-wide v0, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mIntervalMillis:J
|
|
|
|
.line 346
|
|
iget v0, p1, Landroidx/core/location/LocationRequestCompat;->mQuality:I
|
|
|
|
iput v0, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mQuality:I
|
|
|
|
.line 347
|
|
iget-wide v0, p1, Landroidx/core/location/LocationRequestCompat;->mDurationMillis:J
|
|
|
|
iput-wide v0, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mDurationMillis:J
|
|
|
|
.line 348
|
|
iget v0, p1, Landroidx/core/location/LocationRequestCompat;->mMaxUpdates:I
|
|
|
|
iput v0, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMaxUpdates:I
|
|
|
|
.line 349
|
|
iget-wide v0, p1, Landroidx/core/location/LocationRequestCompat;->mMinUpdateIntervalMillis:J
|
|
|
|
iput-wide v0, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMinUpdateIntervalMillis:J
|
|
|
|
.line 350
|
|
iget v0, p1, Landroidx/core/location/LocationRequestCompat;->mMinUpdateDistanceMeters:F
|
|
|
|
iput v0, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMinUpdateDistanceMeters:F
|
|
|
|
.line 351
|
|
iget-wide v0, p1, Landroidx/core/location/LocationRequestCompat;->mMaxUpdateDelayMillis:J
|
|
|
|
iput-wide v0, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMaxUpdateDelayMillis:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public build()Landroidx/core/location/LocationRequestCompat;
|
|
.locals 14
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
iget-wide v0, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mIntervalMillis:J
|
|
|
|
const-wide v2, 0x7fffffffffffffffL
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-wide v0, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMinUpdateIntervalMillis:J
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
:goto_1
|
|
const-string v1, "passive location requests must have an explicit minimum update interval"
|
|
|
|
.line 485
|
|
invoke-static {v0, v1}, Landroidx/core/util/Preconditions;->checkState(ZLjava/lang/String;)V
|
|
|
|
.line 489
|
|
new-instance v0, Landroidx/core/location/LocationRequestCompat;
|
|
|
|
iget-wide v3, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mIntervalMillis:J
|
|
|
|
iget v5, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mQuality:I
|
|
|
|
iget-wide v6, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mDurationMillis:J
|
|
|
|
iget v8, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMaxUpdates:I
|
|
|
|
iget-wide v1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMinUpdateIntervalMillis:J
|
|
|
|
.line 494
|
|
invoke-static {v1, v2, v3, v4}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide v9
|
|
|
|
iget v11, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMinUpdateDistanceMeters:F
|
|
|
|
iget-wide v12, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMaxUpdateDelayMillis:J
|
|
|
|
move-object v2, v0
|
|
|
|
invoke-direct/range {v2 .. v13}, Landroidx/core/location/LocationRequestCompat;-><init>(JIJIJFJ)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public clearMinUpdateIntervalMillis()Landroidx/core/location/LocationRequestCompat$Builder;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const-wide/16 v0, -0x1
|
|
|
|
iput-wide v0, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMinUpdateIntervalMillis:J
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setDurationMillis(J)Landroidx/core/location/LocationRequestCompat$Builder;
|
|
.locals 7
|
|
.param p1 # J
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x1L
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const-wide/16 v2, 0x1
|
|
|
|
const-wide v4, 0x7fffffffffffffffL
|
|
|
|
const-string v6, "durationMillis"
|
|
|
|
move-wide v0, p1
|
|
|
|
.line 400
|
|
invoke-static/range {v0 .. v6}, Landroidx/core/util/Preconditions;->checkArgumentInRange(JJJLjava/lang/String;)J
|
|
|
|
move-result-wide p1
|
|
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mDurationMillis:J
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setIntervalMillis(J)Landroidx/core/location/LocationRequestCompat$Builder;
|
|
.locals 7
|
|
.param p1 # J
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x0L
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
const-wide v4, 0x7fffffffffffffffL
|
|
|
|
const-string v6, "intervalMillis"
|
|
|
|
move-wide v0, p1
|
|
|
|
.line 371
|
|
invoke-static/range {v0 .. v6}, Landroidx/core/util/Preconditions;->checkArgumentInRange(JJJLjava/lang/String;)J
|
|
|
|
move-result-wide p1
|
|
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mIntervalMillis:J
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setMaxUpdateDelayMillis(J)Landroidx/core/location/LocationRequestCompat$Builder;
|
|
.locals 7
|
|
.param p1 # J
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x0L
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMaxUpdateDelayMillis:J
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
const-wide v4, 0x7fffffffffffffffL
|
|
|
|
const-string v6, "maxUpdateDelayMillis"
|
|
|
|
move-wide v0, p1
|
|
|
|
.line 471
|
|
invoke-static/range {v0 .. v6}, Landroidx/core/util/Preconditions;->checkArgumentInRange(JJJLjava/lang/String;)J
|
|
|
|
move-result-wide p1
|
|
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMaxUpdateDelayMillis:J
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setMaxUpdates(I)Landroidx/core/location/LocationRequestCompat$Builder;
|
|
.locals 3
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x1L
|
|
to = 0x7fffffffL
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const v0, 0x7fffffff
|
|
|
|
const-string v1, "maxUpdates"
|
|
|
|
const/4 v2, 0x1
|
|
|
|
.line 413
|
|
invoke-static {p1, v2, v0, v1}, Landroidx/core/util/Preconditions;->checkArgumentInRange(IIILjava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMaxUpdates:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setMinUpdateDistanceMeters(F)Landroidx/core/location/LocationRequestCompat$Builder;
|
|
.locals 3
|
|
.param p1 # F
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
from = 0.0
|
|
to = 3.4028234663852886E38
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMinUpdateDistanceMeters:F
|
|
|
|
const v0, 0x7f7fffff # Float.MAX_VALUE
|
|
|
|
const-string v1, "minUpdateDistanceMeters"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 457
|
|
invoke-static {p1, v2, v0, v1}, Landroidx/core/util/Preconditions;->checkArgumentInRange(FFFLjava/lang/String;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMinUpdateDistanceMeters:F
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setMinUpdateIntervalMillis(J)Landroidx/core/location/LocationRequestCompat$Builder;
|
|
.locals 7
|
|
.param p1 # J
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x0L
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
const-wide v4, 0x7fffffffffffffffL
|
|
|
|
const-string v6, "minUpdateIntervalMillis"
|
|
|
|
move-wide v0, p1
|
|
|
|
.line 434
|
|
invoke-static/range {v0 .. v6}, Landroidx/core/util/Preconditions;->checkArgumentInRange(JJJLjava/lang/String;)J
|
|
|
|
move-result-wide p1
|
|
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mMinUpdateIntervalMillis:J
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setQuality(I)Landroidx/core/location/LocationRequestCompat$Builder;
|
|
.locals 3
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const/16 v0, 0x68
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x66
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const/16 v0, 0x64
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 387
|
|
:goto_1
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
filled-new-array {v1}, [Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "quality must be a defined QUALITY constant, not %d"
|
|
|
|
.line 384
|
|
invoke-static {v0, v2, v1}, Landroidx/core/util/Preconditions;->checkArgument(ZLjava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$Builder;->mQuality:I
|
|
|
|
return-object p0
|
|
.end method
|