b.smali

.class public Lcom/cm/reminder/system/b;
.super Ljava/lang/Object;
.source "CleanDeprecationTaskManager.java"

# interfaces
.implements Ljava/lang/Runnable;


# static fields
.field static a:Lcom/cm/reminder/system/b;


# instance fields
.field private volatile b:Z

.field private c:J


# direct methods
.method public constructor <init>()V
    .registers 3

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

    .line 15
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/cm/reminder/system/b;->b:Z

    .line 17
    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lcom/cm/reminder/system/b;->c:J

    return-void
.end method

.method public static a()Lcom/cm/reminder/system/b;
    .registers 2

    .prologue
    .line 21
    sget-object v0, Lcom/cm/reminder/system/b;->a:Lcom/cm/reminder/system/b;

    if-nez v0, :cond_13

    .line 22
    const-class v1, Lcom/cm/reminder/system/b;

    monitor-enter v1

    .line 23
    :try_start_7
    sget-object v0, Lcom/cm/reminder/system/b;->a:Lcom/cm/reminder/system/b;

    if-nez v0, :cond_12

    .line 24
    new-instance v0, Lcom/cm/reminder/system/b;

    invoke-direct {v0}, Lcom/cm/reminder/system/b;-><init>()V

    sput-object v0, Lcom/cm/reminder/system/b;->a:Lcom/cm/reminder/system/b;

    .line 26
    :cond_12
    monitor-exit v1
    :try_end_13
    .catchall {:try_start_7 .. :try_end_13} :catchall_16

    .line 28
    :cond_13
    sget-object v0, Lcom/cm/reminder/system/b;->a:Lcom/cm/reminder/system/b;

    return-object v0

    .line 26
    :catchall_16
    move-exception v0

    :try_start_17
    monitor-exit v1
    :try_end_18
    .catchall {:try_start_17 .. :try_end_18} :catchall_16

    throw v0
.end method

.method private d()V
    .registers 3

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

    move-result-wide v0

    iput-wide v0, p0, Lcom/cm/reminder/system/b;->c:J

    .line 43
    return-void
.end method


# virtual methods
.method public b()V
    .registers 5

    .prologue
    .line 32
    iget-boolean v0, p0, Lcom/cm/reminder/system/b;->b:Z

    if-eqz v0, :cond_5

    .line 39
    :cond_4
    :goto_4
    return-void

    .line 33
    :cond_5
    invoke-virtual {p0}, Lcom/cm/reminder/system/b;->c()J

    move-result-wide v0

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

    move-result-wide v2

    .line 35
    sub-long v0, v2, v0

    const-wide/16 v2, 0x7d0

    cmp-long v0, v0, v2

    if-ltz v0, :cond_4

    .line 36
    invoke-direct {p0}, Lcom/cm/reminder/system/b;->d()V

    .line 38
    invoke-static {p0}, Lcom/cm/reminder/d/a;->a(Ljava/lang/Runnable;)V

    goto :goto_4
.end method

.method public c()J
    .registers 3

    .prologue
    .line 53
    iget-wide v0, p0, Lcom/cm/reminder/system/b;->c:J

    return-wide v0
.end method

.method public run()V
    .registers 2

    .prologue
    .line 47
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/cm/reminder/system/b;->b:Z

    .line 48
    invoke-static {}, Lcom/cm/reminder/notification/b;->d()V

    .line 49
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/cm/reminder/system/b;->b:Z

    .line 50
    return-void
.end method