c$a.smali

.class public final Lcom/singbox/util/ext/c$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/singbox/util/ext/c;
.end annotation

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


# instance fields
.field private a:Z

.field private final b:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Landroid/view/View;",
            ">;"
        }
    .end annotation
.end field

.field private final c:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Lcom/singbox/util/ext/c;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Ljava/lang/ref/WeakReference;Ljava/lang/ref/WeakReference;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/ref/WeakReference<",
            "Landroid/view/View;",
            ">;",
            "Ljava/lang/ref/WeakReference<",
            "Lcom/singbox/util/ext/c;",
            ">;)V"
        }
    .end annotation

    const-string v0, "view"

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

    const-string v0, "listener"

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

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

    iput-object p1, p0, Lcom/singbox/util/ext/c$a;->b:Ljava/lang/ref/WeakReference;

    iput-object p2, p0, Lcom/singbox/util/ext/c$a;->c:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 7

    const/4 v0, 0x0

    .line 74
    iput-boolean v0, p0, Lcom/singbox/util/ext/c$a;->a:Z

    .line 75
    iget-object v0, p0, Lcom/singbox/util/ext/c$a;->c:Ljava/lang/ref/WeakReference;

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

    move-result-object v0

    check-cast v0, Lcom/singbox/util/ext/c;

    if-eqz v0, :cond_36

    .line 76
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    .line 1047
    iget-wide v3, v0, Lcom/singbox/util/ext/c;->b:J

    sub-long/2addr v1, v3

    const-wide/16 v3, 0x46

    cmp-long v5, v1, v3

    if-ltz v5, :cond_1e

    .line 78
    invoke-virtual {v0}, Lcom/singbox/util/ext/c;->a()V

    return-void

    .line 1058
    :cond_1e
    iget-object v0, v0, Lcom/singbox/util/ext/c;->a:Lcom/singbox/util/ext/c$a;

    .line 1086
    iget-boolean v1, v0, Lcom/singbox/util/ext/c$a;->a:Z

    if-nez v1, :cond_36

    const/4 v1, 0x1

    .line 1087
    iput-boolean v1, v0, Lcom/singbox/util/ext/c$a;->a:Z

    .line 1088
    iget-object v1, v0, Lcom/singbox/util/ext/c$a;->b:Ljava/lang/ref/WeakReference;

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

    move-result-object v1

    check-cast v1, Landroid/view/View;

    if-eqz v1, :cond_36

    check-cast v0, Ljava/lang/Runnable;

    invoke-virtual {v1, v0, v3, v4}, Landroid/view/View;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_36
    return-void
.end method