.class Lcom/moji/appupdate/SettingNoUpgradeEvent$2;
.super Ljava/lang/Object;
.source "SettingNoUpgradeEvent.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/appupdate/SettingNoUpgradeEvent;->a(Landroid/app/Activity;Landroid/content/Intent;)V
.end annotation

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


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

.field final synthetic b:Lcom/moji/appupdate/SettingNoUpgradeEvent;


# direct methods
.method constructor <init>(Lcom/moji/appupdate/SettingNoUpgradeEvent;Landroid/content/Intent;)V
    .locals 0

    .line 48
    iput-object p1, p0, Lcom/moji/appupdate/SettingNoUpgradeEvent$2;->b:Lcom/moji/appupdate/SettingNoUpgradeEvent;

    iput-object p2, p0, Lcom/moji/appupdate/SettingNoUpgradeEvent$2;->a:Landroid/content/Intent;

    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 4
    .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 51
    iget-object p1, p0, Lcom/moji/appupdate/SettingNoUpgradeEvent$2;->a:Landroid/content/Intent;

    const-string p2, ""

    invoke-static {p1, p2}, Landroid/content/Intent;->createChooser(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;

    move-result-object p1

    const/high16 p2, 0x10000000

    .line 52
    invoke-virtual {p1, p2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 53
    invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;

    move-result-object p2

    invoke-virtual {p2, p1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

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

    move-result-object p1

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

    const-string v0, "1"

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const-string v2, "2"

    const/4 v3, 0x0

    aput-object v2, v1, v3

    invoke-static {v1}, Lcom/moji/statistics/EventParams;->getProperty([Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v1

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

    return-void
.end method
