111 lines
2.6 KiB
Smali
111 lines
2.6 KiB
Smali
.class Landroidx/core/location/LocationCompat$Api29Impl;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x1d
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/core/location/LocationCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "Api29Impl"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 592
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static removeBearingAccuracy(Landroid/location/Location;)V
|
|
.locals 2
|
|
|
|
.line 617
|
|
invoke-virtual {p0}, Landroid/location/Location;->hasBearingAccuracy()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 622
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/location/Location;->getElapsedRealtimeUncertaintyNanos()D
|
|
|
|
move-result-wide v0
|
|
|
|
.line 623
|
|
invoke-static {p0}, Landroidx/core/location/LocationCompat$Api28Impl;->removeBearingAccuracy(Landroid/location/Location;)V
|
|
|
|
.line 624
|
|
invoke-virtual {p0, v0, v1}, Landroid/location/Location;->setElapsedRealtimeUncertaintyNanos(D)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static removeSpeedAccuracy(Landroid/location/Location;)V
|
|
.locals 2
|
|
|
|
.line 606
|
|
invoke-virtual {p0}, Landroid/location/Location;->hasSpeedAccuracy()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 611
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/location/Location;->getElapsedRealtimeUncertaintyNanos()D
|
|
|
|
move-result-wide v0
|
|
|
|
.line 612
|
|
invoke-static {p0}, Landroidx/core/location/LocationCompat$Api28Impl;->removeSpeedAccuracy(Landroid/location/Location;)V
|
|
|
|
.line 613
|
|
invoke-virtual {p0, v0, v1}, Landroid/location/Location;->setElapsedRealtimeUncertaintyNanos(D)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static removeVerticalAccuracy(Landroid/location/Location;)V
|
|
.locals 2
|
|
|
|
.line 595
|
|
invoke-virtual {p0}, Landroid/location/Location;->hasVerticalAccuracy()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 600
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/location/Location;->getElapsedRealtimeUncertaintyNanos()D
|
|
|
|
move-result-wide v0
|
|
|
|
.line 601
|
|
invoke-static {p0}, Landroidx/core/location/LocationCompat$Api28Impl;->removeVerticalAccuracy(Landroid/location/Location;)V
|
|
|
|
.line 602
|
|
invoke-virtual {p0, v0, v1}, Landroid/location/Location;->setElapsedRealtimeUncertaintyNanos(D)V
|
|
|
|
return-void
|
|
.end method
|