CustomServiceManager$10.smali

.class Lio/rong/imlib/cs/CustomServiceManager$10;
.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$csChangeModeResponseMessage:Lio/rong/message/CSChangeModeResponseMessage;

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


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

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

    iput-object p2, p0, Lio/rong/imlib/cs/CustomServiceManager$10;->val$csChangeModeResponseMessage:Lio/rong/message/CSChangeModeResponseMessage;

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

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

    return-void
.end method


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

    .line 1
    iget-object v0, p0, Lio/rong/imlib/cs/CustomServiceManager$10;->val$csChangeModeResponseMessage:Lio/rong/message/CSChangeModeResponseMessage;

    invoke-virtual {v0}, Lio/rong/message/CSChangeModeResponseMessage;->getErrMsg()Ljava/lang/String;

    move-result-object v0

    .line 2
    iget-object v1, p0, Lio/rong/imlib/cs/CustomServiceManager$10;->val$profile:Lio/rong/imlib/cs/CustomServiceManager$CustomServiceProfile;

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

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

    move-result-object v1

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

    if-eqz v1, :cond_16

    const/4 v2, 0x3

    .line 3
    invoke-interface {v1, v2, v0}, Lio/rong/imlib/ICustomServiceListener;->onError(ILjava/lang/String;)V

    :cond_16
    return-void
.end method