203 lines
5.9 KiB
Smali
203 lines
5.9 KiB
Smali
.class public Lcom/moji/redleaves/data/RedLeavesPreference;
|
|
.super Lcom/moji/tool/preferences/core/BasePreferences;
|
|
.source "RedLeavesPreference.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 16
|
|
invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, v0}, Lcom/moji/tool/preferences/core/BasePreferences;-><init>(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 21
|
|
sget-object v0, Lcom/moji/preferences/PreferenceNameEnum;->RED_LEAVES: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 58
|
|
sget-object v0, Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;->RED_LEAVES_LAST_FEEDBACK_TIME:Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;
|
|
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/redleaves/data/RedLeavesPreference;->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 42
|
|
sget-object v0, Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;->LATEST_FILE_NAME:Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/redleaves/data/RedLeavesPreference;->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 66
|
|
sget-object v0, Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;->RED_LEAVES_LAST_FEEDBACK_DIALOG_AUTO_SHOW_TIME:Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;
|
|
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/redleaves/data/RedLeavesPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 50
|
|
sget-object v0, Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;->LATEST_FILE_NAME:Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/redleaves/data/RedLeavesPreference;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 54
|
|
sget-object v0, Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;->LATEST_FILE_NAME:Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/redleaves/data/RedLeavesPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public c(J)V
|
|
.locals 1
|
|
|
|
.line 78
|
|
sget-object v0, Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;->RED_LEAVES_SCENE_MAP_TIPS_SHOWED:Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;
|
|
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/redleaves/data/RedLeavesPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 86
|
|
sget-object v0, Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;->RED_LEAVES_SUBSCRIBE_IMG_URL:Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;
|
|
|
|
invoke-virtual {p0, v0, p1}, Lcom/moji/redleaves/data/RedLeavesPreference;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d()J
|
|
.locals 3
|
|
|
|
.line 62
|
|
sget-object v0, Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;->RED_LEAVES_LAST_FEEDBACK_TIME:Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
invoke-virtual {p0, v0, v1, v2}, Lcom/moji/redleaves/data/RedLeavesPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public e()J
|
|
.locals 3
|
|
|
|
.line 70
|
|
sget-object v0, Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;->RED_LEAVES_LAST_FEEDBACK_DIALOG_AUTO_SHOW_TIME:Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
invoke-virtual {p0, v0, v1, v2}, Lcom/moji/redleaves/data/RedLeavesPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public f()J
|
|
.locals 3
|
|
|
|
.line 74
|
|
sget-object v0, Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;->RED_LEAVES_SCENE_MAP_TIPS_SHOWED:Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
invoke-virtual {p0, v0, v1, v2}, Lcom/moji/redleaves/data/RedLeavesPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public g()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 82
|
|
sget-object v0, Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;->RED_LEAVES_SUBSCRIBE_IMG_URL:Lcom/moji/redleaves/data/RedLeavesPreference$KeyConstant;
|
|
|
|
const-string v1, ""
|
|
|
|
invoke-virtual {p0, v0, v1}, Lcom/moji/redleaves/data/RedLeavesPreference;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|