f$a.smali
.class public final Lcom/garena/location/LocationService/f$a;
.super Lcom/garena/android/appkit/thread/a;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/garena/location/LocationService/f;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic c:Lcom/garena/location/LocationService/f;
# direct methods
.method public constructor <init>(Lcom/garena/location/LocationService/f;)V
.registers 2
iput-object p1, p0, Lcom/garena/location/LocationService/f$a;->c:Lcom/garena/location/LocationService/f;
const/4 p1, 0x0
invoke-direct {p0, p1}, Lcom/garena/android/appkit/thread/a;-><init>(I)V
return-void
.end method
# virtual methods
.method public final b()V
.registers 6
.line 1
iget-object v0, p0, Lcom/garena/location/LocationService/f$a;->c:Lcom/garena/location/LocationService/f;
.line 2
iget-object v1, v0, Lcom/garena/location/LocationService/f;->b:Lcom/garena/location/LocationService/k;
if-eqz v1, :cond_9
.line 3
iget-object v1, v1, Lcom/garena/location/LocationService/k;->b:Landroid/location/Location;
goto :goto_a
:cond_9
const/4 v1, 0x0
:goto_a
if-nez v1, :cond_12
.line 4
iget-object v2, v0, Lcom/garena/location/LocationService/f;->a:Lcom/garena/location/LocationService/k;
if-eqz v2, :cond_12
.line 5
iget-object v1, v2, Lcom/garena/location/LocationService/k;->b:Landroid/location/Location;
:cond_12
if-nez v1, :cond_3a
.line 6
sget-object v2, Lcom/bumptech/glide/load/resource/transcode/f;->b:Landroid/app/Application;
const-string v3, "location"
invoke-virtual {v2, v3}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/location/LocationManager;
if-eqz v2, :cond_3a
.line 7
invoke-virtual {v2}, Landroid/location/LocationManager;->getAllProviders()Ljava/util/List;
move-result-object v3
.line 8
invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v3
:cond_28
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
move-result v4
if-eqz v4, :cond_3a
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
.line 9
invoke-virtual {v2, v1}, Landroid/location/LocationManager;->getLastKnownLocation(Ljava/lang/String;)Landroid/location/Location;
move-result-object v1
if-eqz v1, :cond_28
:cond_3a
if-nez v1, :cond_62
.line 10
iget-boolean v1, v0, Lcom/garena/location/LocationService/f;->i:Z
if-nez v1, :cond_4a
.line 11
iget-object v0, v0, Lcom/garena/location/LocationService/f;->h:Lcom/garena/location/LocationService/f$d;
const/16 v1, 0x1003
check-cast v0, Lcom/garena/location/LocationService/i$b;
invoke-virtual {v0, v1}, Lcom/garena/location/LocationService/i$b;->a(I)V
goto :goto_69
.line 12
:cond_4a
iget-boolean v1, v0, Lcom/garena/location/LocationService/f;->j:Z
if-nez v1, :cond_58
.line 13
iget-object v0, v0, Lcom/garena/location/LocationService/f;->h:Lcom/garena/location/LocationService/f$d;
const/16 v1, 0x1001
check-cast v0, Lcom/garena/location/LocationService/i$b;
invoke-virtual {v0, v1}, Lcom/garena/location/LocationService/i$b;->a(I)V
goto :goto_69
.line 14
:cond_58
iget-object v0, v0, Lcom/garena/location/LocationService/f;->h:Lcom/garena/location/LocationService/f$d;
const/16 v1, 0x1004
check-cast v0, Lcom/garena/location/LocationService/i$b;
invoke-virtual {v0, v1}, Lcom/garena/location/LocationService/i$b;->a(I)V
goto :goto_69
.line 15
:cond_62
iget-object v0, v0, Lcom/garena/location/LocationService/f;->h:Lcom/garena/location/LocationService/f$d;
check-cast v0, Lcom/garena/location/LocationService/i$b;
invoke-virtual {v0, v1}, Lcom/garena/location/LocationService/i$b;->b(Landroid/location/Location;)V
:goto_69
return-void
.end method