68 lines
1.6 KiB
Smali
68 lines
1.6 KiB
Smali
.class public Lcom/lky/toucheffectsmodule/utils/SingleHandler;
|
|
.super Landroid/os/Handler;
|
|
.source "SingleHandler.java"
|
|
|
|
|
|
# static fields
|
|
.field private static mInstance:Lcom/lky/toucheffectsmodule/utils/SingleHandler;
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 12
|
|
invoke-direct {p0}, Landroid/os/Handler;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getInstance()Lcom/lky/toucheffectsmodule/utils/SingleHandler;
|
|
.locals 2
|
|
|
|
.line 16
|
|
sget-object v0, Lcom/lky/toucheffectsmodule/utils/SingleHandler;->mInstance:Lcom/lky/toucheffectsmodule/utils/SingleHandler;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 17
|
|
const-class v0, Lcom/lky/toucheffectsmodule/utils/SingleHandler;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 18
|
|
:try_start_0
|
|
sget-object v1, Lcom/lky/toucheffectsmodule/utils/SingleHandler;->mInstance:Lcom/lky/toucheffectsmodule/utils/SingleHandler;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 19
|
|
new-instance v1, Lcom/lky/toucheffectsmodule/utils/SingleHandler;
|
|
|
|
invoke-direct {v1}, Lcom/lky/toucheffectsmodule/utils/SingleHandler;-><init>()V
|
|
|
|
sput-object v1, Lcom/lky/toucheffectsmodule/utils/SingleHandler;->mInstance:Lcom/lky/toucheffectsmodule/utils/SingleHandler;
|
|
|
|
.line 21
|
|
:cond_0
|
|
monitor-exit v0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
|
|
.line 24
|
|
:cond_1
|
|
:goto_0
|
|
sget-object v0, Lcom/lky/toucheffectsmodule/utils/SingleHandler;->mInstance:Lcom/lky/toucheffectsmodule/utils/SingleHandler;
|
|
|
|
return-object v0
|
|
.end method
|