PushTimer.smali

.class public Lcom/tradplus/ads/pushcenter/utils/PushTimer;
.super Ljava/lang/Object;


# instance fields
.field a:Landroid/os/Handler;

.field b:Ljava/lang/Runnable;

.field private c:Landroid/content/Context;

.field private d:Z

.field private final e:I


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .registers 3

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

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/tradplus/ads/pushcenter/utils/PushTimer;->d:Z

    const/16 v0, 0x2710

    iput v0, p0, Lcom/tradplus/ads/pushcenter/utils/PushTimer;->e:I

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/tradplus/ads/pushcenter/utils/PushTimer;->a:Landroid/os/Handler;

    new-instance v0, Lcom/tradplus/ads/pushcenter/utils/PushTimer$1;

    invoke-direct {v0, p0}, Lcom/tradplus/ads/pushcenter/utils/PushTimer$1;-><init>(Lcom/tradplus/ads/pushcenter/utils/PushTimer;)V

    iput-object v0, p0, Lcom/tradplus/ads/pushcenter/utils/PushTimer;->b:Ljava/lang/Runnable;

    iput-object p1, p0, Lcom/tradplus/ads/pushcenter/utils/PushTimer;->c:Landroid/content/Context;

    return-void
.end method

.method static synthetic a(Lcom/tradplus/ads/pushcenter/utils/PushTimer;)Z
    .registers 1

    iget-boolean p0, p0, Lcom/tradplus/ads/pushcenter/utils/PushTimer;->d:Z

    return p0
.end method

.method static synthetic b(Lcom/tradplus/ads/pushcenter/utils/PushTimer;)Landroid/content/Context;
    .registers 1

    iget-object p0, p0, Lcom/tradplus/ads/pushcenter/utils/PushTimer;->c:Landroid/content/Context;

    return-object p0
.end method


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

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/tradplus/ads/pushcenter/utils/PushTimer;->d:Z

    iget-object v0, p0, Lcom/tradplus/ads/pushcenter/utils/PushTimer;->a:Landroid/os/Handler;

    iget-object v1, p0, Lcom/tradplus/ads/pushcenter/utils/PushTimer;->b:Ljava/lang/Runnable;

    const-wide/16 v2, 0x2710

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    return-void
.end method

.method public stop()V
    .registers 2

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/tradplus/ads/pushcenter/utils/PushTimer;->d:Z

    return-void
.end method