apkfuckery/com.discord/smali/f/a/a/s$c.smali

86 lines
2.1 KiB
Smali
Raw Normal View History

2020-04-14 11:33:38 +00:00
.class public final Lf/a/a/s$c;
2020-03-27 22:23:51 +00:00
.super Ljava/lang/Object;
2020-04-08 16:24:01 +00:00
.source "WidgetUrgentMessageDialogViewModel.kt"
2020-02-06 22:18:40 +00:00
# interfaces
2020-03-27 22:23:51 +00:00
.implements Landroidx/lifecycle/ViewModelProvider$Factory;
2019-12-06 03:29:40 +00:00
# annotations
2020-03-27 22:23:51 +00:00
.annotation system Ldalvik/annotation/EnclosingClass;
2020-04-14 11:33:38 +00:00
value = Lf/a/a/s;
2019-12-06 03:29:40 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
2020-04-08 16:24:01 +00:00
name = "c"
2020-02-06 22:18:40 +00:00
.end annotation
2019-12-06 03:29:40 +00:00
# direct methods
2020-03-27 22:23:51 +00:00
.method public constructor <init>()V
2019-12-06 03:29:40 +00:00
.locals 0
2020-03-27 22:23:51 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-12-06 03:29:40 +00:00
return-void
.end method
# virtual methods
2020-03-27 22:23:51 +00:00
.method public create(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
2020-04-08 16:24:01 +00:00
.locals 3
2020-03-27 22:23:51 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Landroidx/lifecycle/ViewModel;",
">(",
"Ljava/lang/Class<",
"TT;>;)TT;"
}
.end annotation
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2020-04-14 11:33:38 +00:00
new-instance p1, Lf/a/a/s;
2019-12-06 03:29:40 +00:00
2020-04-08 16:24:01 +00:00
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
2019-12-06 03:29:40 +00:00
2020-04-08 16:24:01 +00:00
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
2019-12-06 03:29:40 +00:00
2020-04-08 16:24:01 +00:00
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getUsers()Lcom/discord/stores/StoreUser;
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
move-result-object v1
2019-12-06 03:29:40 +00:00
2020-04-08 16:24:01 +00:00
invoke-virtual {v1}, Lcom/discord/stores/StoreUser;->observeMe()Lrx/Observable;
move-result-object v1
2020-04-14 11:33:38 +00:00
sget-object v2, Lf/a/a/t;->d:Lf/a/a/t;
2020-04-08 16:24:01 +00:00
2020-04-11 15:34:05 +00:00
invoke-virtual {v1, v2}, Lrx/Observable;->f(Lh0/l/i;)Lrx/Observable;
2020-04-08 16:24:01 +00:00
move-result-object v1
const-string v2, "storeUser.observeMe().ma\u2026oreState(user = meUser) }"
2020-04-11 15:34:05 +00:00
invoke-static {v1, v2}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-04-08 16:24:01 +00:00
2020-04-14 11:33:38 +00:00
invoke-direct {p1, v0, v1}, Lf/a/a/s;-><init>(Lcom/discord/utilities/rest/RestAPI;Lrx/Observable;)V
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
return-object p1
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
:cond_0
const-string p1, "modelClass"
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
const/4 p1, 0x0
throw p1
2019-12-06 03:29:40 +00:00
.end method