apkfuckery/com.discord/smali/f/a/l/a.smali

60 lines
1.6 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lf/a/l/a;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
.source "AcknowledgedTooltipsCache.kt"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# instance fields
.field public final a:Landroid/content/SharedPreferences;
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-08 16:44:49 +00:00
.method public constructor <init>()V
.locals 2
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
sget-object v0, Lcom/discord/utilities/cache/SharedPreferencesProvider;->INSTANCE:Lcom/discord/utilities/cache/SharedPreferencesProvider;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-virtual {v0}, Lcom/discord/utilities/cache/SharedPreferencesProvider;->get()Landroid/content/SharedPreferences;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
move-result-object v0
const-string v1, "sharedPreferences"
invoke-static {v0, v1}, Lk0/o/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object v0, p0, Lf/a/l/a;->a:Landroid/content/SharedPreferences;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
return-void
.end method
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
.method public constructor <init>(Landroid/content/SharedPreferences;I)V
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
and-int/lit8 p1, p2, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz p1, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
sget-object p1, Lcom/discord/utilities/cache/SharedPreferencesProvider;->INSTANCE:Lcom/discord/utilities/cache/SharedPreferencesProvider;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p1}, Lcom/discord/utilities/cache/SharedPreferencesProvider;->get()Landroid/content/SharedPreferences;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_0
2020-09-02 04:07:20 +00:00
const/4 p1, 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:goto_0
2020-09-02 04:07:20 +00:00
const-string p2, "sharedPreferences"
invoke-static {p1, p2}, Lk0/o/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object p1, p0, Lf/a/l/a;->a:Landroid/content/SharedPreferences;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
return-void
2020-05-17 12:40:10 +00:00
.end method