DXFastRefershService.smali

.class public Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;
.super Landroid/app/Service;
.source "DXFastRefershService.java"

# interfaces
.implements Ldxoptimizer/aey$a;
.implements Ldxoptimizer/cbr$a;
.implements Ljava/lang/Runnable;


# instance fields
.field private a:Z

.field private b:Z

.field private c:Ljava/lang/Thread;

.field private d:Landroid/content/Context;

.field private e:I

.field private f:J

.field private g:Z

.field private h:J

.field private i:Z

.field private j:Z

.field private k:Ljava/util/HashSet;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashSet",
            "<",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation
.end field

.field private l:Landroid/os/Handler;

.field private m:Landroid/content/BroadcastReceiver;


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

    .prologue
    const-wide/16 v4, 0x0

    const/4 v2, 0x1

    const/4 v1, 0x0

    const/4 v0, 0x0

    .line 28
    invoke-direct {p0}, Landroid/app/Service;-><init>()V

    .line 37
    iput-boolean v2, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->a:Z

    .line 38
    iput-boolean v2, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->b:Z

    .line 39
    iput-object v1, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->c:Ljava/lang/Thread;

    .line 40
    iput-object v1, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->d:Landroid/content/Context;

    .line 51
    iput v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->e:I

    .line 53
    iput-wide v4, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->f:J

    .line 54
    iput-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->g:Z

    .line 55
    iput-wide v4, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->h:J

    .line 56
    iput-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->i:Z

    .line 57
    iput-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->j:Z

    .line 59
    new-instance v0, Ljava/util/HashSet;

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

    iput-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->k:Ljava/util/HashSet;

    .line 61
    iput-object v1, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->l:Landroid/os/Handler;

    .line 145
    new-instance v0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService$2;

    invoke-direct {v0, p0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService$2;-><init>(Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;)V

    iput-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->m:Landroid/content/BroadcastReceiver;

    return-void
.end method

.method static synthetic a(Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;)Landroid/content/Context;
    .registers 2

    .prologue
    .line 28
    iget-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->d:Landroid/content/Context;

    return-object v0
.end method

.method private a()V
    .registers 7

    .prologue
    .line 97
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v2

    .line 101
    iget-wide v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->f:J

    const-wide/32 v4, 0xea60

    add-long/2addr v0, v4

    cmp-long v0, v0, v2

    if-gtz v0, :cond_28

    const/4 v0, 0x1

    :goto_f
    iput-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->g:Z

    .line 102
    iput-wide v2, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->h:J

    .line 103
    iput-wide v2, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->f:J

    .line 104
    iget-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->g:Z

    if-nez v0, :cond_2a

    .line 105
    invoke-static {}, Landroid/os/Message;->obtain()Landroid/os/Message;

    move-result-object v0

    .line 106
    const/4 v1, 0x2

    iput v1, v0, Landroid/os/Message;->what:I

    .line 107
    iget-object v1, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->l:Landroid/os/Handler;

    const-wide/16 v2, 0x3e8

    invoke-virtual {v1, v0, v2, v3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    .line 123
    :goto_27
    return-void

    .line 101
    :cond_28
    const/4 v0, 0x0

    goto :goto_f

    .line 109
    :cond_2a
    invoke-direct {p0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->c()I

    move-result v0

    .line 110
    new-instance v1, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService$1;

    invoke-direct {v1, p0, v0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService$1;-><init>(Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;I)V

    .line 121
    invoke-virtual {v1}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService$1;->start()V

    goto :goto_27
.end method

.method public static a(Landroid/content/Context;)V
    .registers 3

    .prologue
    .line 193
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 195
    :try_start_7
    invoke-static {p0}, Ldxoptimizer/cdr;->h(Landroid/content/Context;)Z

    move-result v1

    if-eqz v1, :cond_11

    .line 196
    invoke-static {p0, v0}, Ldxoptimizer/cek;->a(Landroid/content/Context;Landroid/content/Intent;)Landroid/content/ComponentName;

    .line 203
    :goto_10
    return-void

    .line 198
    :cond_11
    invoke-virtual {p0, v0}, Landroid/content/Context;->stopService(Landroid/content/Intent;)Z
    :try_end_14
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_14} :catch_15

    goto :goto_10

    .line 200
    :catch_15
    move-exception v0

    .line 201
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_10
.end method

.method static synthetic b(Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;)I
    .registers 2

    .prologue
    .line 28
    invoke-direct {p0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->c()I

    move-result v0

    return v0
.end method

.method private c()I
    .registers 5

    .prologue
    const/4 v3, 0x1

    .line 126
    invoke-static {}, Ldxoptimizer/cdy;->a()[I

    move-result-object v0

    .line 127
    aget v1, v0, v3

    const/4 v2, 0x0

    aget v2, v0, v2

    sub-int/2addr v1, v2

    int-to-float v1, v1

    const/high16 v2, 0x3f800000    # 1.0f

    mul-float/2addr v1, v2

    aget v0, v0, v3

    int-to-float v0, v0

    div-float v0, v1, v0

    const/high16 v1, 0x42c80000    # 100.0f

    mul-float/2addr v0, v1

    float-to-int v0, v0

    return v0
.end method

.method static synthetic c(Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;)Landroid/os/Handler;
    .registers 2

    .prologue
    .line 28
    iget-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->l:Landroid/os/Handler;

    return-object v0
.end method

.method private d()V
    .registers 2

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

    iput-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->a:Z

    .line 186
    iget-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->c:Ljava/lang/Thread;

    if-nez v0, :cond_13

    .line 187
    new-instance v0, Ljava/lang/Thread;

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

    iput-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->c:Ljava/lang/Thread;

    .line 188
    iget-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->c:Ljava/lang/Thread;

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

    .line 190
    :cond_13
    return-void
.end method

.method static synthetic d(Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;)V
    .registers 1

    .prologue
    .line 28
    invoke-direct {p0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->d()V

    return-void
.end method

.method private e()V
    .registers 2

    .prologue
    .line 240
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->a:Z

    .line 241
    return-void
.end method

.method static synthetic e(Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;)V
    .registers 1

    .prologue
    .line 28
    invoke-direct {p0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->e()V

    return-void
.end method

.method private f()V
    .registers 4

    .prologue
    .line 244
    invoke-static {}, Ldxoptimizer/cbr;->a()Ldxoptimizer/cbr;

    move-result-object v0

    invoke-virtual {v0, p0}, Ldxoptimizer/cbr;->a(Ldxoptimizer/cbr$a;)V

    .line 245
    new-instance v0, Landroid/content/IntentFilter;

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

    .line 246
    const-string v1, "com.dianxinos.optimizer.action.ENTER_HOME"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 247
    const-string v1, "com.dianxinos.optimizer.action.EXIT_HOME"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 248
    iget-object v1, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->d:Landroid/content/Context;

    iget-object v2, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->m:Landroid/content/BroadcastReceiver;

    invoke-static {v1, v2, v0}, Ldxoptimizer/cga;->a(Landroid/content/Context;Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    .line 249
    return-void
.end method

.method private g()V
    .registers 3

    .prologue
    .line 252
    invoke-static {}, Ldxoptimizer/cbr;->a()Ldxoptimizer/cbr;

    move-result-object v0

    invoke-virtual {v0, p0}, Ldxoptimizer/cbr;->b(Ldxoptimizer/cbr$a;)V

    .line 253
    iget-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->d:Landroid/content/Context;

    iget-object v1, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->m:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/content/Context;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V

    .line 254
    return-void
.end method


# virtual methods
.method public a(Z)V
    .registers 2

    .prologue
    .line 133
    if-eqz p1, :cond_6

    .line 134
    invoke-direct {p0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->d()V

    .line 138
    :goto_5
    return-void

    .line 136
    :cond_6
    invoke-direct {p0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->e()V

    goto :goto_5
.end method

.method public b()V
    .registers 1

    .prologue
    .line 143
    return-void
.end method

.method public handleMessage(Landroid/os/Message;)V
    .registers 10

    .prologue
    const-wide/16 v6, 0xbb8

    const/4 v4, 0x4

    .line 65
    new-instance v0, Landroid/content/Intent;

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

    .line 66
    iget v1, p1, Landroid/os/Message;->what:I

    packed-switch v1, :pswitch_data_60

    .line 94
    :goto_d
    return-void

    .line 68
    :pswitch_e
    iget v1, p1, Landroid/os/Message;->arg1:I

    iput v1, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->e:I

    .line 69
    const-string v1, "com.dianxinos.optimizer.action.DX_WIDGET_UPDATE_ACC_STAT"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 70
    const-string v1, "release_mom_pre"

    iget v2, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->e:I

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 71
    invoke-static {p0, v0}, Ldxoptimizer/cga;->a(Landroid/content/Context;Landroid/content/Intent;)V

    goto :goto_d

    .line 74
    :pswitch_22
    const-string v1, "com.dianxinos.optimizer.action.DX_WIDGET_UPDATE_ACC_BUSY"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 75
    const-string v1, "release_mom_pre"

    iget v2, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->e:I

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 76
    invoke-static {p0, v0}, Ldxoptimizer/cga;->a(Landroid/content/Context;Landroid/content/Intent;)V

    .line 77
    iget-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->l:Landroid/os/Handler;

    invoke-virtual {v0, v4, v6, v7}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_d

    .line 80
    :pswitch_37
    const-string v1, "com.dianxinos.optimizer.action.DX_WIDGET_UPDATE_PROCESS_BAR_HIDE"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 81
    invoke-static {p0, v0}, Ldxoptimizer/cga;->a(Landroid/content/Context;Landroid/content/Intent;)V

    .line 82
    iget-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->l:Landroid/os/Handler;

    const-wide/16 v2, 0x7d0

    invoke-virtual {v0, v4, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    .line 83
    iget-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->l:Landroid/os/Handler;

    const/4 v1, 0x5

    invoke-virtual {v0, v1, v6, v7}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_d

    .line 86
    :pswitch_4d
    const-string v1, "com.dianxinos.optimizer.action.DX_WIDGET_UPDATE_ACC_FINISH"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 87
    invoke-static {p0, v0}, Ldxoptimizer/cga;->a(Landroid/content/Context;Landroid/content/Intent;)V

    goto :goto_d

    .line 90
    :pswitch_56
    const-string v1, "com.dianxinos.optimizer.action.DX_WIDGET_UPDATE_MEMORY_START"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 91
    invoke-static {p0, v0}, Ldxoptimizer/cga;->a(Landroid/content/Context;Landroid/content/Intent;)V

    goto :goto_d

    .line 66
    nop

    :pswitch_data_60
    .packed-switch 0x1
        :pswitch_e
        :pswitch_22
        :pswitch_37
        :pswitch_4d
        :pswitch_56
    .end packed-switch
.end method

.method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
    .registers 3

    .prologue
    .line 165
    const/4 v0, 0x0

    return-object v0
.end method

.method public onCreate()V
    .registers 2

    .prologue
    .line 169
    invoke-super {p0}, Landroid/app/Service;->onCreate()V

    .line 170
    invoke-virtual {p0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->d:Landroid/content/Context;

    .line 171
    new-instance v0, Ldxoptimizer/aey;

    invoke-direct {v0, p0}, Ldxoptimizer/aey;-><init>(Ldxoptimizer/aey$a;)V

    iput-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->l:Landroid/os/Handler;

    .line 172
    invoke-direct {p0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->d()V

    .line 173
    invoke-direct {p0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->f()V

    .line 174
    return-void
.end method

.method public onDestroy()V
    .registers 2

    .prologue
    .line 178
    invoke-super {p0}, Landroid/app/Service;->onDestroy()V

    .line 179
    invoke-direct {p0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->g()V

    .line 180
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->c:Ljava/lang/Thread;

    .line 181
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->b:Z

    .line 182
    return-void
.end method

.method public onStart(Landroid/content/Intent;I)V
    .registers 7

    .prologue
    const-wide/16 v2, 0x3e8

    .line 207
    if-eqz p1, :cond_16

    .line 208
    invoke-virtual {p1}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    .line 212
    const-string v1, "com.dianxinos.optimizer.action.DX_WIDGET_SERVICE_DO_REFERSH"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_17

    .line 213
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->j:Z

    .line 214
    invoke-direct {p0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->d()V

    .line 229
    :cond_16
    :goto_16
    return-void

    .line 215
    :cond_17
    const-string v1, "com.dianxinos.optimizer.action.DX_WIDGET_SERVICE_DO_ACC"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_23

    .line 216
    invoke-direct {p0}, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->a()V

    goto :goto_16

    .line 217
    :cond_23
    const-string v1, "com.dianxinos.optimizer.action.DX_WIDGET_REFRESH_SERVICE_SHOW_ACC_ANIM"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3f

    .line 218
    iget v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->e:I

    if-lez v0, :cond_38

    .line 219
    iget-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->l:Landroid/os/Handler;

    const/4 v1, 0x3

    const-wide/16 v2, 0x7d0

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_16

    .line 221
    :cond_38
    iget-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->l:Landroid/os/Handler;

    const/4 v1, 0x2

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_16

    .line 223
    :cond_3f
    const-string v1, "com.dianxinos.optimizer.action.DX_WIDGET_REFRESH_SERVICE_SHOW_MEMORY_ANIM"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4e

    .line 224
    iget-object v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->l:Landroid/os/Handler;

    const/4 v1, 0x5

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_16

    .line 225
    :cond_4e
    const-string v1, "com.dianxinos.optimizer.action.DX_WIDGET_SERVICE_STOP_REFERSH"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_16

    .line 226
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->j:Z

    goto :goto_16
.end method

.method public run()V
    .registers 7

    .prologue
    const-wide/16 v4, 0x2710

    .line 258
    :cond_2
    :goto_2
    iget-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->b:Z

    if-eqz v0, :cond_37

    .line 264
    const-wide/16 v0, 0x2710

    :try_start_8
    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V
    :try_end_b
    .catch Ljava/lang/InterruptedException; {:try_start_8 .. :try_end_b} :catch_30

    .line 268
    :goto_b
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v0

    .line 269
    iget-wide v2, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->h:J

    add-long/2addr v2, v4

    cmp-long v0, v2, v0

    if-gtz v0, :cond_35

    const/4 v0, 0x1

    :goto_17
    iput-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->i:Z

    .line 270
    iget-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->a:Z

    if-eqz v0, :cond_2

    iget-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->i:Z

    if-eqz v0, :cond_2

    .line 274
    iget-boolean v0, p0, Lcom/dianxinos/optimizer/dxfastwidget/DXFastRefershService;->j:Z

    if-eqz v0, :cond_2

    .line 275
    new-instance v0, Landroid/content/Intent;

    const-string v1, "com.dianxinos.optimizer.action.REFERSH_WIDGET"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    invoke-static {p0, v0}, Ldxoptimizer/cga;->a(Landroid/content/Context;Landroid/content/Intent;)V

    goto :goto_2

    .line 265
    :catch_30
    move-exception v0

    .line 266
    invoke-virtual {v0}, Ljava/lang/InterruptedException;->printStackTrace()V

    goto :goto_b

    .line 269
    :cond_35
    const/4 v0, 0x0

    goto :goto_17

    .line 279
    :cond_37
    return-void
.end method