HurriyetLocationHelper$1.smali
.class Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$1;
.super Ljava/lang/Object;
.source "HurriyetLocationHelper.java"
# interfaces
.implements Lcom/google/android/gms/location/LocationListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->requestLocationUpdates(Z)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;
# direct methods
.method constructor <init>(Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;)V
.registers 2
.line 111
iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$1;->this$0:Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onLocationChanged(Landroid/location/Location;)V
.registers 3
.line 114
invoke-static {}, Lcom/appcore/CoreApp;->isDevEnabled()Z
move-result v0
if-eqz v0, :cond_13
sget-boolean v0, Lhurriyet/mobil/android/hurriyet/HConstants;->LOGS_ENABLED_FOR_LOCATION_SERVICES:Z
if-eqz v0, :cond_13
const-string v0, "Location services : Location changed"
.line 115
filled-new-array {v0}, [Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/appcore/utils/L;->wtf([Ljava/lang/String;)V
.line 117
:cond_13
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$1;->this$0:Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;
# getter for: Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->mGoogleApiClient:Lcom/google/android/gms/common/api/GoogleApiClient;
invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->access$000(Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;)Lcom/google/android/gms/common/api/GoogleApiClient;
move-result-object v0
if-eqz v0, :cond_3d
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$1;->this$0:Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;
# getter for: Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->mGoogleApiClient:Lcom/google/android/gms/common/api/GoogleApiClient;
invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->access$000(Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;)Lcom/google/android/gms/common/api/GoogleApiClient;
move-result-object v0
invoke-virtual {v0}, Lcom/google/android/gms/common/api/GoogleApiClient;->isConnected()Z
move-result v0
if-eqz v0, :cond_3d
.line 118
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$1;->this$0:Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;
# setter for: Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->mLastLocation:Landroid/location/Location;
invoke-static {v0, p1}, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->access$102(Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;Landroid/location/Location;)Landroid/location/Location;
.line 119
sget-object p1, Lcom/google/android/gms/location/LocationServices;->FusedLocationApi:Lcom/google/android/gms/location/FusedLocationProviderApi;
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$1;->this$0:Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;
# getter for: Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->mGoogleApiClient:Lcom/google/android/gms/common/api/GoogleApiClient;
invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->access$000(Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;)Lcom/google/android/gms/common/api/GoogleApiClient;
move-result-object v0
invoke-interface {p1, v0, p0}, Lcom/google/android/gms/location/FusedLocationProviderApi;->removeLocationUpdates(Lcom/google/android/gms/common/api/GoogleApiClient;Lcom/google/android/gms/location/LocationListener;)Lcom/google/android/gms/common/api/PendingResult;
.line 120
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$1;->this$0:Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;
const/4 v0, 0x0
invoke-virtual {p1, v0}, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->getLocationName(Lcom/appcore/ui/base/CoreActivity;)V
:cond_3d
return-void
.end method