HurriyetLocationHelper$3.smali

.class Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$3;
.super Ljava/lang/Object;
.source "HurriyetLocationHelper.java"

# interfaces
.implements Lcom/google/android/gms/common/api/GoogleApiClient$OnConnectionFailedListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;
.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 168
    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$3;->this$0:Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onConnectionFailed(Lcom/google/android/gms/common/ConnectionResult;)V
    .registers 3

    .line 171
    invoke-virtual {p1}, Lcom/google/android/gms/common/ConnectionResult;->getErrorCode()I

    move-result p1

    const/4 v0, 0x2

    if-ne p1, v0, :cond_1a

    .line 175
    invoke-static {}, Lcom/appcore/CoreApp;->isDevEnabled()Z

    move-result p1

    if-eqz p1, :cond_1a

    sget-boolean p1, Lhurriyet/mobil/android/hurriyet/HConstants;->LOGS_ENABLED_FOR_LOCATION_SERVICES:Z

    if-eqz p1, :cond_1a

    const-string p1, "Location services: Play Services Market Direction has required"

    .line 176
    filled-new-array {p1}, [Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/appcore/utils/L;->wtf([Ljava/lang/String;)V

    .line 179
    :cond_1a
    invoke-static {}, Lcom/appcore/CoreApp;->isDevEnabled()Z

    move-result p1

    if-eqz p1, :cond_2d

    sget-boolean p1, Lhurriyet/mobil/android/hurriyet/HConstants;->LOGS_ENABLED_FOR_LOCATION_SERVICES:Z

    if-eqz p1, :cond_2d

    const-string p1, "Location services : Connection failed"

    .line 180
    filled-new-array {p1}, [Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/appcore/utils/L;->wtf([Ljava/lang/String;)V

    .line 182
    :cond_2d
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$3;->this$0:Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;

    # getter for: Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->mCityNameListener:Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$CityNameListener;
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->access$400(Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;)Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$CityNameListener;

    move-result-object p1

    if-eqz p1, :cond_3e

    .line 183
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$3;->this$0:Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;

    # getter for: Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->mCityNameListener:Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$CityNameListener;
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;->access$400(Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper;)Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$CityNameListener;

    move-result-object p1

    invoke-interface {p1}, Lhurriyet/mobil/android/hurriyet/utils/HurriyetLocationHelper$CityNameListener;->onFailedToFindCityName()V

    :cond_3e
    return-void
.end method