CustomServiceManager$11.smali

.class Lio/rong/imlib/cs/CustomServiceManager$11;
.super Ljava/lang/Object;
.source "CustomServiceManager.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/rong/imlib/cs/CustomServiceManager;->onReceived(Lio/rong/imlib/model/Message;IZI)Z
.end annotation

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


# instance fields
.field final synthetic this$0:Lio/rong/imlib/cs/CustomServiceManager;

.field final synthetic val$msg:Ljava/lang/String;

.field final synthetic val$profile:Lio/rong/imlib/cs/CustomServiceManager$CustomServiceProfile;


# direct methods
.method constructor <init>(Lio/rong/imlib/cs/CustomServiceManager;Lio/rong/imlib/cs/CustomServiceManager$CustomServiceProfile;Ljava/lang/String;)V
    .registers 4

    .line 1
    iput-object p1, p0, Lio/rong/imlib/cs/CustomServiceManager$11;->this$0:Lio/rong/imlib/cs/CustomServiceManager;

    iput-object p2, p0, Lio/rong/imlib/cs/CustomServiceManager$11;->val$profile:Lio/rong/imlib/cs/CustomServiceManager$CustomServiceProfile;

    iput-object p3, p0, Lio/rong/imlib/cs/CustomServiceManager$11;->val$msg:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .registers 3

    .line 1
    iget-object v0, p0, Lio/rong/imlib/cs/CustomServiceManager$11;->val$profile:Lio/rong/imlib/cs/CustomServiceManager$CustomServiceProfile;

    iget-object v0, v0, Lio/rong/imlib/cs/CustomServiceManager$CustomServiceProfile;->customServiceListener:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lio/rong/imlib/ICustomServiceListener;

    if-eqz v0, :cond_20

    .line 2
    iget-object v1, p0, Lio/rong/imlib/cs/CustomServiceManager$11;->val$msg:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_1b

    iget-object v1, p0, Lio/rong/imlib/cs/CustomServiceManager$11;->this$0:Lio/rong/imlib/cs/CustomServiceManager;

    # getter for: Lio/rong/imlib/cs/CustomServiceManager;->quitStr:Ljava/lang/String;
    invoke-static {v1}, Lio/rong/imlib/cs/CustomServiceManager;->access$300(Lio/rong/imlib/cs/CustomServiceManager;)Ljava/lang/String;

    move-result-object v1

    goto :goto_1d

    :cond_1b
    iget-object v1, p0, Lio/rong/imlib/cs/CustomServiceManager$11;->val$msg:Ljava/lang/String;

    :goto_1d
    invoke-interface {v0, v1}, Lio/rong/imlib/ICustomServiceListener;->onQuit(Ljava/lang/String;)V

    :cond_20
    return-void
.end method