RoomsTruthComponent$ad.smali

.class public final Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ad;
.super Landroid/os/CountDownTimer;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->b(J)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

.field final synthetic b:J


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;JJ)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(JJ)V"
        }
    .end annotation

    .line 437
    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ad;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    iput-wide p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ad;->b:J

    const-wide/16 p1, 0x3e8

    invoke-direct {p0, p4, p5, p1, p2}, Landroid/os/CountDownTimer;-><init>(JJ)V

    return-void
.end method


# virtual methods
.method public final onFinish()V
    .registers 3

    .line 449
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ad;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->f(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;)Z

    move-result v0

    if-eqz v0, :cond_1d

    .line 450
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ad;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->i(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;)Lcom/imo/android/imoim/rooms/truth/TruthOrDareViewModel;

    invoke-static {}, Lcom/imo/android/imoim/rooms/truth/TruthOrDareViewModel;->c()V

    .line 451
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ad;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->j(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;)Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_1c

    const/4 v1, 0x0

    invoke-static {v0, v1}, Landroidx/core/view/ViewKt;->setVisible(Landroid/view/View;Z)V

    :cond_1c
    return-void

    .line 453
    :cond_1d
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ad;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->h(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;)Landroid/widget/TextView;

    move-result-object v0

    if-eqz v0, :cond_2b

    const v1, 0x7f0f08bc

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    :cond_2b
    return-void
.end method

.method public final onTick(J)V
    .registers 8

    const-wide/16 v0, 0x1f4

    add-long/2addr p1, v0

    const-wide/16 v0, 0x3e8

    .line 439
    div-long/2addr p1, v0

    .line 440
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ad;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->f(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;)Z

    move-result v0

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-eqz v0, :cond_33

    .line 441
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ad;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->g(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;)Landroid/widget/TextView;

    move-result-object v0

    if-eqz v0, :cond_32

    iget-object v3, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ad;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    invoke-virtual {v3}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object v3

    const v4, 0x7f0f09bf

    new-array v1, v1, [Ljava/lang/Object;

    invoke-static {p1, p2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object p1

    aput-object p1, v1, v2

    invoke-virtual {v3, v4, v1}, Landroidx/fragment/app/FragmentActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    check-cast p1, Ljava/lang/CharSequence;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_32
    return-void

    .line 443
    :cond_33
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ad;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    invoke-virtual {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    const v3, 0x7f0f0436

    new-array v1, v1, [Ljava/lang/Object;

    invoke-static {p1, p2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object p1

    aput-object p1, v1, v2

    invoke-virtual {v0, v3, v1}, Landroidx/fragment/app/FragmentActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    const-string p2, "context.getString(R.stri\u2026_seconds, sec.toString())"

    invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    .line 444
    iget-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent$ad;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;

    invoke-static {p2}, Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;->h(Lcom/imo/android/imoim/rooms/av/component/RoomsTruthComponent;)Landroid/widget/TextView;

    move-result-object p2

    if-eqz p2, :cond_5e

    invoke-static {p1, v2}, Landroidx/core/text/HtmlCompat;->fromHtml(Ljava/lang/String;I)Landroid/text/Spanned;

    move-result-object p1

    check-cast p1, Ljava/lang/CharSequence;

    invoke-virtual {p2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_5e
    return-void
.end method