axn.smali
.class public abstract Ldxoptimizer/axn;
.super Ldxoptimizer/aev;
.source "AppLocksBaseActivity.java"
# static fields
.field public static b:Z
.field private static c:Ljava/util/WeakHashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/WeakHashMap",
"<",
"Ljava/lang/String;",
"Ljava/lang/ref/WeakReference",
"<",
"Ldxoptimizer/axn;",
">;>;"
}
.end annotation
.end field
.field private static d:J
# instance fields
.field public a:Landroid/graphics/Rect;
.field private e:J
.field private f:J
.field private g:Ljava/lang/String;
.field private h:Z
.field private j:Ldxoptimizer/bwq;
# direct methods
.method static constructor <clinit>()V
.registers 2
.prologue
.line 38
new-instance v0, Ljava/util/WeakHashMap;
invoke-direct {v0}, Ljava/util/WeakHashMap;-><init>()V
sput-object v0, Ldxoptimizer/axn;->c:Ljava/util/WeakHashMap;
.line 40
const-wide/16 v0, 0x0
sput-wide v0, Ldxoptimizer/axn;->d:J
.line 46
const/4 v0, 0x0
sput-boolean v0, Ldxoptimizer/axn;->b:Z
return-void
.end method
.method public constructor <init>()V
.registers 3
.prologue
const-wide/16 v0, 0x0
.line 33
invoke-direct {p0}, Ldxoptimizer/aev;-><init>()V
.line 42
iput-wide v0, p0, Ldxoptimizer/axn;->e:J
.line 43
iput-wide v0, p0, Ldxoptimizer/axn;->f:J
.line 44
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, "-"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I
move-result v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Ldxoptimizer/axn;->g:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public a(Z)V
.registers 6
.prologue
.line 52
sget-object v1, Ldxoptimizer/axn;->c:Ljava/util/WeakHashMap;
monitor-enter v1
.line 56
:try_start_3
sget-object v0, Ldxoptimizer/axn;->c:Ljava/util/WeakHashMap;
invoke-virtual {v0}, Ljava/util/WeakHashMap;->values()Ljava/util/Collection;
move-result-object v0
invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object v2
:cond_d
:goto_d
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_36
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/ref/WeakReference;
.line 57
if-eqz v0, :cond_d
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v3
if-eqz v3, :cond_d
.line 62
if-nez p1, :cond_29
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v3
if-eq v3, p0, :cond_d
.line 66
:cond_29
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ldxoptimizer/axn;
invoke-virtual {v0}, Ldxoptimizer/axn;->finish()V
goto :goto_d
.line 69
:catchall_33
move-exception v0
monitor-exit v1
:try_end_35
.catchall {:try_start_3 .. :try_end_35} :catchall_33
throw v0
:cond_36
:try_start_36
monitor-exit v1
:try_end_37
.catchall {:try_start_36 .. :try_end_37} :catchall_33
.line 70
return-void
.end method
.method protected b(Z)V
.registers 3
.prologue
.line 207
iget-boolean v0, p0, Ldxoptimizer/axn;->h:Z
if-eqz v0, :cond_1a
.line 208
const/4 v0, 0x0
iput-boolean v0, p0, Ldxoptimizer/axn;->h:Z
.line 209
if-eqz p1, :cond_e
.line 210
const-string v0, "al_a_ps"
invoke-static {p0, v0}, Ldxoptimizer/axx;->a(Landroid/content/Context;Ljava/lang/String;)V
.line 215
:cond_e
iget-object v0, p0, Ldxoptimizer/axn;->j:Ldxoptimizer/bwq;
if-eqz v0, :cond_1a
.line 216
iget-object v0, p0, Ldxoptimizer/axn;->j:Ldxoptimizer/bwq;
invoke-virtual {v0}, Ldxoptimizer/bwq;->b()V
.line 217
const/4 v0, 0x0
iput-object v0, p0, Ldxoptimizer/axn;->j:Ldxoptimizer/bwq;
.line 220
:cond_1a
return-void
.end method
.method public b()Z
.registers 2
.prologue
.line 154
const/4 v0, 0x1
return v0
.end method
.method public c()Z
.registers 2
.prologue
.line 163
const/4 v0, 0x1
return v0
.end method
.method public d()Z
.registers 2
.annotation build Landroid/annotation/TargetApi;
value = 0x16
.end annotation
.prologue
.line 78
invoke-static {}, Ldxoptimizer/ayb;->b()Z
move-result v0
if-eqz v0, :cond_14
invoke-virtual {p0}, Ldxoptimizer/axn;->c()Z
move-result v0
if-eqz v0, :cond_14
.line 79
invoke-static {p0}, Ldxoptimizer/cfi;->a(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_14
.line 80
const/4 v0, 0x0
.line 82
:goto_13
return v0
:cond_14
const/4 v0, 0x1
goto :goto_13
.end method
.method public e()Z
.registers 7
.prologue
.line 167
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
.line 169
iget-wide v2, p0, Ldxoptimizer/axn;->f:J
sub-long v2, v0, v2
const-wide/16 v4, 0x1f4
cmp-long v2, v2, v4
if-gez v2, :cond_10
.line 170
const/4 v0, 0x0
.line 174
:goto_f
return v0
.line 173
:cond_10
iput-wide v0, p0, Ldxoptimizer/axn;->f:J
.line 174
const/4 v0, 0x1
goto :goto_f
.end method
.method public f()V
.registers 2
.prologue
.line 178
invoke-static {p0}, Ldxoptimizer/cfi;->c(Landroid/content/Context;)Z
move-result v0
if-eqz v0, :cond_20
.line 179
invoke-static {p0}, Ldxoptimizer/cfi;->d(Landroid/content/Context;)V
.line 181
iget-object v0, p0, Ldxoptimizer/axn;->j:Ldxoptimizer/bwq;
if-eqz v0, :cond_12
.line 182
iget-object v0, p0, Ldxoptimizer/axn;->j:Ldxoptimizer/bwq;
invoke-virtual {v0}, Ldxoptimizer/bwq;->b()V
.line 184
:cond_12
invoke-static {p0}, Ldxoptimizer/cfi;->e(Landroid/content/Context;)Ldxoptimizer/bwq;
move-result-object v0
iput-object v0, p0, Ldxoptimizer/axn;->j:Ldxoptimizer/bwq;
.line 185
iget-object v0, p0, Ldxoptimizer/axn;->j:Ldxoptimizer/bwq;
invoke-virtual {v0}, Ldxoptimizer/bwq;->a()V
.line 187
const/4 v0, 0x1
iput-boolean v0, p0, Ldxoptimizer/axn;->h:Z
.line 189
:cond_20
return-void
.end method
.method public g()V
.registers 4
.prologue
.line 193
invoke-static {p0}, Ldxoptimizer/cfi;->a(Landroid/content/Context;)Z
move-result v0
.line 194
if-eqz v0, :cond_18
.line 195
new-instance v1, Landroid/content/Intent;
const-class v2, Lcom/dianxinos/optimizer/module/applocks/activity/AppLocksEntranceActivity;
invoke-direct {v1, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
.line 196
const/high16 v2, 0x4000000
invoke-virtual {v1, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
.line 197
invoke-virtual {p0, v1}, Ldxoptimizer/axn;->startActivity(Landroid/content/Intent;)V
.line 198
invoke-virtual {p0}, Ldxoptimizer/axn;->finish()V
.line 203
:cond_18
invoke-virtual {p0, v0}, Ldxoptimizer/axn;->b(Z)V
.line 204
return-void
.end method
.method public onCreate(Landroid/os/Bundle;)V
.registers 6
.prologue
.line 87
invoke-super {p0, p1}, Ldxoptimizer/aev;->onCreate(Landroid/os/Bundle;)V
.line 91
invoke-virtual {p0}, Ldxoptimizer/axn;->getIntent()Landroid/content/Intent;
move-result-object v0
invoke-virtual {v0}, Landroid/content/Intent;->getSourceBounds()Landroid/graphics/Rect;
move-result-object v0
iput-object v0, p0, Ldxoptimizer/axn;->a:Landroid/graphics/Rect;
.line 92
sget-object v1, Ldxoptimizer/axn;->c:Ljava/util/WeakHashMap;
monitor-enter v1
.line 93
:try_start_10
sget-object v0, Ldxoptimizer/axn;->c:Ljava/util/WeakHashMap;
iget-object v2, p0, Ldxoptimizer/axn;->g:Ljava/lang/String;
new-instance v3, Ljava/lang/ref/WeakReference;
invoke-direct {v3, p0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
invoke-virtual {v0, v2, v3}, Ljava/util/WeakHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 94
monitor-exit v1
:try_end_1d
.catchall {:try_start_10 .. :try_end_1d} :catchall_24
.line 95
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
sput-wide v0, Ldxoptimizer/axn;->d:J
.line 96
return-void
.line 94
:catchall_24
move-exception v0
:try_start_25
monitor-exit v1
:try_end_26
.catchall {:try_start_25 .. :try_end_26} :catchall_24
throw v0
.end method
.method public onDestroy()V
.registers 4
.prologue
.line 139
invoke-super {p0}, Ldxoptimizer/aev;->onDestroy()V
.line 143
sget-object v1, Ldxoptimizer/axn;->c:Ljava/util/WeakHashMap;
monitor-enter v1
.line 144
:try_start_6
sget-object v0, Ldxoptimizer/axn;->c:Ljava/util/WeakHashMap;
iget-object v2, p0, Ldxoptimizer/axn;->g:Ljava/lang/String;
invoke-virtual {v0, v2}, Ljava/util/WeakHashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
.line 145
monitor-exit v1
.line 146
return-void
.line 145
:catchall_f
move-exception v0
monitor-exit v1
:try_end_11
.catchall {:try_start_6 .. :try_end_11} :catchall_f
throw v0
.end method
.method protected onPause()V
.registers 3
.prologue
.line 118
invoke-super {p0}, Ldxoptimizer/aev;->onPause()V
.line 122
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
iput-wide v0, p0, Ldxoptimizer/axn;->e:J
.line 123
return-void
.end method
.method public onResume()V
.registers 3
.prologue
.line 107
invoke-super {p0}, Ldxoptimizer/aev;->onResume()V
.line 111
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, v1, :cond_10
.line 112
invoke-static {p0}, Ldxoptimizer/cfi;->a(Landroid/content/Context;)Z
move-result v0
invoke-virtual {p0, v0}, Ldxoptimizer/axn;->b(Z)V
.line 114
:cond_10
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
sput-wide v0, Ldxoptimizer/axn;->d:J
.line 115
return-void
.end method
.method public onStart()V
.registers 3
.prologue
.line 99
invoke-super {p0}, Ldxoptimizer/aev;->onStart()V
.line 103
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
sput-wide v0, Ldxoptimizer/axn;->d:J
.line 104
return-void
.end method
.method public onStop()V
.registers 5
.prologue
.line 126
invoke-super {p0}, Ldxoptimizer/aev;->onStop()V
.line 132
invoke-virtual {p0}, Ldxoptimizer/axn;->b()Z
move-result v0
if-eqz v0, :cond_1b
sget-wide v0, Ldxoptimizer/axn;->d:J
iget-wide v2, p0, Ldxoptimizer/axn;->e:J
cmp-long v0, v0, v2
if-gtz v0, :cond_1b
invoke-virtual {p0}, Ldxoptimizer/axn;->isFinishing()Z
move-result v0
if-nez v0, :cond_1b
.line 133
const/4 v0, 0x0
invoke-virtual {p0, v0}, Ldxoptimizer/axn;->a(Z)V
.line 135
:cond_1b
return-void
.end method