.class Lcom/moji/member/presenter/MemberExCodePresenter$5;
.super Ljava/lang/Object;
.source "MemberExCodePresenter.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/member/presenter/MemberExCodePresenter;->a(Landroid/content/Context;Ljava/lang/String;)V
.end annotation

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


# instance fields
.field final synthetic a:Landroid/content/Context;

.field final synthetic b:Lcom/moji/member/presenter/MemberExCodePresenter;


# direct methods
.method constructor <init>(Lcom/moji/member/presenter/MemberExCodePresenter;Landroid/content/Context;)V
    .locals 0

    .line 133
    iput-object p1, p0, Lcom/moji/member/presenter/MemberExCodePresenter$5;->b:Lcom/moji/member/presenter/MemberExCodePresenter;

    iput-object p2, p0, Lcom/moji/member/presenter/MemberExCodePresenter$5;->a:Landroid/content/Context;

    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
    .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 136
    invoke-virtual {p1}, Lcom/moji/dialog/MJDialog;->dismiss()V

    .line 137
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object p2, Lcom/moji/statistics/EVENT_TAG;->REDEEM_CODE_LOGIN_BLOCKING_CLICK:Lcom/moji/statistics/EVENT_TAG;

    const-string v0, "0"

    invoke-virtual {p1, p2, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 138
    new-instance p1, Landroid/content/Intent;

    invoke-direct {p1}, Landroid/content/Intent;-><init>()V

    .line 139
    new-instance p2, Landroid/content/ComponentName;

    iget-object v0, p0, Lcom/moji/member/presenter/MemberExCodePresenter$5;->a:Landroid/content/Context;

    const-string v1, "com.moji.mjweather.me.activity.LoginBySnsCodeActivity"

    invoke-direct {p2, v0, v1}, Landroid/content/ComponentName;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    invoke-virtual {p1, p2}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;

    .line 140
    iget-object p2, p0, Lcom/moji/member/presenter/MemberExCodePresenter$5;->a:Landroid/content/Context;

    check-cast p2, Landroid/app/Activity;

    sget v0, Lcom/moji/member/presenter/MemberExCodePresenter;->b:I

    invoke-virtual {p2, p1, v0}, Landroid/app/Activity;->startActivityForResult(Landroid/content/Intent;I)V

    return-void
.end method
