a.smali
.class public Lcom/cm/reminder/system/a;
.super Ljava/lang/Object;
.source "CleanCalendarTaskManager.java"
# interfaces
.implements Ljava/lang/Runnable;
# static fields
.field static a:Lcom/cm/reminder/system/a;
# instance fields
.field private volatile b:Z
.field private c:J
# direct methods
.method public constructor <init>()V
.registers 3
.prologue
.line 12
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 16
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/cm/reminder/system/a;->b:Z
.line 18
const-wide/16 v0, 0x0
iput-wide v0, p0, Lcom/cm/reminder/system/a;->c:J
return-void
.end method
.method public static a()Lcom/cm/reminder/system/a;
.registers 2
.prologue
.line 21
sget-object v0, Lcom/cm/reminder/system/a;->a:Lcom/cm/reminder/system/a;
if-nez v0, :cond_13
.line 22
const-class v1, Lcom/cm/reminder/system/a;
monitor-enter v1
.line 23
:try_start_7
sget-object v0, Lcom/cm/reminder/system/a;->a:Lcom/cm/reminder/system/a;
if-nez v0, :cond_12
.line 24
new-instance v0, Lcom/cm/reminder/system/a;
invoke-direct {v0}, Lcom/cm/reminder/system/a;-><init>()V
sput-object v0, Lcom/cm/reminder/system/a;->a:Lcom/cm/reminder/system/a;
.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/a;->a:Lcom/cm/reminder/system/a;
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 41
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
iput-wide v0, p0, Lcom/cm/reminder/system/a;->c:J
.line 42
return-void
.end method
# virtual methods
.method public b()V
.registers 5
.prologue
.line 32
iget-boolean v0, p0, Lcom/cm/reminder/system/a;->b:Z
if-eqz v0, :cond_5
.line 38
:cond_4
:goto_4
return-void
.line 33
:cond_5
invoke-virtual {p0}, Lcom/cm/reminder/system/a;->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, 0x3e8
cmp-long v0, v0, v2
if-ltz v0, :cond_4
.line 36
invoke-direct {p0}, Lcom/cm/reminder/system/a;->d()V
.line 37
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 52
iget-wide v0, p0, Lcom/cm/reminder/system/a;->c:J
return-wide v0
.end method
.method public run()V
.registers 2
.prologue
.line 46
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/cm/reminder/system/a;->b:Z
.line 47
invoke-static {}, Lcom/cleanmaster/hpcommonlib/HostHelper;->getAppContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cm/reminder/notification/b;->a(Landroid/content/Context;)V
.line 48
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/cm/reminder/system/a;->b:Z
.line 49
return-void
.end method