m.smali
1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.class public Lcom/uyumao/m;
.super Ljava/lang/Object;
# static fields
.field public static volatile a:Lcom/uyumao/m;
# instance fields
.field public final b:Landroid/content/SharedPreferences;
# direct methods
.method public constructor <init>()V
.locals 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
invoke-static {}, Lcom/uyumao/e;->a()Landroid/content/Context;
move-result-object v0
const-string v1, "um_social_azx"
const/4 v2, 0x0
invoke-virtual {v0, v1, v2}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
move-result-object v0
iput-object v0, p0, Lcom/uyumao/m;->b:Landroid/content/SharedPreferences;
return-void
.end method
.method public static a()Lcom/uyumao/m;
.locals 2
sget-object v0, Lcom/uyumao/m;->a:Lcom/uyumao/m;
if-nez v0, :cond_1
const-class v0, Lcom/uyumao/m;
monitor-enter v0
:try_start_0
sget-object v1, Lcom/uyumao/m;->a:Lcom/uyumao/m;
if-nez v1, :cond_0
new-instance v1, Lcom/uyumao/m;
invoke-direct {v1}, Lcom/uyumao/m;-><init>()V
sput-object v1, Lcom/uyumao/m;->a:Lcom/uyumao/m;
: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
:cond_1
:goto_0
sget-object v0, Lcom/uyumao/m;->a:Lcom/uyumao/m;
return-object v0
.end method