i$a.smali
.class public final Laq/i$a;
.super Ljava/lang/Object;
.source "TrampolineScheduler.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Laq/i;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# instance fields
.field public final a:Ljava/lang/Runnable;
.field public final b:Laq/i$c;
.field public final c:J
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Ljava/lang/Runnable;Laq/i$c;J)V
.registers 5
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Laq/i$a;->a:Ljava/lang/Runnable;
iput-object p2, p0, Laq/i$a;->b:Laq/i$c;
iput-wide p3, p0, Laq/i$a;->c:J
return-void
.end method
# virtual methods
.method public run()V
.registers 6
iget-object v0, p0, Laq/i$a;->b:Laq/i$c;
iget-boolean v0, v0, Laq/i$c;->d:Z
if-nez v0, :cond_36
iget-object v0, p0, Laq/i$a;->b:Laq/i$c;
sget-object v1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invoke-virtual {v0, v1}, Lnp/l$a;->a(Ljava/util/concurrent/TimeUnit;)J
move-result-wide v0
iget-wide v2, p0, Laq/i$a;->c:J
cmp-long v4, v2, v0
if-lez v4, :cond_2b
sub-long/2addr v2, v0
const-wide/16 v0, 0x0
cmp-long v4, v2, v0
if-lez v4, :cond_2b
:try_start_1b
invoke-static {v2, v3}, Ljava/lang/Thread;->sleep(J)V
:try_end_1e
.catch Ljava/lang/InterruptedException; {:try_start_1b .. :try_end_1e} :catch_1f
goto :goto_2b
:catch_1f
move-exception v0
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Thread;->interrupt()V
invoke-static {v0}, Lfq/a;->b(Ljava/lang/Throwable;)V
return-void
:cond_2b
:goto_2b
iget-object v0, p0, Laq/i$a;->b:Laq/i$c;
iget-boolean v0, v0, Laq/i$c;->d:Z
if-nez v0, :cond_36
iget-object v0, p0, Laq/i$a;->a:Ljava/lang/Runnable;
invoke-interface {v0}, Ljava/lang/Runnable;->run()V
:cond_36
return-void
.end method