bk$1.smali

.class final Lcom/loc/bk$1;
.super Ljava/util/TimerTask;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/loc/bk;
.end annotation

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


# instance fields
.field final synthetic a:I

.field final synthetic b:Lcom/loc/bk;


# direct methods
.method constructor <init>(Lcom/loc/bk;)V
    .registers 3

    iput-object p1, p0, Lcom/loc/bk$1;->b:Lcom/loc/bk;

    const/4 v0, 0x2

    iput v0, p0, Lcom/loc/bk$1;->a:I

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

    return-void
.end method


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

    :try_start_0
    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Ljava/lang/Thread;->setPriority(I)V

    invoke-static {}, Lcom/loc/cj;->b()J

    move-result-wide v0

    iget-object v2, p0, Lcom/loc/bk$1;->b:Lcom/loc/bk;

    invoke-static {v2}, Lcom/loc/bk;->a(Lcom/loc/bk;)J

    move-result-wide v2

    sub-long/2addr v0, v2

    iget-object v2, p0, Lcom/loc/bk$1;->b:Lcom/loc/bk;

    invoke-static {v2}, Lcom/loc/bk;->b(Lcom/loc/bk;)Z

    move-result v2

    if-eqz v2, :cond_28

    iget-object v2, p0, Lcom/loc/bk$1;->b:Lcom/loc/bk;

    invoke-static {v2}, Lcom/loc/bk;->c(Lcom/loc/bk;)I

    move-result v2

    if-nez v2, :cond_28

    iget-object v2, p0, Lcom/loc/bk$1;->b:Lcom/loc/bk;

    invoke-static {v2}, Lcom/loc/bk;->d(Lcom/loc/bk;)V

    :cond_28
    const-wide/16 v2, 0x2710

    cmp-long v0, v0, v2

    if-gez v0, :cond_2f

    :goto_2e
    return-void

    :cond_2f
    iget-object v0, p0, Lcom/loc/bk$1;->b:Lcom/loc/bk;

    invoke-static {v0}, Lcom/loc/bk;->e(Lcom/loc/bk;)Lcom/loc/bm;

    move-result-object v0

    if-eqz v0, :cond_5c

    iget-object v0, p0, Lcom/loc/bk$1;->b:Lcom/loc/bk;

    invoke-static {v0}, Lcom/loc/bk;->e(Lcom/loc/bk;)Lcom/loc/bm;

    move-result-object v0

    iget-object v1, p0, Lcom/loc/bk$1;->b:Lcom/loc/bk;

    invoke-static {v1}, Lcom/loc/bk;->f(Lcom/loc/bk;)Landroid/net/ConnectivityManager;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/loc/bm;->a(Landroid/net/ConnectivityManager;)Z

    move-result v0

    if-eqz v0, :cond_5c

    iget-object v0, p0, Lcom/loc/bk$1;->b:Lcom/loc/bk;

    iget v1, p0, Lcom/loc/bk$1;->a:I

    invoke-static {v0, v1}, Lcom/loc/bk;->a(Lcom/loc/bk;I)V
    :try_end_50
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_50} :catch_51

    goto :goto_2e

    :catch_51
    move-exception v0

    const-string/jumbo v1, "CollectionManager"

    const-string/jumbo v2, "timerTaskU run"

    invoke-static {v0, v1, v2}, Lcom/loc/ca;->a(Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_2e

    :cond_5c
    :try_start_5c
    iget-object v0, p0, Lcom/loc/bk$1;->b:Lcom/loc/bk;

    invoke-static {v0}, Lcom/loc/bk;->d(Lcom/loc/bk;)V
    :try_end_61
    .catch Ljava/lang/Throwable; {:try_start_5c .. :try_end_61} :catch_51

    goto :goto_2e
.end method