.class Lcom/moji/mjallergy/MJAllergyMainActivity$4;
.super Lcom/moji/tool/thread/wrapper/MJRunnable;
.source "MJAllergyMainActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjallergy/MJAllergyMainActivity;->a()V
.end annotation

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


# instance fields
.field final synthetic a:Landroid/graphics/Bitmap;

.field final synthetic b:Lcom/moji/share/MJThirdShareManager;

.field final synthetic c:Ljava/lang/String;

.field final synthetic d:Lcom/moji/mjallergy/MJAllergyMainActivity;


# direct methods
.method constructor <init>(Lcom/moji/mjallergy/MJAllergyMainActivity;Lcom/moji/tool/thread/ThreadPriority;Landroid/graphics/Bitmap;Lcom/moji/share/MJThirdShareManager;Ljava/lang/String;)V
    .locals 0

    .line 173
    iput-object p1, p0, Lcom/moji/mjallergy/MJAllergyMainActivity$4;->d:Lcom/moji/mjallergy/MJAllergyMainActivity;

    iput-object p3, p0, Lcom/moji/mjallergy/MJAllergyMainActivity$4;->a:Landroid/graphics/Bitmap;

    iput-object p4, p0, Lcom/moji/mjallergy/MJAllergyMainActivity$4;->b:Lcom/moji/share/MJThirdShareManager;

    iput-object p5, p0, Lcom/moji/mjallergy/MJAllergyMainActivity$4;->c:Ljava/lang/String;

    invoke-direct {p0, p2}, Lcom/moji/tool/thread/wrapper/MJRunnable;-><init>(Lcom/moji/tool/thread/ThreadPriority;)V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 7

    .line 176
    iget-object v0, p0, Lcom/moji/mjallergy/MJAllergyMainActivity$4;->a:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/mjallergy/MJAllergyMainActivity$4;->a:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    .line 179
    :cond_0
    new-instance v0, Lcom/moji/share/image/ShareImageControl;

    iget-object v2, p0, Lcom/moji/mjallergy/MJAllergyMainActivity$4;->a:Landroid/graphics/Bitmap;

    sget v3, Lpad/aqi/cnemc/com/mjallergymodule/R$color;->white:I

    const/4 v4, 0x0

    const/4 v5, 0x1

    iget-object v6, p0, Lcom/moji/mjallergy/MJAllergyMainActivity$4;->c:Ljava/lang/String;

    move-object v1, v0

    invoke-direct/range {v1 .. v6}, Lcom/moji/share/image/ShareImageControl;-><init>(Landroid/graphics/Bitmap;ILandroid/net/Uri;ZLjava/lang/String;)V

    .line 180
    iget-object v1, p0, Lcom/moji/mjallergy/MJAllergyMainActivity$4;->d:Lcom/moji/mjallergy/MJAllergyMainActivity;

    invoke-static {v1, v0}, Lcom/moji/share/ShareImageManager;->a(Landroid/content/Context;Lcom/moji/share/image/ShareImageControl;)Z

    move-result v0

    .line 181
    iget-object v1, p0, Lcom/moji/mjallergy/MJAllergyMainActivity$4;->b:Lcom/moji/share/MJThirdShareManager;

    invoke-virtual {v1, v0}, Lcom/moji/share/MJThirdShareManager;->a(Z)V

    goto :goto_1

    .line 177
    :cond_1
    :goto_0
    iget-object v0, p0, Lcom/moji/mjallergy/MJAllergyMainActivity$4;->b:Lcom/moji/share/MJThirdShareManager;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/moji/share/MJThirdShareManager;->a(Z)V

    :goto_1
    return-void
.end method
