.class Lcom/moji/mjweather/TableScreenFragmentControl$2;
.super Ljava/lang/Object;
.source "TableScreenFragmentControl.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/TableScreenFragmentControl;->a(Landroid/support/v4/app/Fragment;)V
.end annotation

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


# instance fields
.field final synthetic a:Landroid/support/v4/app/Fragment;

.field final synthetic b:Lcom/moji/mjweather/TableScreenFragmentControl;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/TableScreenFragmentControl;Landroid/support/v4/app/Fragment;)V
    .locals 0

    .line 159
    iput-object p1, p0, Lcom/moji/mjweather/TableScreenFragmentControl$2;->b:Lcom/moji/mjweather/TableScreenFragmentControl;

    iput-object p2, p0, Lcom/moji/mjweather/TableScreenFragmentControl$2;->a:Landroid/support/v4/app/Fragment;

    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 0
    .param p1    # Lcom/moji/dialog/MJDialog;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Lcom/moji/dialog/type/ETypeAction;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    .line 162
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragmentControl$2;->b:Lcom/moji/mjweather/TableScreenFragmentControl;

    const/4 p2, 0x0

    invoke-static {p1, p2}, Lcom/moji/mjweather/TableScreenFragmentControl;->b(Lcom/moji/mjweather/TableScreenFragmentControl;Z)Z

    .line 163
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragmentControl$2;->b:Lcom/moji/mjweather/TableScreenFragmentControl;

    invoke-static {p1}, Lcom/moji/mjweather/TableScreenFragmentControl;->a(Lcom/moji/mjweather/TableScreenFragmentControl;)Lcom/moji/tool/preferences/CtaPrefer;

    move-result-object p1

    invoke-virtual {p1, p2}, Lcom/moji/tool/preferences/CtaPrefer;->a(Z)V

    .line 164
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragmentControl$2;->b:Lcom/moji/mjweather/TableScreenFragmentControl;

    invoke-static {p1}, Lcom/moji/mjweather/TableScreenFragmentControl;->a(Lcom/moji/mjweather/TableScreenFragmentControl;)Lcom/moji/tool/preferences/CtaPrefer;

    move-result-object p1

    invoke-virtual {p1, p2}, Lcom/moji/tool/preferences/CtaPrefer;->c(Z)V

    .line 165
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragmentControl$2;->b:Lcom/moji/mjweather/TableScreenFragmentControl;

    invoke-static {p1}, Lcom/moji/mjweather/TableScreenFragmentControl;->a(Lcom/moji/mjweather/TableScreenFragmentControl;)Lcom/moji/tool/preferences/CtaPrefer;

    sput-boolean p2, Lcom/moji/tool/preferences/CtaPrefer;->a:Z

    .line 166
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragmentControl$2;->a:Landroid/support/v4/app/Fragment;

    invoke-virtual {p1}, Landroid/support/v4/app/Fragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object p1

    invoke-virtual {p1}, Landroid/support/v4/app/FragmentActivity;->finish()V

    return-void
.end method
