207 lines
5.2 KiB
Smali
207 lines
5.2 KiB
Smali
.class public Lcom/moji/preferences/AccountPrefer;
|
|
.super Lcom/moji/tool/preferences/core/BasePreferences;
|
|
.source "AccountPrefer.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/moji/preferences/AccountPrefer$KeyConstant;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static a:Landroid/content/Context;
|
|
|
|
.field private static b:Lcom/moji/preferences/AccountPrefer;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 25
|
|
invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/moji/preferences/AccountPrefer;->a:Landroid/content/Context;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 29
|
|
sget-object v0, Lcom/moji/preferences/AccountPrefer;->a:Landroid/content/Context;
|
|
|
|
invoke-direct {p0, v0}, Lcom/moji/tool/preferences/core/BasePreferences;-><init>(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static declared-synchronized c()Lcom/moji/preferences/AccountPrefer;
|
|
.locals 2
|
|
|
|
const-class v0, Lcom/moji/preferences/AccountPrefer;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 33
|
|
:try_start_0
|
|
sget-object v1, Lcom/moji/preferences/AccountPrefer;->b:Lcom/moji/preferences/AccountPrefer;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 34
|
|
new-instance v1, Lcom/moji/preferences/AccountPrefer;
|
|
|
|
invoke-direct {v1}, Lcom/moji/preferences/AccountPrefer;-><init>()V
|
|
|
|
sput-object v1, Lcom/moji/preferences/AccountPrefer;->b:Lcom/moji/preferences/AccountPrefer;
|
|
|
|
.line 36
|
|
:cond_0
|
|
sget-object v1, Lcom/moji/preferences/AccountPrefer;->b:Lcom/moji/preferences/AccountPrefer;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit v0
|
|
|
|
return-object v1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 32
|
|
monitor-exit v0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 42
|
|
sget-object v0, Lcom/moji/preferences/PreferenceNameEnum;->ACCOUNT_INFO:Lcom/moji/preferences/PreferenceNameEnum;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/preferences/PreferenceNameEnum;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public a(J)V
|
|
.locals 1
|
|
|
|
.line 158
|
|
sget-object v0, Lcom/moji/preferences/AccountPrefer$KeyConstant;->BIND_PHONE_DATA:Lcom/moji/preferences/AccountPrefer$KeyConstant;
|
|
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/AccountPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 83
|
|
sget-object v0, Lcom/moji/preferences/AccountPrefer$KeyConstant;->HISTORY_LOGIN_NAME:Lcom/moji/preferences/AccountPrefer$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/AccountPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public b(J)V
|
|
.locals 1
|
|
|
|
.line 166
|
|
sget-object v0, Lcom/moji/preferences/AccountPrefer$KeyConstant;->CARD_END_TIME:Lcom/moji/preferences/AccountPrefer$KeyConstant;
|
|
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/AccountPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 87
|
|
sget-object v0, Lcom/moji/preferences/AccountPrefer$KeyConstant;->HISTORY_LOGIN_NAME:Lcom/moji/preferences/AccountPrefer$KeyConstant;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/AccountPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public e()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 117
|
|
sget-object v0, Lcom/moji/preferences/AccountPrefer$KeyConstant;->FACE:Lcom/moji/preferences/AccountPrefer$KeyConstant;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/AccountPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public f()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 121
|
|
sget-object v0, Lcom/moji/preferences/AccountPrefer$KeyConstant;->NICK:Lcom/moji/preferences/AccountPrefer$KeyConstant;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/AccountPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public g()J
|
|
.locals 3
|
|
|
|
.line 162
|
|
sget-object v0, Lcom/moji/preferences/AccountPrefer$KeyConstant;->BIND_PHONE_DATA:Lcom/moji/preferences/AccountPrefer$KeyConstant;
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
invoke-virtual {p0, v0, v1, v2}, Lcom/moji/preferences/AccountPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|