.class Lcom/moji/mjweather/me/comment/UpPhotosAdapter$1;
.super Ljava/lang/Object;
.source "UpPhotosAdapter.java"

# interfaces
.implements Lcom/moji/dialog/control/MJDialogRadioTwoControl$SingleRadioButtonCallback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/me/comment/UpPhotosAdapter;->a()V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjweather/me/comment/UpPhotosAdapter;


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

    .line 160
    iput-object p1, p0, Lcom/moji/mjweather/me/comment/UpPhotosAdapter$1;->a:Lcom/moji/mjweather/me/comment/UpPhotosAdapter;

    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/ETypeRadio;)V
    .locals 1
    .param p1    # Lcom/moji/dialog/MJDialog;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Lcom/moji/dialog/type/ETypeRadio;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    .line 163
    iget-object p1, p0, Lcom/moji/mjweather/me/comment/UpPhotosAdapter$1;->a:Lcom/moji/mjweather/me/comment/UpPhotosAdapter;

    invoke-static {p1}, Lcom/moji/mjweather/me/comment/UpPhotosAdapter;->a(Lcom/moji/mjweather/me/comment/UpPhotosAdapter;)Z

    move-result p1

    if-nez p1, :cond_0

    return-void

    .line 167
    :cond_0
    :try_start_0
    new-instance p1, Landroid/content/Intent;

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

    const-string p2, "image/*"

    .line 168
    invoke-virtual {p1, p2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    const-string p2, "android.intent.action.GET_CONTENT"

    .line 169
    invoke-virtual {p1, p2}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 170
    iget-object p2, p0, Lcom/moji/mjweather/me/comment/UpPhotosAdapter$1;->a:Lcom/moji/mjweather/me/comment/UpPhotosAdapter;

    invoke-static {p2}, Lcom/moji/mjweather/me/comment/UpPhotosAdapter;->c(Lcom/moji/mjweather/me/comment/UpPhotosAdapter;)Landroid/app/Activity;

    move-result-object p2

    const/16 v0, 0x64

    invoke-virtual {p2, p1, v0}, Landroid/app/Activity;->startActivityForResult(Landroid/content/Intent;I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    const p2, 0x7f0e05b6

    .line 172
    invoke-static {p2}, Lcom/moji/tool/ToastTool;->a(I)V

    .line 173
    iget-object p2, p0, Lcom/moji/mjweather/me/comment/UpPhotosAdapter$1;->a:Lcom/moji/mjweather/me/comment/UpPhotosAdapter;

    invoke-static {p2}, Lcom/moji/mjweather/me/comment/UpPhotosAdapter;->d(Lcom/moji/mjweather/me/comment/UpPhotosAdapter;)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1}, Ljava/lang/Exception;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p2, p1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    :goto_0
    return-void
.end method
