DestructionTaskManager$1.smali

.class Lio/rong/imlib/destruct/DestructionTaskManager$1;
.super Ljava/lang/Object;
.source "DestructionTaskManager.java"

# interfaces
.implements Lio/rong/imlib/RongIMClient$DestructCountDownTimerListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/rong/imlib/destruct/DestructionTaskManager;->startCountDown(Lio/rong/imlib/model/Message;Lio/rong/imlib/RongIMClient$DestructCountDownTimerListener;)V
.end annotation

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


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

.field final synthetic val$pListener:Lio/rong/imlib/RongIMClient$DestructCountDownTimerListener;

.field final synthetic val$pMessage:Lio/rong/imlib/model/Message;


# direct methods
.method constructor <init>(Lio/rong/imlib/destruct/DestructionTaskManager;Lio/rong/imlib/RongIMClient$DestructCountDownTimerListener;Lio/rong/imlib/model/Message;)V
    .registers 4

    .line 1
    iput-object p1, p0, Lio/rong/imlib/destruct/DestructionTaskManager$1;->this$0:Lio/rong/imlib/destruct/DestructionTaskManager;

    iput-object p2, p0, Lio/rong/imlib/destruct/DestructionTaskManager$1;->val$pListener:Lio/rong/imlib/RongIMClient$DestructCountDownTimerListener;

    iput-object p3, p0, Lio/rong/imlib/destruct/DestructionTaskManager$1;->val$pMessage:Lio/rong/imlib/model/Message;

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

    return-void
.end method


# virtual methods
.method public onStop(Ljava/lang/String;)V
    .registers 3

    .line 1
    iget-object v0, p0, Lio/rong/imlib/destruct/DestructionTaskManager$1;->val$pListener:Lio/rong/imlib/RongIMClient$DestructCountDownTimerListener;

    invoke-interface {v0, p1}, Lio/rong/imlib/RongIMClient$DestructCountDownTimerListener;->onStop(Ljava/lang/String;)V

    .line 2
    iget-object v0, p0, Lio/rong/imlib/destruct/DestructionTaskManager$1;->this$0:Lio/rong/imlib/destruct/DestructionTaskManager;

    # getter for: Lio/rong/imlib/destruct/DestructionTaskManager;->mCountDownTimers:Ljava/util/Map;
    invoke-static {v0}, Lio/rong/imlib/destruct/DestructionTaskManager;->access$200(Lio/rong/imlib/destruct/DestructionTaskManager;)Ljava/util/Map;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method public onTick(JLjava/lang/String;)V
    .registers 7

    .line 1
    iget-object v0, p0, Lio/rong/imlib/destruct/DestructionTaskManager$1;->val$pListener:Lio/rong/imlib/RongIMClient$DestructCountDownTimerListener;

    invoke-interface {v0, p1, p2, p3}, Lio/rong/imlib/RongIMClient$DestructCountDownTimerListener;->onTick(JLjava/lang/String;)V

    const-wide/16 v0, 0x0

    cmp-long v2, p1, v0

    if-gtz v2, :cond_1b

    .line 2
    iget-object p1, p0, Lio/rong/imlib/destruct/DestructionTaskManager$1;->this$0:Lio/rong/imlib/destruct/DestructionTaskManager;

    iget-object p2, p0, Lio/rong/imlib/destruct/DestructionTaskManager$1;->val$pMessage:Lio/rong/imlib/model/Message;

    invoke-virtual {p1, p2}, Lio/rong/imlib/destruct/DestructionTaskManager;->deleteMessage(Lio/rong/imlib/model/Message;)V

    .line 3
    iget-object p1, p0, Lio/rong/imlib/destruct/DestructionTaskManager$1;->this$0:Lio/rong/imlib/destruct/DestructionTaskManager;

    # getter for: Lio/rong/imlib/destruct/DestructionTaskManager;->mCountDownTimers:Ljava/util/Map;
    invoke-static {p1}, Lio/rong/imlib/destruct/DestructionTaskManager;->access$200(Lio/rong/imlib/destruct/DestructionTaskManager;)Ljava/util/Map;

    move-result-object p1

    invoke-interface {p1, p3}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    :cond_1b
    return-void
.end method