.class Lcom/moji/mjweather/MainActivity$10;
.super Ljava/lang/Object;
.source "MainActivity.java"

# interfaces
.implements Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/MainActivity;->m()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/MainActivity;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/MainActivity;)V
    .locals 0

    .line 963
    iput-object p1, p0, Lcom/moji/mjweather/MainActivity$10;->a:Lcom/moji/mjweather/MainActivity;

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

    return-void
.end method


# virtual methods
.method public a(Lcom/moji/dialog/MJDialog;Lcom/moji/dialog/type/ETypeAction;)V
    .locals 2

    .line 966
    invoke-static {}, Lcom/mojiweather/area/AreaManagePrefer;->c()Lcom/mojiweather/area/AreaManagePrefer;

    move-result-object p2

    const/4 v0, 0x1

    invoke-virtual {p2, v0}, Lcom/mojiweather/area/AreaManagePrefer;->a(Z)V

    .line 967
    invoke-static {}, Lcom/mojiweather/area/AreaManagePrefer;->c()Lcom/mojiweather/area/AreaManagePrefer;

    move-result-object p2

    const/4 v1, 0x0

    invoke-virtual {p2, v1}, Lcom/mojiweather/area/AreaManagePrefer;->c(Z)V

    .line 968
    invoke-virtual {p1}, Lcom/moji/dialog/MJDialog;->dismiss()V

    .line 969
    new-instance p1, Lcom/moji/common/area/AreaInfo;

    invoke-direct {p1}, Lcom/moji/common/area/AreaInfo;-><init>()V

    .line 970
    iput-boolean v0, p1, Lcom/moji/common/area/AreaInfo;->isLocation:Z

    .line 971
    iget-object p2, p0, Lcom/moji/mjweather/MainActivity$10;->a:Lcom/moji/mjweather/MainActivity;

    invoke-virtual {p2, p1}, Lcom/moji/mjweather/MainActivity;->a(Lcom/moji/common/area/AreaInfo;)V

    .line 972
    iget-object p1, p0, Lcom/moji/mjweather/MainActivity$10;->a:Lcom/moji/mjweather/MainActivity;

    const/4 p2, 0x2

    invoke-static {p1, p2}, Lcom/moji/mjweather/MainActivity;->a(Lcom/moji/mjweather/MainActivity;I)V

    return-void
.end method
