Changes of com.discord v1295
This commit is contained in:
parent
15a2908f84
commit
2ab6b31b9b
1213 changed files with 30853 additions and 26402 deletions
|
@ -401,7 +401,7 @@
|
|||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2, p1}, Lcom/discord/stores/StoreChannels;->getDirectShareCandidates(Landroid/content/Context;)Lrx/Observable;
|
||||
invoke-virtual {v2, p1}, Lcom/discord/stores/StoreChannels;->observeDirectShareCandidates(Landroid/content/Context;)Lrx/Observable;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
|
@ -429,7 +429,7 @@
|
|||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3}, Lcom/discord/stores/StoreChannels;->get()Lrx/Observable;
|
||||
invoke-virtual {v3}, Lcom/discord/stores/StoreChannels;->observeAllChannels()Lrx/Observable;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
|
@ -525,7 +525,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreChannels;->get()Lrx/Observable;
|
||||
invoke-virtual {v1}, Lcom/discord/stores/StoreChannels;->observeAllChannels()Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
|
|
|
@ -31,11 +31,19 @@
|
|||
.method public onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V
|
||||
.locals 0
|
||||
|
||||
const-string p2, "activity"
|
||||
|
||||
invoke-static {p1, p2}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityDestroyed(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
.locals 1
|
||||
|
||||
const-string v0, "activity"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -43,6 +51,10 @@
|
|||
.method public onActivityPaused(Landroid/app/Activity;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "activity"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {}, Lv/a/b/b/a;->w()Lf/c/a/d0;
|
||||
|
||||
move-result-object p1
|
||||
|
@ -67,6 +79,10 @@
|
|||
.method public onActivityResumed(Landroid/app/Activity;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "activity"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {}, Lv/a/b/b/a;->w()Lf/c/a/d0;
|
||||
|
||||
move-result-object p1
|
||||
|
@ -89,19 +105,35 @@
|
|||
.end method
|
||||
|
||||
.method public onActivitySaveInstanceState(Landroid/app/Activity;Landroid/os/Bundle;)V
|
||||
.locals 0
|
||||
.locals 1
|
||||
|
||||
const-string v0, "activity"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string p1, "bundle"
|
||||
|
||||
invoke-static {p2, p1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityStarted(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
.locals 1
|
||||
|
||||
const-string v0, "activity"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityStopped(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
.locals 1
|
||||
|
||||
const-string v0, "activity"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -173,7 +173,7 @@
|
|||
|
||||
const-string v3, "browser_user_agent"
|
||||
|
||||
const-string v4, "Discord-Android/1294"
|
||||
const-string v4, "Discord-Android/1295"
|
||||
|
||||
invoke-direct {v2, v3, v4}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
|
@ -181,7 +181,7 @@
|
|||
|
||||
const/4 v1, 0x2
|
||||
|
||||
const/16 v2, 0x50e
|
||||
const/16 v2, 0x50f
|
||||
|
||||
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
@ -201,7 +201,7 @@
|
|||
|
||||
const-string v3, "client_version"
|
||||
|
||||
const-string v4, "44-alpha4"
|
||||
const-string v4, "44.5"
|
||||
|
||||
invoke-direct {v2, v3, v4}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
|
|
|
@ -7128,7 +7128,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const-string v2, "streamer_user_id"
|
||||
const-string/jumbo v2, "streamer_user_id"
|
||||
|
||||
invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
|
@ -7140,7 +7140,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const-string v2, "stream_channel_id"
|
||||
const-string/jumbo v2, "stream_channel_id"
|
||||
|
||||
invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
|
@ -7197,7 +7197,7 @@
|
|||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "stream_report_problem"
|
||||
const-string/jumbo p3, "stream_report_problem"
|
||||
|
||||
invoke-virtual {p1, p3, p2}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->track(Ljava/lang/String;Ljava/util/Map;)V
|
||||
|
||||
|
|
|
@ -1875,7 +1875,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_5
|
||||
const p1, 0x7f12108b
|
||||
const p1, 0x7f12108e
|
||||
|
||||
invoke-virtual {p2, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -3924,7 +3924,7 @@
|
|||
|
||||
if-nez p3, :cond_c
|
||||
|
||||
const p1, 0x7f12191e
|
||||
const p1, 0x7f121927
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
|
@ -3935,7 +3935,7 @@
|
|||
|
||||
if-nez p3, :cond_d
|
||||
|
||||
const p1, 0x7f12142b
|
||||
const p1, 0x7f12142f
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
|
@ -3946,7 +3946,7 @@
|
|||
|
||||
if-nez p3, :cond_e
|
||||
|
||||
const p1, 0x7f12156e
|
||||
const p1, 0x7f121572
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
|
@ -3957,7 +3957,7 @@
|
|||
|
||||
if-nez p3, :cond_f
|
||||
|
||||
const p1, 0x7f121570
|
||||
const p1, 0x7f121574
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
|
@ -4001,7 +4001,7 @@
|
|||
|
||||
if-nez p3, :cond_13
|
||||
|
||||
const p1, 0x7f12142a
|
||||
const p1, 0x7f12142e
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
|
@ -4012,7 +4012,7 @@
|
|||
|
||||
if-nez p3, :cond_14
|
||||
|
||||
const p1, 0x7f120f9f
|
||||
const p1, 0x7f120fa1
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
|
@ -4023,7 +4023,7 @@
|
|||
|
||||
if-nez p3, :cond_15
|
||||
|
||||
const p1, 0x7f121812
|
||||
const p1, 0x7f12181b
|
||||
|
||||
goto :goto_0
|
||||
|
||||
|
@ -4056,7 +4056,7 @@
|
|||
|
||||
if-nez p3, :cond_18
|
||||
|
||||
const p1, 0x7f1215e8
|
||||
const p1, 0x7f1215ec
|
||||
|
||||
goto :goto_0
|
||||
|
||||
|
@ -4067,7 +4067,7 @@
|
|||
|
||||
if-nez p3, :cond_19
|
||||
|
||||
const p1, 0x7f121021
|
||||
const p1, 0x7f121024
|
||||
|
||||
goto :goto_0
|
||||
|
||||
|
@ -4089,7 +4089,7 @@
|
|||
|
||||
if-nez p3, :cond_1b
|
||||
|
||||
const p1, 0x7f120fed
|
||||
const p1, 0x7f120ff0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
|
@ -4100,7 +4100,7 @@
|
|||
|
||||
if-nez p3, :cond_1c
|
||||
|
||||
const p1, 0x7f121816
|
||||
const p1, 0x7f12181f
|
||||
|
||||
goto :goto_0
|
||||
|
||||
|
@ -4111,7 +4111,7 @@
|
|||
|
||||
if-nez p3, :cond_1d
|
||||
|
||||
const p1, 0x7f1213b6
|
||||
const p1, 0x7f1213ba
|
||||
|
||||
goto :goto_0
|
||||
|
||||
|
@ -4122,7 +4122,7 @@
|
|||
|
||||
if-nez p3, :cond_1e
|
||||
|
||||
const p1, 0x7f121907
|
||||
const p1, 0x7f121910
|
||||
|
||||
goto :goto_0
|
||||
|
||||
|
|
|
@ -0,0 +1,76 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$Companion$INSTANCE$2;
|
||||
.super Lc0/n/c/k;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lc0/n/c/k;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Lcom/discord/utilities/channel/ChannelUtils;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$Companion$INSTANCE$2;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils$Companion$INSTANCE$2;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/channel/ChannelUtils$Companion$INSTANCE$2;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/channel/ChannelUtils$Companion$INSTANCE$2;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$Companion$INSTANCE$2;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, v0}, Lc0/n/c/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final invoke()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/channel/ChannelUtils;-><init>()V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic invoke()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/utilities/channel/ChannelUtils$Companion$INSTANCE$2;->invoke()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -0,0 +1,131 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lcom/discord/utilities/channel/ChannelUtils$Companion;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static synthetic getDisplayName$default(Lcom/discord/utilities/channel/ChannelUtils$Companion;Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;ZILjava/lang/Object;)Ljava/lang/String;
|
||||
.locals 0
|
||||
|
||||
and-int/lit8 p4, p4, 0x2
|
||||
|
||||
if-eqz p4, :cond_0
|
||||
|
||||
const/4 p3, 0x1
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->getDisplayName(Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;Z)Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method private final getINSTANCE()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
.locals 2
|
||||
|
||||
invoke-static {}, Lcom/discord/utilities/channel/ChannelUtils;->access$getINSTANCE$cp()Lkotlin/Lazy;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget-object v1, Lcom/discord/utilities/channel/ChannelUtils;->Companion:Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final get()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->getINSTANCE()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final getDisplayName(Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;)Ljava/lang/String;
|
||||
.locals 6
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x2
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
move-object v1, p1
|
||||
|
||||
move-object v2, p2
|
||||
|
||||
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->getDisplayName$default(Lcom/discord/utilities/channel/ChannelUtils$Companion;Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;ZILjava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final getDisplayName(Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;Z)Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "$this$getDisplayName"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p2, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->get()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getName()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getType()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {v0, p2, v1, p1, p3}, Lcom/discord/utilities/channel/ChannelUtils;->getDisplayName(Landroid/content/Context;Ljava/lang/String;IZ)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,92 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ll0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils;->addGroupRecipients(JLjava/util/List;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ll0/k/b<",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$1;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$1;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$1;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$1;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Lcom/discord/models/domain/ModelChannel;)Ljava/lang/Boolean;
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$1;->call(Lcom/discord/models/domain/ModelChannel;)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,125 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ll0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils;->addGroupRecipients(JLjava/util/List;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ll0/k/b<",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
"Lrx/Observable<",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $recipientIds:Ljava/util/List;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/util/List;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$2;->$recipientIds:Ljava/util/List;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$2;->call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
")",
|
||||
"Lrx/Observable<",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-static {p1}, Lc0/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->isMultiUserDM()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
new-instance v0, Ll0/l/e/j;
|
||||
|
||||
invoke-direct {v0, p1}, Ll0/l/e/j;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
iget-object p1, p0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$2;->$recipientIds:Ljava/util/List;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Ljava/lang/Number;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Number;->longValue()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
invoke-virtual {v0, v1, v2, v3, v4}, Lcom/discord/utilities/rest/RestAPI;->convertDMToGroup(JJ)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:goto_0
|
||||
return-object v0
|
||||
.end method
|
|
@ -0,0 +1,107 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ll0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3;->call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ll0/k/b<",
|
||||
"Ljava/lang/Long;",
|
||||
"Lrx/Observable<",
|
||||
"Ljava/lang/Void;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$1;->$channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/lang/Long;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$1;->call(Ljava/lang/Long;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final call(Ljava/lang/Long;)Lrx/Observable;
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Long;",
|
||||
")",
|
||||
"Lrx/Observable<",
|
||||
"Ljava/lang/Void;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$1;->$channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
const-string v2, "channel"
|
||||
|
||||
invoke-static {v1, v2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
const-string v3, "recipientId"
|
||||
|
||||
invoke-static {p1, v3}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
invoke-virtual {v0, v1, v2, v3, v4}, Lcom/discord/utilities/rest/RestAPI;->addChannelRecipient(JJ)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,95 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ll0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2;->call(Ljava/util/List;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ll0/k/b<",
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/Void;",
|
||||
">;",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2$1;->this$0:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/util/List;)Ljava/lang/Long;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/Void;",
|
||||
">;)",
|
||||
"Ljava/lang/Long;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object p1, p0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2$1;->this$0:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2;->$channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
const-string v0, "channel"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/util/List;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2$1;->call(Ljava/util/List;)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,106 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ll0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3;->call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ll0/k/b<",
|
||||
"Ljava/util/List<",
|
||||
"Lrx/Observable<",
|
||||
"Ljava/lang/Void;",
|
||||
">;>;",
|
||||
"Lrx/Observable<",
|
||||
"+",
|
||||
"Ljava/lang/Long;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2;->$channel:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/util/List;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2;->call(Ljava/util/List;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final call(Ljava/util/List;)Lrx/Observable;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/List<",
|
||||
"Lrx/Observable<",
|
||||
"Ljava/lang/Void;",
|
||||
">;>;)",
|
||||
"Lrx/Observable<",
|
||||
"+",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-static {p1}, Lrx/Observable;->y(Ljava/lang/Iterable;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Lrx/Observable;->E(Lrx/Observable;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Lrx/Observable;->b0()Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2$1;
|
||||
|
||||
invoke-direct {v0, p0}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2$1;-><init>(Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Observable;->D(Ll0/k/b;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,141 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ll0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils;->addGroupRecipients(JLjava/util/List;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ll0/k/b<",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
"Lrx/Observable<",
|
||||
"+",
|
||||
"Ljava/lang/Long;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $channelId:J
|
||||
|
||||
.field public final synthetic $recipientIds:Ljava/util/List;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(JLjava/util/List;)V
|
||||
.locals 0
|
||||
|
||||
iput-wide p1, p0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3;->$channelId:J
|
||||
|
||||
iput-object p3, p0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3;->$recipientIds:Ljava/util/List;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3;->call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final call(Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
")",
|
||||
"Lrx/Observable<",
|
||||
"+",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "channel"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
iget-wide v2, p0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3;->$channelId:J
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3;->$recipientIds:Ljava/util/List;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3;->$recipientIds:Ljava/util/List;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-interface {v0, v1, v2}, Ljava/util/List;->subList(II)Ljava/util/List;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:goto_0
|
||||
invoke-static {v0}, Lrx/Observable;->y(Ljava/lang/Iterable;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$1;
|
||||
|
||||
invoke-direct {v1, p1}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$1;-><init>(Lcom/discord/models/domain/ModelChannel;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->D(Ll0/k/b;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lrx/Observable;->b0()Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2;
|
||||
|
||||
invoke-direct {v1, p1}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3$2;-><init>(Lcom/discord/models/domain/ModelChannel;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->U(Ll0/k/b;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,92 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ll0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4;->call(Ljava/lang/Long;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ll0/k/b<",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$1;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$1;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$1;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$1;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Lcom/discord/models/domain/ModelChannel;)Ljava/lang/Boolean;
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$1;->call(Lcom/discord/models/domain/ModelChannel;)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,88 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ll0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4;->call(Ljava/lang/Long;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ll0/k/b<",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$2;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$2;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$2;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$2;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$2;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Lcom/discord/models/domain/ModelChannel;)Ljava/lang/Long;
|
||||
.locals 2
|
||||
|
||||
invoke-static {p1}, Lc0/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$2;->call(Lcom/discord/models/domain/ModelChannel;)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,121 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ll0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils;->addGroupRecipients(JLjava/util/List;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ll0/k/b<",
|
||||
"Ljava/lang/Long;",
|
||||
"Lrx/Observable<",
|
||||
"+",
|
||||
"Ljava/lang/Long;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/lang/Long;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4;->call(Ljava/lang/Long;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final call(Ljava/lang/Long;)Lrx/Observable;
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Long;",
|
||||
")",
|
||||
"Lrx/Observable<",
|
||||
"+",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getChannels()Lcom/discord/stores/StoreChannels;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "createdChannelId"
|
||||
|
||||
invoke-static {p1, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lcom/discord/stores/StoreChannels;->observeChannel(J)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$1;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$1;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Observable;->v(Ll0/k/b;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$2;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4$2;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Observable;->D(Ll0/k/b;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,85 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils;->createGroupWithRecipients(Ljava/util/List;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$1;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$1;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$1;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$1;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.locals 2
|
||||
|
||||
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getChannels()Lcom/discord/stores/StoreChannels;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "channel"
|
||||
|
||||
invoke-static {p1, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/stores/StoreChannels;->onGroupCreated(Lcom/discord/models/domain/ModelChannel;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$1;->call(Lcom/discord/models/domain/ModelChannel;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,90 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ll0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils;->createGroupWithRecipients(Ljava/util/List;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ll0/k/b<",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$2;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$2;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$2;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$2;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$2;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Lcom/discord/models/domain/ModelChannel;)Ljava/lang/Long;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "it"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$2;->call(Lcom/discord/models/domain/ModelChannel;)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,87 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1;->call(Ljava/util/Map;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$1;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$1;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$1;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$1;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getGatewaySocket()Lcom/discord/stores/StoreGatewayConnection;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreGatewayConnection;->getChannelCreateOrUpdate()Lrx/subjects/SerializedSubject;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v0, v0, Lrx/subjects/SerializedSubject;->e:Ll0/n/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Ll0/n/c;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$1;->call(Lcom/discord/models/domain/ModelChannel;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,90 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ll0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1;->call(Ljava/util/Map;)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ll0/k/b<",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$2;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$2;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$2;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$2;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$2;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Lcom/discord/models/domain/ModelChannel;)Ljava/lang/Long;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "it"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$2;->call(Lcom/discord/models/domain/ModelChannel;)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,184 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ll0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils;->createPrivateChannel(J)Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ll0/k/b<",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
">;",
|
||||
"Lrx/Observable<",
|
||||
"+",
|
||||
"Ljava/lang/Long;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $userId:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(J)V
|
||||
.locals 0
|
||||
|
||||
iput-wide p1, p0, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1;->$userId:J
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/util/Map;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1;->call(Ljava/util/Map;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final call(Ljava/util/Map;)Lrx/Observable;
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
">;)",
|
||||
"Lrx/Observable<",
|
||||
"+",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Map;->values()Ljava/util/Collection;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:cond_0
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->getDMRecipient()Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->getDMRecipient()Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {v1}, Lc0/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/models/domain/ModelUser;->getId()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
iget-wide v3, p0, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1;->$userId:J
|
||||
|
||||
cmp-long v5, v1, v3
|
||||
|
||||
if-nez v5, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance v0, Ll0/l/e/j;
|
||||
|
||||
invoke-direct {v0, p1}, Ll0/l/e/j;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
sget-object p1, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance v0, Lcom/discord/restapi/RestAPIParams$CreateChannel;
|
||||
|
||||
iget-wide v1, p0, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1;->$userId:J
|
||||
|
||||
invoke-direct {v0, v1, v2}, Lcom/discord/restapi/RestAPIParams$CreateChannel;-><init>(J)V
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/utilities/rest/RestAPI;->userCreateChannel(Lcom/discord/restapi/RestAPIParams$CreateChannel;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-static {p1, v0, v1, v2}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$1;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$1;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Observable;->s(Lrx/functions/Action1;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$2;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1$2;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Observable;->D(Ll0/k/b;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,98 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$delete$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ll0/k/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils;->delete(Landroid/content/Context;J)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Ll0/k/b<",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$delete$1;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils$delete$1;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/channel/ChannelUtils$delete$1;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/channel/ChannelUtils$delete$1;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$delete$1;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Lcom/discord/models/domain/ModelChannel;)Ljava/lang/Boolean;
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->isPrivate()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$delete$1;->call(Lcom/discord/models/domain/ModelChannel;)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,99 @@
|
|||
.class public final Lcom/discord/utilities/channel/ChannelUtils$delete$2;
|
||||
.super Lc0/n/c/k;
|
||||
.source "ChannelUtils.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/utilities/channel/ChannelUtils;->delete(Landroid/content/Context;J)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lc0/n/c/k;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $weakContext:Ljava/lang/ref/WeakReference;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/ref/WeakReference;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lcom/discord/utilities/channel/ChannelUtils$delete$2;->$weakContext:Ljava/lang/ref/WeakReference;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-direct {p0, p1}, Lc0/n/c/k;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-virtual {p0, p1}, Lcom/discord/utilities/channel/ChannelUtils$delete$2;->invoke(Lcom/discord/models/domain/ModelChannel;)V
|
||||
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lcom/discord/utilities/channel/ChannelUtils$delete$2;->$weakContext:Ljava/lang/ref/WeakReference;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroid/content/Context;
|
||||
|
||||
const-string v1, "channel"
|
||||
|
||||
invoke-static {p1, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->isCategory()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const p1, 0x7f1203ea
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const p1, 0x7f120418
|
||||
|
||||
:goto_0
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/16 v3, 0xc
|
||||
|
||||
invoke-static {v0, p1, v1, v2, v3}, Lf/a/b/p;->j(Landroid/content/Context;IILcom/discord/utilities/view/ToastManager;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -97,7 +97,7 @@
|
|||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v0, v1, v2, v3}, Lcom/discord/stores/StoreChannels;->getForGuild(JLjava/lang/Integer;)Lrx/Observable;
|
||||
invoke-virtual {v0, v1, v2, v3}, Lcom/discord/stores/StoreChannels;->observeChannelsForGuild(JLjava/lang/Integer;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
|
|
@ -3,45 +3,285 @@
|
|||
.source "ChannelUtils.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final DISPLAY_PREFIX_DM:Ljava/lang/String; = "@"
|
||||
.field public static final Companion:Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
.field public static final DISPLAY_PREFIX_GUILD:Ljava/lang/String; = "#"
|
||||
.field public static final INSTANCE$delegate:Lkotlin/Lazy;
|
||||
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
# instance fields
|
||||
.field public final DISPLAY_PREFIX_DM:Ljava/lang/String;
|
||||
|
||||
.field public final DISPLAY_PREFIX_GUILD:Ljava/lang/String;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils;
|
||||
new-instance v0, Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/channel/ChannelUtils;-><init>()V
|
||||
const/4 v1, 0x0
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/channel/ChannelUtils;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils;
|
||||
invoke-direct {v0, v1}, Lcom/discord/utilities/channel/ChannelUtils$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/channel/ChannelUtils;->Companion:Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils$Companion$INSTANCE$2;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$Companion$INSTANCE$2;
|
||||
|
||||
invoke-static {v0}, Lf/h/a/f/f/n/f;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/channel/ChannelUtils;->INSTANCE$delegate:Lkotlin/Lazy;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const-string v0, "@"
|
||||
|
||||
iput-object v0, p0, Lcom/discord/utilities/channel/ChannelUtils;->DISPLAY_PREFIX_DM:Ljava/lang/String;
|
||||
|
||||
const-string v0, "#"
|
||||
|
||||
iput-object v0, p0, Lcom/discord/utilities/channel/ChannelUtils;->DISPLAY_PREFIX_GUILD:Ljava/lang/String;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final getDisplayName(Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;)Ljava/lang/String;
|
||||
.locals 3
|
||||
.method public static final synthetic access$getINSTANCE$cp()Lkotlin/Lazy;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils;->INSTANCE$delegate:Lkotlin/Lazy;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method private final addGroupRecipients(JLjava/util/List;)Lrx/Observable;
|
||||
.locals 8
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(J",
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/Long;",
|
||||
">;)",
|
||||
"Lrx/Observable<",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getChannels()Lcom/discord/stores/StoreChannels;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Lcom/discord/stores/StoreChannels;->observePrivateChannel(J)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget-object v1, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$1;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$1;
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->v(Ll0/k/b;)Lrx/Observable;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-string v0, "StoreStream\n .get\u2026nnel -> channel != null }"
|
||||
|
||||
invoke-static {v2, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v6, 0x3
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
invoke-static/range {v2 .. v7}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$2;
|
||||
|
||||
invoke-direct {v1, p3}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$2;-><init>(Ljava/util/List;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->U(Ll0/k/b;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3;
|
||||
|
||||
invoke-direct {v1, p1, p2, p3}, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$3;-><init>(JLjava/util/List;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->U(Ll0/k/b;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object p2, Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$addGroupRecipients$4;
|
||||
|
||||
invoke-virtual {p1, p2}, Lrx/Observable;->U(Ll0/k/b;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string p1, "StoreStream\n .get\u2026dChannel!!.id }\n }"
|
||||
|
||||
invoke-static {v0, p1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-wide/16 v1, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x3
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method private final createGroupWithRecipients(Ljava/util/List;)Lrx/Observable;
|
||||
.locals 7
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/Long;",
|
||||
">;)",
|
||||
"Lrx/Observable<",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-interface {p1}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
if-ne v0, v2, :cond_0
|
||||
|
||||
invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Ljava/lang/Number;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Number;->longValue()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-virtual {p0, v0, v1}, Lcom/discord/utilities/channel/ChannelUtils;->createPrivateChannel(J)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v3, Lcom/discord/restapi/RestAPIParams$CreateChannel;
|
||||
|
||||
invoke-direct {v3, p1}, Lcom/discord/restapi/RestAPIParams$CreateChannel;-><init>(Ljava/util/List;)V
|
||||
|
||||
invoke-virtual {v0, v3}, Lcom/discord/utilities/rest/RestAPI;->userCreateChannel(Lcom/discord/restapi/RestAPIParams$CreateChannel;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x2
|
||||
invoke-static {p1, v1, v2, v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
const/4 v2, 0x0
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p0, p1, v0, v1, v2}, Lcom/discord/utilities/channel/ChannelUtils;->getDisplayName$default(Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;ZILjava/lang/Object;)Ljava/lang/String;
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$1;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$1;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Observable;->s(Lrx/functions/Action1;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-string p1, "RestAPI\n .api\n \u2026ated(channel)\n }"
|
||||
|
||||
invoke-static {v1, p1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-wide/16 v2, 0xbb8
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x2
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$2;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$createGroupWithRecipients$2;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Observable;->D(Ll0/k/b;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "RestAPI\n .api\n \u2026\n .map { it.id }"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
:goto_0
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public static final get()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils;->Companion:Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->get()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static final getDisplayName(Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;)Ljava/lang/String;
|
||||
.locals 6
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils;->Companion:Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x2
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
move-object v1, p0
|
||||
|
||||
move-object v2, p1
|
||||
|
||||
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->getDisplayName$default(Lcom/discord/utilities/channel/ChannelUtils$Companion;Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;ZILjava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
|
@ -49,44 +289,11 @@
|
|||
.end method
|
||||
|
||||
.method public static final getDisplayName(Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;Z)Ljava/lang/String;
|
||||
.locals 2
|
||||
.locals 1
|
||||
|
||||
const-string v0, "$this$getDisplayName"
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils;->Companion:Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
invoke-static {p0, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelChannel;->getName()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelChannel;->getType()I
|
||||
|
||||
move-result p0
|
||||
|
||||
invoke-virtual {v0, p1, v1, p0, p2}, Lcom/discord/utilities/channel/ChannelUtils;->getDisplayName(Landroid/content/Context;Ljava/lang/String;IZ)Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static synthetic getDisplayName$default(Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;ZILjava/lang/Object;)Ljava/lang/String;
|
||||
.locals 0
|
||||
|
||||
and-int/lit8 p3, p3, 0x2
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
const/4 p2, 0x1
|
||||
|
||||
:cond_0
|
||||
invoke-static {p0, p1, p2}, Lcom/discord/utilities/channel/ChannelUtils;->getDisplayName(Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;Z)Ljava/lang/String;
|
||||
invoke-virtual {v0, p0, p1, p2}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->getDisplayName(Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;Z)Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
|
@ -110,128 +317,17 @@
|
|||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final getNickOrUsernames(Ljava/lang/Iterable;Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Iterable<",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelUser;",
|
||||
">;",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelGuildMember$Computed;",
|
||||
">;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelChannel$RecipientNick;",
|
||||
">;)",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/String;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string/jumbo v0, "users"
|
||||
|
||||
invoke-static {p0, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "channelMembers"
|
||||
|
||||
invoke-static {p2, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "nicks"
|
||||
|
||||
invoke-static {p3, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/16 v0, 0xa
|
||||
|
||||
invoke-static {p0, v0}, Lf/h/a/f/f/n/f;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-static {v0}, Lf/h/a/f/f/n/f;->mapCapacity(I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/16 v1, 0x10
|
||||
|
||||
if-ge v0, v1, :cond_0
|
||||
|
||||
const/16 v0, 0x10
|
||||
|
||||
:cond_0
|
||||
new-instance v1, Ljava/util/LinkedHashMap;
|
||||
|
||||
invoke-direct {v1, v0}, Ljava/util/LinkedHashMap;-><init>(I)V
|
||||
|
||||
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
:goto_0
|
||||
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/models/domain/ModelUser;->getId()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-static {v0, p2}, Lf/e/c/a/a;->a0(Lcom/discord/models/domain/ModelUser;Ljava/util/Map;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Lcom/discord/models/domain/ModelGuildMember$Computed;
|
||||
|
||||
invoke-virtual {v0, v3, p1, p3}, Lcom/discord/models/domain/ModelUser;->getNickOrUsername(Lcom/discord/models/domain/ModelGuildMember$Computed;Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v3, Lkotlin/Pair;
|
||||
|
||||
invoke-direct {v3, v2, v0}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
iget-object v0, v3, Lkotlin/Pair;->first:Ljava/lang/Object;
|
||||
|
||||
iget-object v2, v3, Lkotlin/Pair;->second:Ljava/lang/Object;
|
||||
|
||||
invoke-interface {v1, v0, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public static getNickOrUsernames$default(Ljava/lang/Iterable;Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;Ljava/util/Map;ILjava/lang/Object;)Ljava/util/Map;
|
||||
.method public static getNickOrUsernames$default(Lcom/discord/utilities/channel/ChannelUtils;Ljava/lang/Iterable;Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;Ljava/util/Map;ILjava/lang/Object;)Ljava/util/Map;
|
||||
.locals 0
|
||||
|
||||
and-int/lit8 p4, p4, 0x8
|
||||
and-int/lit8 p5, p5, 0x8
|
||||
|
||||
if-eqz p4, :cond_0
|
||||
if-eqz p5, :cond_0
|
||||
|
||||
sget-object p3, Lc0/i/m;->d:Lc0/i/m;
|
||||
sget-object p4, Lc0/i/m;->d:Lc0/i/m;
|
||||
|
||||
:cond_0
|
||||
invoke-static {p0, p1, p2, p3}, Lcom/discord/utilities/channel/ChannelUtils;->getNickOrUsernames(Ljava/lang/Iterable;Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
||||
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/discord/utilities/channel/ChannelUtils;->getNickOrUsernames(Ljava/lang/Iterable;Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
|
@ -240,6 +336,113 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final createGroupOrAddGroupRecipients(Ljava/lang/Long;Ljava/lang/Iterable;)Lrx/Observable;
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Iterable<",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelUser;",
|
||||
">;)",
|
||||
"Lrx/Observable<",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "recipients"
|
||||
|
||||
invoke-static {p2, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Ljava/util/ArrayList;
|
||||
|
||||
const/16 v1, 0xa
|
||||
|
||||
invoke-static {p2, v1}, Lf/h/a/f/f/n/f;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
|
||||
|
||||
invoke-interface {p2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
:goto_0
|
||||
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/models/domain/ModelUser;->getId()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-interface {v0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0, p1, v0}, Lcom/discord/utilities/channel/ChannelUtils;->createGroupOrAddGroupRecipients(Ljava/lang/Long;Ljava/util/List;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final createGroupOrAddGroupRecipients(Ljava/lang/Long;Ljava/util/List;)Lrx/Observable;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/Long;",
|
||||
">;)",
|
||||
"Lrx/Observable<",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "recipientIds"
|
||||
|
||||
invoke-static {p2, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
invoke-direct {p0, v0, v1, p2}, Lcom/discord/utilities/channel/ChannelUtils;->addGroupRecipients(JLjava/util/List;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-direct {p0, p2}, Lcom/discord/utilities/channel/ChannelUtils;->createGroupWithRecipients(Ljava/util/List;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_0
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final createMostRecentChannelComparator(Ljava/util/Map;)Ljava/util/Comparator;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -266,6 +469,116 @@
|
|||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final createPrivateChannel(J)Lrx/Observable;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(J)",
|
||||
"Lrx/Observable<",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getChannels()Lcom/discord/stores/StoreChannels;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreChannels;->observePrivateChannels()Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->V(I)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1;
|
||||
|
||||
invoke-direct {v1, p1, p2}, Lcom/discord/utilities/channel/ChannelUtils$createPrivateChannel$1;-><init>(J)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->U(Ll0/k/b;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "StoreStream\n .get\u2026 .map { it.id }\n }"
|
||||
|
||||
invoke-static {p1, p2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final delete(Landroid/content/Context;J)V
|
||||
.locals 10
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Ljava/lang/ref/WeakReference;
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
sget-object v1, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1, p2, p3}, Lcom/discord/utilities/rest/RestAPI;->deleteChannel(J)Lrx/Observable;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const/4 p3, 0x0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-static {p2, p3, v1, v2}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
sget-object p3, Lcom/discord/utilities/channel/ChannelUtils$delete$1;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils$delete$1;
|
||||
|
||||
invoke-virtual {p2, p3}, Lrx/Observable;->v(Ll0/k/b;)Lrx/Observable;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "RestAPI\n .api\n \u2026l && !channel.isPrivate }"
|
||||
|
||||
invoke-static {p2, p3}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p2}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui(Lrx/Observable;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
new-instance v5, Lcom/discord/utilities/channel/ChannelUtils$delete$2;
|
||||
|
||||
invoke-direct {v5, v0}, Lcom/discord/utilities/channel/ChannelUtils$delete$2;-><init>(Ljava/lang/ref/WeakReference;)V
|
||||
|
||||
const-string v3, "REST: delete channel"
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const/16 v8, 0x34
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
move-object v2, p1
|
||||
|
||||
invoke-static/range {v1 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final getDefaultChannel(J)Lrx/Observable;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -360,7 +673,7 @@
|
|||
:cond_0
|
||||
if-eqz v0, :cond_6
|
||||
|
||||
const p2, 0x7f1217c8
|
||||
const p2, 0x7f1217d1
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -391,9 +704,13 @@
|
|||
:cond_3
|
||||
if-eqz p4, :cond_6
|
||||
|
||||
const-string p1, "@"
|
||||
new-instance p1, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-static {p1, p2}, Lf/e/c/a/a;->q(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object p3, p0, Lcom/discord/utilities/channel/ChannelUtils;->DISPLAY_PREFIX_DM:Ljava/lang/String;
|
||||
|
||||
invoke-static {p1, p3, p2}, Lf/e/c/a/a;->w(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
|
@ -411,9 +728,13 @@
|
|||
:cond_5
|
||||
if-eqz p4, :cond_6
|
||||
|
||||
const-string p1, "#"
|
||||
new-instance p1, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-static {p1, p2}, Lf/e/c/a/a;->q(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object p3, p0, Lcom/discord/utilities/channel/ChannelUtils;->DISPLAY_PREFIX_GUILD:Ljava/lang/String;
|
||||
|
||||
invoke-static {p1, p3, p2}, Lf/e/c/a/a;->w(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
|
@ -422,6 +743,117 @@
|
|||
return-object p2
|
||||
.end method
|
||||
|
||||
.method public final getNickOrUsernames(Ljava/lang/Iterable;Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Iterable<",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelUser;",
|
||||
">;",
|
||||
"Lcom/discord/models/domain/ModelChannel;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelGuildMember$Computed;",
|
||||
">;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"+",
|
||||
"Lcom/discord/models/domain/ModelChannel$RecipientNick;",
|
||||
">;)",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/String;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string/jumbo v0, "users"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "channelMembers"
|
||||
|
||||
invoke-static {p3, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "nicks"
|
||||
|
||||
invoke-static {p4, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/16 v0, 0xa
|
||||
|
||||
invoke-static {p1, v0}, Lf/h/a/f/f/n/f;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-static {v0}, Lf/h/a/f/f/n/f;->mapCapacity(I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/16 v1, 0x10
|
||||
|
||||
if-ge v0, v1, :cond_0
|
||||
|
||||
const/16 v0, 0x10
|
||||
|
||||
:cond_0
|
||||
new-instance v1, Ljava/util/LinkedHashMap;
|
||||
|
||||
invoke-direct {v1, v0}, Ljava/util/LinkedHashMap;-><init>(I)V
|
||||
|
||||
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_0
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/models/domain/ModelUser;->getId()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-static {v0, p3}, Lf/e/c/a/a;->a0(Lcom/discord/models/domain/ModelUser;Ljava/util/Map;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Lcom/discord/models/domain/ModelGuildMember$Computed;
|
||||
|
||||
invoke-virtual {v0, v3, p2, p4}, Lcom/discord/models/domain/ModelUser;->getNickOrUsername(Lcom/discord/models/domain/ModelGuildMember$Computed;Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v3, Lkotlin/Pair;
|
||||
|
||||
invoke-direct {v3, v2, v0}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
iget-object v0, v3, Lkotlin/Pair;->first:Ljava/lang/Object;
|
||||
|
||||
iget-object v2, v3, Lkotlin/Pair;->second:Ljava/lang/Object;
|
||||
|
||||
invoke-interface {v1, v0, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public final getSortedCategories(Ljava/util/Map;)Ljava/util/Map;
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
|
@ -525,3 +957,37 @@
|
|||
:cond_2
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public final removeGroupRecipient(JJ)Lrx/Observable;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(JJ)",
|
||||
"Lrx/Observable<",
|
||||
"Ljava/lang/Void;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3, p4}, Lcom/discord/utilities/rest/RestAPI;->removeChannelRecipient(JJ)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 p2, 0x0
|
||||
|
||||
const/4 p3, 0x1
|
||||
|
||||
const/4 p4, 0x0
|
||||
|
||||
invoke-static {p1, p2, p3, p4}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -619,7 +619,11 @@
|
|||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils;
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils;->Companion:Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->get()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/utilities/channel/ChannelUtils;->getSortedCategories(Ljava/util/Map;)Ljava/util/Map;
|
||||
|
||||
|
|
|
@ -91,6 +91,10 @@
|
|||
|
||||
move-result-object p0
|
||||
|
||||
const-string p1, "obtainStyledAttributes(intArrayOf(attrResId))"
|
||||
|
||||
invoke-static {p0, p1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0, v1, p2}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
||||
|
||||
move-result p1
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/dsti/StickerUtils;
|
||||
|
||||
.field public static final PREMIUM_TIER_2_STICKERS_DISCOUNT_PERCENTAGE:I = 0x21
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
|
@ -325,6 +327,187 @@
|
|||
return v0
|
||||
.end method
|
||||
|
||||
.method public final getLimitedTimeLeftString(Landroid/content/res/Resources;Lcom/discord/models/sticker/dto/ModelStickerPackStoreListing;)Ljava/lang/CharSequence;
|
||||
.locals 9
|
||||
|
||||
const-string v0, "resources"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
invoke-virtual {p2}, Lcom/discord/models/sticker/dto/ModelStickerPackStoreListing;->getUnpublishedAt()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
const-string v1, ""
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
return-object v1
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p2}, Lcom/discord/models/sticker/dto/ModelStickerPackStoreListing;->getUnpublishedAtDate()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
invoke-static {}, Lcom/discord/utilities/time/ClockFactory;->get()Lcom/discord/utilities/time/Clock;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-interface {p2}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J
|
||||
|
||||
move-result-wide v4
|
||||
|
||||
sub-long/2addr v2, v4
|
||||
|
||||
const-wide/16 v4, 0x0
|
||||
|
||||
cmp-long p2, v2, v4
|
||||
|
||||
if-gez p2, :cond_2
|
||||
|
||||
return-object v1
|
||||
|
||||
:cond_2
|
||||
sget-object p2, Lcom/discord/utilities/time/TimeUtils;->INSTANCE:Lcom/discord/utilities/time/TimeUtils;
|
||||
|
||||
invoke-virtual {p2, v2, v3}, Lcom/discord/utilities/time/TimeUtils;->getDaysFromMillis(J)I
|
||||
|
||||
move-result p2
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-lez p2, :cond_3
|
||||
|
||||
const v2, 0x7f100030
|
||||
|
||||
new-array v0, v0, [Ljava/lang/Object;
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
aput-object v3, v0, v1
|
||||
|
||||
invoke-virtual {p1, v2, p2, v0}, Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "resources.getQuantityStr\u2026days, daysAway, daysAway)"
|
||||
|
||||
invoke-static {p1, p2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_3
|
||||
sget-object p2, Lcom/discord/utilities/time/TimeUtils;->INSTANCE:Lcom/discord/utilities/time/TimeUtils;
|
||||
|
||||
invoke-virtual {p2, v2, v3}, Lcom/discord/utilities/time/TimeUtils;->getHoursFromMillis(J)I
|
||||
|
||||
move-result p2
|
||||
|
||||
int-to-long v4, p2
|
||||
|
||||
const-wide/32 v6, 0x36ee80
|
||||
|
||||
mul-long v4, v4, v6
|
||||
|
||||
sub-long/2addr v2, v4
|
||||
|
||||
sget-object v4, Lcom/discord/utilities/time/TimeUtils;->INSTANCE:Lcom/discord/utilities/time/TimeUtils;
|
||||
|
||||
invoke-virtual {v4, v2, v3}, Lcom/discord/utilities/time/TimeUtils;->getMinutesFromMillis(J)I
|
||||
|
||||
move-result v4
|
||||
|
||||
int-to-long v5, v4
|
||||
|
||||
const-wide/32 v7, 0xea60
|
||||
|
||||
mul-long v5, v5, v7
|
||||
|
||||
sub-long/2addr v2, v5
|
||||
|
||||
sget-object v5, Lcom/discord/utilities/time/TimeUtils;->INSTANCE:Lcom/discord/utilities/time/TimeUtils;
|
||||
|
||||
invoke-virtual {v5, v2, v3}, Lcom/discord/utilities/time/TimeUtils;->getSecondsFromMillis(J)I
|
||||
|
||||
move-result v2
|
||||
|
||||
const v3, 0x7f12061c
|
||||
|
||||
const/4 v5, 0x3
|
||||
|
||||
new-array v5, v5, [Ljava/lang/Object;
|
||||
|
||||
new-array v6, v0, [Ljava/lang/Object;
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
aput-object p2, v6, v1
|
||||
|
||||
const-string p2, "%02d"
|
||||
|
||||
const-string v7, "java.lang.String.format(format, *args)"
|
||||
|
||||
invoke-static {v6, v0, p2, v7}, Lf/e/c/a/a;->B([Ljava/lang/Object;ILjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
aput-object v6, v5, v1
|
||||
|
||||
new-array v6, v0, [Ljava/lang/Object;
|
||||
|
||||
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
aput-object v4, v6, v1
|
||||
|
||||
invoke-static {v6, v0, p2, v7}, Lf/e/c/a/a;->B([Ljava/lang/Object;ILjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
aput-object v4, v5, v0
|
||||
|
||||
const/4 v4, 0x2
|
||||
|
||||
new-array v6, v0, [Ljava/lang/Object;
|
||||
|
||||
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
aput-object v2, v6, v1
|
||||
|
||||
invoke-static {v6, v0, p2, v7}, Lf/e/c/a/a;->B([Ljava/lang/Object;ILjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
aput-object p2, v5, v4
|
||||
|
||||
invoke-virtual {p1, v3, v5}, Landroid/content/res/Resources;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "resources.getString(\n \u2026%02d\", secondsAway)\n )"
|
||||
|
||||
invoke-static {p1, p2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final getStickerPackPrice(Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;)I
|
||||
.locals 1
|
||||
|
||||
|
|
|
@ -724,7 +724,7 @@
|
|||
packed-switch v0, :pswitch_data_0
|
||||
|
||||
:pswitch_0
|
||||
const v0, 0x7f121037
|
||||
const v0, 0x7f12103a
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -750,7 +750,7 @@
|
|||
return-object p1
|
||||
|
||||
:pswitch_2
|
||||
const v0, 0x7f121036
|
||||
const v0, 0x7f121039
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -763,7 +763,7 @@
|
|||
return-object p1
|
||||
|
||||
:pswitch_3
|
||||
const v0, 0x7f121033
|
||||
const v0, 0x7f121036
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -776,7 +776,7 @@
|
|||
return-object p1
|
||||
|
||||
:pswitch_4
|
||||
const v0, 0x7f12172d
|
||||
const v0, 0x7f121736
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -789,7 +789,7 @@
|
|||
return-object p1
|
||||
|
||||
:pswitch_5
|
||||
const v0, 0x7f121035
|
||||
const v0, 0x7f121038 # 1.941515E38f
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -802,7 +802,7 @@
|
|||
return-object p1
|
||||
|
||||
:pswitch_6
|
||||
const v0, 0x7f121031
|
||||
const v0, 0x7f121034
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -817,7 +817,7 @@
|
|||
:pswitch_7
|
||||
iget-object v0, p0, Lcom/discord/utilities/error/Error;->response:Lcom/discord/utilities/error/Error$Response;
|
||||
|
||||
const v1, 0x7f12102e
|
||||
const v1, 0x7f121031
|
||||
|
||||
invoke-static {v0, p1, v1}, Lcom/discord/utilities/error/Error$Response;->access$100(Lcom/discord/utilities/error/Error$Response;Landroid/content/Context;I)Ljava/lang/String;
|
||||
|
||||
|
@ -832,7 +832,7 @@
|
|||
:pswitch_8
|
||||
iget-object v0, p0, Lcom/discord/utilities/error/Error;->response:Lcom/discord/utilities/error/Error$Response;
|
||||
|
||||
const v1, 0x7f121032
|
||||
const v1, 0x7f121035
|
||||
|
||||
invoke-static {v0, p1, v1}, Lcom/discord/utilities/error/Error$Response;->access$100(Lcom/discord/utilities/error/Error$Response;Landroid/content/Context;I)Ljava/lang/String;
|
||||
|
||||
|
@ -845,7 +845,7 @@
|
|||
return-object p1
|
||||
|
||||
:pswitch_9
|
||||
const v0, 0x7f12141d
|
||||
const v0, 0x7f121421
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -858,7 +858,7 @@
|
|||
return-object p1
|
||||
|
||||
:pswitch_a
|
||||
const v0, 0x7f121030
|
||||
const v0, 0x7f121033
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -871,7 +871,7 @@
|
|||
return-object p1
|
||||
|
||||
:pswitch_b
|
||||
const v0, 0x7f12102f
|
||||
const v0, 0x7f121032
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -886,7 +886,7 @@
|
|||
:pswitch_c
|
||||
iget-object v0, p0, Lcom/discord/utilities/error/Error;->response:Lcom/discord/utilities/error/Error$Response;
|
||||
|
||||
const v1, 0x7f121034
|
||||
const v1, 0x7f121037
|
||||
|
||||
invoke-static {v0, p1, v1}, Lcom/discord/utilities/error/Error$Response;->access$100(Lcom/discord/utilities/error/Error$Response;Landroid/content/Context;I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -493,10 +493,6 @@
|
|||
|
||||
invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v4, "StringBuilder()\n \u2026: $notificationDataType\")"
|
||||
|
||||
invoke-static {v5, v4}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
sget-object v4, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
|
||||
|
||||
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
|
|
@ -144,6 +144,10 @@
|
|||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
const-string/jumbo v0, "this?.getStringExtra(key) ?: return"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||||
|
||||
move-result v0
|
||||
|
|
|
@ -1578,7 +1578,7 @@
|
|||
|
||||
if-eqz v0, :cond_a
|
||||
|
||||
const v0, 0x7f121180
|
||||
const v0, 0x7f121183
|
||||
|
||||
new-array v1, v6, [Ljava/lang/Object;
|
||||
|
||||
|
@ -1623,7 +1623,7 @@
|
|||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const v7, 0x7f121614
|
||||
const v7, 0x7f121618
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
|
@ -1642,7 +1642,7 @@
|
|||
|
||||
if-ne v0, v6, :cond_1
|
||||
|
||||
const v0, 0x7f1210e4
|
||||
const v0, 0x7f1210e7
|
||||
|
||||
new-array v1, v3, [Ljava/lang/Object;
|
||||
|
||||
|
@ -1720,7 +1720,7 @@
|
|||
|
||||
if-ne v0, v6, :cond_5
|
||||
|
||||
const v0, 0x7f1210e9
|
||||
const v0, 0x7f1210ec
|
||||
|
||||
new-array v1, v3, [Ljava/lang/Object;
|
||||
|
||||
|
@ -1786,7 +1786,7 @@
|
|||
|
||||
if-nez v0, :cond_a
|
||||
|
||||
const v0, 0x7f1210e2
|
||||
const v0, 0x7f1210e5
|
||||
|
||||
new-array v1, v3, [Ljava/lang/Object;
|
||||
|
||||
|
@ -1845,7 +1845,7 @@
|
|||
goto :goto_1
|
||||
|
||||
:cond_8
|
||||
const v0, 0x7f1210ed
|
||||
const v0, 0x7f1210f0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -1854,7 +1854,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_9
|
||||
const v0, 0x7f1210e0
|
||||
const v0, 0x7f1210e3
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -1958,7 +1958,7 @@
|
|||
.end method
|
||||
|
||||
.method public final getConversationTitle(Landroid/content/Context;)Ljava/lang/CharSequence;
|
||||
.locals 10
|
||||
.locals 9
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
|
@ -1987,34 +1987,40 @@
|
|||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
iget v6, p0, Lcom/discord/utilities/fcm/NotificationData;->channelType:I
|
||||
iget v0, p0, Lcom/discord/utilities/fcm/NotificationData;->channelType:I
|
||||
|
||||
if-eqz v6, :cond_2
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
const/4 v0, 0x3
|
||||
const/4 v1, 0x3
|
||||
|
||||
if-eq v6, v0, :cond_1
|
||||
if-eq v0, v1, :cond_1
|
||||
|
||||
const/4 v0, 0x5
|
||||
const/4 v1, 0x5
|
||||
|
||||
if-eq v6, v0, :cond_2
|
||||
if-eq v0, v1, :cond_2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
sget-object v3, Lcom/discord/utilities/channel/ChannelUtils;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils;
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils;->Companion:Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
iget-object v5, p0, Lcom/discord/utilities/fcm/NotificationData;->channelName:Ljava/lang/String;
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->get()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v3, p0, Lcom/discord/utilities/fcm/NotificationData;->channelName:Ljava/lang/String;
|
||||
|
||||
iget v4, p0, Lcom/discord/utilities/fcm/NotificationData;->channelType:I
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/16 v6, 0x8
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const/16 v8, 0x8
|
||||
move-object v2, p1
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
move-object v4, p1
|
||||
|
||||
invoke-static/range {v3 .. v9}, Lcom/discord/utilities/channel/ChannelUtils;->getDisplayName$default(Lcom/discord/utilities/channel/ChannelUtils;Landroid/content/Context;Ljava/lang/String;IZILjava/lang/Object;)Ljava/lang/String;
|
||||
invoke-static/range {v1 .. v7}, Lcom/discord/utilities/channel/ChannelUtils;->getDisplayName$default(Lcom/discord/utilities/channel/ChannelUtils;Landroid/content/Context;Ljava/lang/String;IZILjava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
|
@ -2033,7 +2039,11 @@
|
|||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
sget-object v2, Lcom/discord/utilities/channel/ChannelUtils;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils;
|
||||
sget-object v1, Lcom/discord/utilities/channel/ChannelUtils;->Companion:Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->get()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-direct {p0}, Lcom/discord/utilities/fcm/NotificationData;->getChannelNameEscaped()Ljava/lang/String;
|
||||
|
||||
|
@ -2162,7 +2172,7 @@
|
|||
|
||||
invoke-direct {p2, v0}, Landroidx/core/app/RemoteInput$Builder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
const v0, 0x7f12156c
|
||||
const v0, 0x7f121570
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -2210,7 +2220,7 @@
|
|||
|
||||
const v3, 0x7f0803f8
|
||||
|
||||
const v4, 0x7f1210ee
|
||||
const v4, 0x7f1210f1
|
||||
|
||||
invoke-virtual {p1, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -3003,7 +3013,11 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
invoke-virtual {p1}, Lcom/discord/utilities/media/AppSound;->getResId()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
|
@ -3445,7 +3459,7 @@
|
|||
|
||||
const v0, 0x7f080397
|
||||
|
||||
const v1, 0x7f1210eb
|
||||
const v1, 0x7f1210ee
|
||||
|
||||
invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -3467,7 +3481,7 @@
|
|||
.end method
|
||||
|
||||
.method public final getTitle(Landroid/content/Context;)Ljava/lang/CharSequence;
|
||||
.locals 11
|
||||
.locals 9
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
|
@ -3525,36 +3539,42 @@
|
|||
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
iget v7, p0, Lcom/discord/utilities/fcm/NotificationData;->channelType:I
|
||||
iget v0, p0, Lcom/discord/utilities/fcm/NotificationData;->channelType:I
|
||||
|
||||
if-eqz v7, :cond_3
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
if-eq v7, v2, :cond_2
|
||||
if-eq v0, v2, :cond_2
|
||||
|
||||
const/4 v0, 0x3
|
||||
const/4 v1, 0x3
|
||||
|
||||
if-eq v7, v0, :cond_1
|
||||
if-eq v0, v1, :cond_1
|
||||
|
||||
const/4 v0, 0x5
|
||||
const/4 v1, 0x5
|
||||
|
||||
if-eq v7, v0, :cond_3
|
||||
if-eq v0, v1, :cond_3
|
||||
|
||||
goto/16 :goto_1
|
||||
|
||||
:cond_1
|
||||
sget-object v4, Lcom/discord/utilities/channel/ChannelUtils;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils;
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils;->Companion:Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
iget-object v6, p0, Lcom/discord/utilities/fcm/NotificationData;->channelName:Ljava/lang/String;
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->get()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
const/4 v8, 0x0
|
||||
move-result-object v1
|
||||
|
||||
const/16 v9, 0x8
|
||||
iget-object v3, p0, Lcom/discord/utilities/fcm/NotificationData;->channelName:Ljava/lang/String;
|
||||
|
||||
const/4 v10, 0x0
|
||||
iget v4, p0, Lcom/discord/utilities/fcm/NotificationData;->channelType:I
|
||||
|
||||
move-object v5, p1
|
||||
const/4 v5, 0x0
|
||||
|
||||
invoke-static/range {v4 .. v10}, Lcom/discord/utilities/channel/ChannelUtils;->getDisplayName$default(Lcom/discord/utilities/channel/ChannelUtils;Landroid/content/Context;Ljava/lang/String;IZILjava/lang/Object;)Ljava/lang/String;
|
||||
const/16 v6, 0x8
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
move-object v2, p1
|
||||
|
||||
invoke-static/range {v1 .. v7}, Lcom/discord/utilities/channel/ChannelUtils;->getDisplayName$default(Lcom/discord/utilities/channel/ChannelUtils;Landroid/content/Context;Ljava/lang/String;IZILjava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
|
@ -3578,7 +3598,11 @@
|
|||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
sget-object v2, Lcom/discord/utilities/channel/ChannelUtils;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils;
|
||||
sget-object v1, Lcom/discord/utilities/channel/ChannelUtils;->Companion:Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->get()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-direct {p0}, Lcom/discord/utilities/fcm/NotificationData;->getChannelNameEscaped()Ljava/lang/String;
|
||||
|
||||
|
@ -3627,7 +3651,7 @@
|
|||
|
||||
if-nez v0, :cond_4
|
||||
|
||||
const v0, 0x7f1210f3
|
||||
const v0, 0x7f1210f6
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -1178,12 +1178,12 @@
|
|||
|
||||
if-eqz p5, :cond_0
|
||||
|
||||
const v3, 0x7f1210f0
|
||||
const v3, 0x7f1210f3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const v3, 0x7f1210ef
|
||||
const v3, 0x7f1210f2
|
||||
|
||||
:goto_0
|
||||
sget-object v4, Lcom/discord/utilities/fcm/NotificationActions;->Companion:Lcom/discord/utilities/fcm/NotificationActions$Companion;
|
||||
|
@ -1309,7 +1309,7 @@
|
|||
|
||||
new-instance v2, Landroid/app/NotificationChannel;
|
||||
|
||||
const v3, 0x7f12192b
|
||||
const v3, 0x7f121934
|
||||
|
||||
invoke-virtual {p1, v3}, Landroid/app/Application;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -1323,7 +1323,7 @@
|
|||
|
||||
new-instance v3, Landroid/app/NotificationChannel;
|
||||
|
||||
const v5, 0x7f120fc0
|
||||
const v5, 0x7f120fc3
|
||||
|
||||
invoke-virtual {p1, v5}, Landroid/app/Application;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -1475,7 +1475,11 @@
|
|||
|
||||
move-result-object v5
|
||||
|
||||
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
invoke-virtual {v5}, Lcom/discord/utilities/media/AppSound;->getResId()I
|
||||
|
||||
move-result v5
|
||||
|
||||
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -3178,7 +3178,7 @@
|
|||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const p1, 0x7f080483
|
||||
const p1, 0x7f080484
|
||||
|
||||
goto/16 :goto_3
|
||||
|
||||
|
@ -3191,7 +3191,7 @@
|
|||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const p1, 0x7f080491
|
||||
const p1, 0x7f080492
|
||||
|
||||
goto/16 :goto_3
|
||||
|
||||
|
@ -3204,7 +3204,7 @@
|
|||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const p1, 0x7f080494
|
||||
const p1, 0x7f080495
|
||||
|
||||
goto/16 :goto_3
|
||||
|
||||
|
@ -3239,7 +3239,7 @@
|
|||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const p1, 0x7f08048d
|
||||
const p1, 0x7f08048e
|
||||
|
||||
goto/16 :goto_3
|
||||
|
||||
|
@ -3252,7 +3252,7 @@
|
|||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const p1, 0x7f08047f
|
||||
const p1, 0x7f080480
|
||||
|
||||
goto :goto_3
|
||||
|
||||
|
@ -3265,7 +3265,7 @@
|
|||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const p1, 0x7f080499
|
||||
const p1, 0x7f08049a
|
||||
|
||||
goto :goto_3
|
||||
|
||||
|
@ -3278,7 +3278,7 @@
|
|||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const p1, 0x7f08048b
|
||||
const p1, 0x7f08048c
|
||||
|
||||
goto :goto_3
|
||||
|
||||
|
@ -3291,7 +3291,7 @@
|
|||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const p1, 0x7f080497
|
||||
const p1, 0x7f080498
|
||||
|
||||
goto :goto_3
|
||||
|
||||
|
@ -3326,7 +3326,7 @@
|
|||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const p1, 0x7f08049a
|
||||
const p1, 0x7f08049b
|
||||
|
||||
goto :goto_3
|
||||
|
||||
|
@ -3340,7 +3340,7 @@
|
|||
if-eqz p1, :cond_1
|
||||
|
||||
:goto_0
|
||||
const p1, 0x7f080486
|
||||
const p1, 0x7f080487
|
||||
|
||||
goto :goto_3
|
||||
|
||||
|
@ -3354,13 +3354,13 @@
|
|||
if-eqz p1, :cond_1
|
||||
|
||||
:goto_1
|
||||
const p1, 0x7f080488
|
||||
const p1, 0x7f080489
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_1
|
||||
:goto_2
|
||||
const p1, 0x7f08049f
|
||||
const p1, 0x7f0804a0
|
||||
|
||||
:goto_3
|
||||
return p1
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const v3, 0x7f1217b1
|
||||
const v3, 0x7f1217ba
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
|
|
|
@ -403,6 +403,10 @@
|
|||
|
||||
if-eqz p1, :cond_5
|
||||
|
||||
const-string v0, "intent.getStringExtra(In\u2026A_VOICE_ACTION) ?: return"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
const-string p2, "http://schema.org/CompletedActionStatus"
|
||||
|
@ -594,7 +598,7 @@
|
|||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
const p2, 0x7f1215b6
|
||||
const p2, 0x7f1215ba
|
||||
|
||||
invoke-virtual {p0, p2}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -1654,7 +1654,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1, v2, v3}, Lcom/discord/stores/StoreChannels;->get(J)Lrx/Observable;
|
||||
invoke-virtual {v1, v2, v3}, Lcom/discord/stores/StoreChannels;->observeChannel(J)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
|
|
|
@ -172,7 +172,7 @@
|
|||
|
||||
invoke-static {v2, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v0, 0x7f0a06bd
|
||||
const v0, 0x7f0a06c0
|
||||
|
||||
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
@ -220,7 +220,7 @@
|
|||
|
||||
new-instance p2, Lcom/discord/utilities/notices/NoticeBuilders$DialogData;
|
||||
|
||||
const v0, 0x7f12141f
|
||||
const v0, 0x7f121423
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -230,7 +230,7 @@
|
|||
|
||||
invoke-static {v1, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v0, 0x7f12141e
|
||||
const v0, 0x7f121422
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -266,7 +266,7 @@
|
|||
|
||||
const/4 v3, 0x1
|
||||
|
||||
const v4, 0x7f0a06bd
|
||||
const v4, 0x7f0a06c0
|
||||
|
||||
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
@ -282,7 +282,7 @@
|
|||
|
||||
const/4 v3, 0x2
|
||||
|
||||
const v4, 0x7f0a06b8
|
||||
const v4, 0x7f0a06bb
|
||||
|
||||
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
@ -300,13 +300,13 @@
|
|||
|
||||
move-result-object v5
|
||||
|
||||
const v0, 0x7f12115a
|
||||
const v0, 0x7f12115d
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const v0, 0x7f12108a
|
||||
const v0, 0x7f12108d
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -504,10 +504,6 @@
|
|||
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
const-string v4, "kryos.get() ?: return@use this.value"
|
||||
|
||||
invoke-static {v2, v4}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v2, v1}, Lcom/esotericsoftware/kryo/Kryo;->readClassAndObject(Lcom/esotericsoftware/kryo/io/Input;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
|
||||
move-result-object v6
|
||||
|
||||
const v1, 0x7f08047c
|
||||
const v1, 0x7f08047d
|
||||
|
||||
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
@ -561,7 +561,7 @@
|
|||
|
||||
move-result-object v8
|
||||
|
||||
const v2, 0x7f08043e
|
||||
const v2, 0x7f08043f
|
||||
|
||||
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
@ -597,7 +597,7 @@
|
|||
|
||||
move-result-object v8
|
||||
|
||||
const v2, 0x7f080440
|
||||
const v2, 0x7f080441
|
||||
|
||||
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
@ -665,7 +665,7 @@
|
|||
|
||||
move-result-object v8
|
||||
|
||||
const v2, 0x7f08047d
|
||||
const v2, 0x7f08047e
|
||||
|
||||
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
|
||||
move-result v0
|
||||
|
||||
const v1, 0x7f12182b
|
||||
const v1, 0x7f121834
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
|
@ -110,7 +110,7 @@
|
|||
goto/16 :goto_1
|
||||
|
||||
:cond_0
|
||||
const v0, 0x7f121828
|
||||
const v0, 0x7f121831
|
||||
|
||||
new-array v1, v3, [Ljava/lang/Object;
|
||||
|
||||
|
@ -127,7 +127,7 @@
|
|||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const v0, 0x7f12182e
|
||||
const v0, 0x7f121837
|
||||
|
||||
new-array v1, v3, [Ljava/lang/Object;
|
||||
|
||||
|
@ -144,7 +144,7 @@
|
|||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
const v0, 0x7f121829
|
||||
const v0, 0x7f121832
|
||||
|
||||
new-array v1, v3, [Ljava/lang/Object;
|
||||
|
||||
|
@ -161,7 +161,7 @@
|
|||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
const v0, 0x7f12182a
|
||||
const v0, 0x7f121833
|
||||
|
||||
new-array v1, v3, [Ljava/lang/Object;
|
||||
|
||||
|
@ -208,7 +208,7 @@
|
|||
:goto_0
|
||||
if-eqz p1, :cond_6
|
||||
|
||||
const v0, 0x7f12182c
|
||||
const v0, 0x7f121835
|
||||
|
||||
new-array v3, v3, [Ljava/lang/Object;
|
||||
|
||||
|
@ -297,7 +297,7 @@
|
|||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
const v1, 0x7f12194d
|
||||
const v1, 0x7f121956
|
||||
|
||||
new-array v3, v3, [Ljava/lang/Object;
|
||||
|
||||
|
@ -341,7 +341,7 @@
|
|||
goto :goto_2
|
||||
|
||||
:cond_5
|
||||
const v1, 0x7f12169f
|
||||
const v1, 0x7f1216a8
|
||||
|
||||
new-array v3, v3, [Ljava/lang/Object;
|
||||
|
||||
|
@ -368,7 +368,7 @@
|
|||
goto :goto_2
|
||||
|
||||
:cond_7
|
||||
const v1, 0x7f121231
|
||||
const v1, 0x7f121234
|
||||
|
||||
new-array v3, v3, [Ljava/lang/Object;
|
||||
|
||||
|
@ -406,7 +406,7 @@
|
|||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
const v0, 0x7f12169f
|
||||
const v0, 0x7f1216a8
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
|
@ -429,7 +429,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const p2, 0x7f1216a0
|
||||
const p2, 0x7f1216a9
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -592,22 +592,22 @@
|
|||
if-eq p1, v0, :cond_2
|
||||
|
||||
:goto_1
|
||||
const p1, 0x7f121609
|
||||
const p1, 0x7f12160d
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
const p1, 0x7f121604
|
||||
const p1, 0x7f121608
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
const p1, 0x7f121606
|
||||
const p1, 0x7f12160a
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_4
|
||||
const p1, 0x7f12160a
|
||||
const p1, 0x7f12160e
|
||||
|
||||
:goto_2
|
||||
return p1
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const-string p2, "intent.getStringExtra(\"id\") ?: return"
|
||||
|
||||
invoke-static {p1, p2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
:try_start_0
|
||||
sget-object p2, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
||||
|
||||
|
|
|
@ -159,7 +159,7 @@
|
|||
.method public getUserAgent()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "Discord-Android/1294"
|
||||
const-string v0, "Discord-Android/1295"
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
|
|
@ -4482,7 +4482,7 @@
|
|||
value = "streams/{streamKey}/preview"
|
||||
.end annotation
|
||||
|
||||
const-string v0, "streamKey"
|
||||
const-string/jumbo v0, "streamKey"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
|
@ -5740,7 +5740,7 @@
|
|||
value = "streams/{streamKey}/preview"
|
||||
.end annotation
|
||||
|
||||
const-string v0, "streamKey"
|
||||
const-string/jumbo v0, "streamKey"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
|
@ -5780,7 +5780,7 @@
|
|||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "streamKey"
|
||||
const-string/jumbo v0, "streamKey"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
const p2, 0x7f1206fb
|
||||
|
||||
:goto_0
|
||||
const v0, 0x7f0d01a2
|
||||
const v0, 0x7f0d01a3
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
|
@ -142,7 +142,7 @@
|
|||
|
||||
invoke-static {v2, v3}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v3, 0x7f0a0214
|
||||
const v3, 0x7f0a0215
|
||||
|
||||
invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
|
@ -154,7 +154,7 @@
|
|||
|
||||
invoke-static {v0, v3}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v3, 0x7f1217f2
|
||||
const v3, 0x7f1217fb
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
|
@ -596,7 +596,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const p3, 0x7f12102e
|
||||
const p3, 0x7f121031
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
|
@ -765,7 +765,7 @@
|
|||
goto/16 :goto_1
|
||||
|
||||
:cond_4
|
||||
const v2, 0x7f1213ae
|
||||
const v2, 0x7f1213b2
|
||||
|
||||
if-eqz v3, :cond_5
|
||||
|
||||
|
|
|
@ -202,6 +202,10 @@
|
|||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "outState"
|
||||
|
||||
invoke-static {p2, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
instance-of v0, p1, Lcom/discord/app/AppActivity;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
@ -215,11 +219,15 @@
|
|||
.end method
|
||||
|
||||
.method public onActivitySaveInstanceState(Lcom/discord/app/AppActivity;Landroid/os/Bundle;)V
|
||||
.locals 0
|
||||
.locals 1
|
||||
|
||||
const-string p2, "activity"
|
||||
const-string v0, "activity"
|
||||
|
||||
invoke-static {p1, p2}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string p1, "outState"
|
||||
|
||||
invoke-static {p2, p1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const v0, 0x7f121526
|
||||
const v0, 0x7f12152a
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
|||
|
||||
iput-object v0, p0, Lcom/discord/utilities/search/strings/ContextSearchStringProvider;->fromFilterString:Ljava/lang/String;
|
||||
|
||||
const v0, 0x7f121528
|
||||
const v0, 0x7f12152c
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -62,7 +62,7 @@
|
|||
|
||||
iput-object v0, p0, Lcom/discord/utilities/search/strings/ContextSearchStringProvider;->inFilterString:Ljava/lang/String;
|
||||
|
||||
const v0, 0x7f12152a
|
||||
const v0, 0x7f12152e
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -74,7 +74,7 @@
|
|||
|
||||
iput-object v0, p0, Lcom/discord/utilities/search/strings/ContextSearchStringProvider;->mentionsFilterString:Ljava/lang/String;
|
||||
|
||||
const v0, 0x7f121527
|
||||
const v0, 0x7f12152b
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -86,7 +86,7 @@
|
|||
|
||||
iput-object v0, p0, Lcom/discord/utilities/search/strings/ContextSearchStringProvider;->hasFilterString:Ljava/lang/String;
|
||||
|
||||
const v0, 0x7f121511
|
||||
const v0, 0x7f121515
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -98,7 +98,7 @@
|
|||
|
||||
iput-object v0, p0, Lcom/discord/utilities/search/strings/ContextSearchStringProvider;->linkAnswerString:Ljava/lang/String;
|
||||
|
||||
const v0, 0x7f12150f
|
||||
const v0, 0x7f121513
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -110,7 +110,7 @@
|
|||
|
||||
iput-object v0, p0, Lcom/discord/utilities/search/strings/ContextSearchStringProvider;->embedAnswerString:Ljava/lang/String;
|
||||
|
||||
const v0, 0x7f12150e
|
||||
const v0, 0x7f121512
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -122,7 +122,7 @@
|
|||
|
||||
iput-object v0, p0, Lcom/discord/utilities/search/strings/ContextSearchStringProvider;->fileAnswerString:Ljava/lang/String;
|
||||
|
||||
const v0, 0x7f121513
|
||||
const v0, 0x7f121517
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -134,7 +134,7 @@
|
|||
|
||||
iput-object v0, p0, Lcom/discord/utilities/search/strings/ContextSearchStringProvider;->videoAnswerString:Ljava/lang/String;
|
||||
|
||||
const v0, 0x7f121510
|
||||
const v0, 0x7f121514
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -146,7 +146,7 @@
|
|||
|
||||
iput-object v0, p0, Lcom/discord/utilities/search/strings/ContextSearchStringProvider;->imageAnswerString:Ljava/lang/String;
|
||||
|
||||
const v0, 0x7f121512
|
||||
const v0, 0x7f121516
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -158,7 +158,7 @@
|
|||
|
||||
invoke-static {v1, v2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v2, 0x7f0a0b0f
|
||||
const v2, 0x7f0a0b12
|
||||
|
||||
invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
|
@ -166,7 +166,7 @@
|
|||
|
||||
check-cast v2, Landroid/widget/TextView;
|
||||
|
||||
const v3, 0x7f0a0b10
|
||||
const v3, 0x7f0a0b13
|
||||
|
||||
invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
|
@ -174,7 +174,7 @@
|
|||
|
||||
check-cast v3, Landroid/widget/TextView;
|
||||
|
||||
const v4, 0x7f0a0b0d
|
||||
const v4, 0x7f0a0b10
|
||||
|
||||
invoke-virtual {v0, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
|
@ -182,7 +182,7 @@
|
|||
|
||||
check-cast v4, Landroid/widget/TextView;
|
||||
|
||||
const v5, 0x7f0a0b0e
|
||||
const v5, 0x7f0a0b11
|
||||
|
||||
invoke-virtual {v0, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
|
@ -204,7 +204,7 @@
|
|||
|
||||
invoke-virtual {v4, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
||||
|
||||
const v2, 0x7f12115a
|
||||
const v2, 0x7f12115d
|
||||
|
||||
invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V
|
||||
|
||||
|
|
|
@ -228,7 +228,7 @@
|
|||
|
||||
move-result-wide v1
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lcom/discord/stores/StoreChannels;->get(J)Lrx/Observable;
|
||||
invoke-virtual {v0, v1, v2}, Lcom/discord/stores/StoreChannels;->observeChannel(J)Lrx/Observable;
|
||||
|
||||
move-result-object v10
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v0, 0x7f1210cd
|
||||
const v0, 0x7f1210d0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const v0, 0x7f1210d4
|
||||
const v0, 0x7f1210d7
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -33,19 +33,19 @@
|
|||
|
||||
:array_0
|
||||
.array-data 4
|
||||
0x7f1216df
|
||||
0x7f1216e0
|
||||
0x7f1216e1
|
||||
0x7f1216e2
|
||||
0x7f1216e3
|
||||
0x7f1216e4
|
||||
0x7f1216e5
|
||||
0x7f1216e6
|
||||
0x7f1216e7
|
||||
0x7f1216e8
|
||||
0x7f1216e9
|
||||
0x7f1216ea
|
||||
0x7f1216eb
|
||||
0x7f1216ec
|
||||
0x7f1216ed
|
||||
0x7f1216ee
|
||||
0x7f1216ef
|
||||
0x7f1216f0
|
||||
0x7f1216f1
|
||||
0x7f1216f2
|
||||
0x7f1216f3
|
||||
0x7f1216f4
|
||||
.end array-data
|
||||
.end method
|
||||
|
||||
|
@ -261,7 +261,7 @@
|
|||
.end method
|
||||
|
||||
.method public static final getNickOrUsernames(Lcom/discord/models/domain/ModelMessage;Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
||||
.locals 2
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
|
@ -296,23 +296,29 @@
|
|||
|
||||
invoke-static {p3, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelMessage;->getMentions()Ljava/util/List;
|
||||
sget-object v0, Lcom/discord/utilities/channel/ChannelUtils;->Companion:Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->get()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "message.mentions"
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelMessage;->getMentions()Ljava/util/List;
|
||||
|
||||
invoke-static {v0, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
move-result-object v1
|
||||
|
||||
const-string v2, "message.mentions"
|
||||
|
||||
invoke-static {v1, v2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p0}, Lcom/discord/models/domain/ModelMessage;->getAuthor()Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-static {v0, p0}, Lc0/i/f;->plus(Ljava/util/Collection;Ljava/lang/Object;)Ljava/util/List;
|
||||
invoke-static {v1, p0}, Lc0/i/f;->plus(Ljava/util/Collection;Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-static {p0, p1, p2, p3}, Lcom/discord/utilities/channel/ChannelUtils;->getNickOrUsernames(Ljava/lang/Iterable;Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
||||
invoke-virtual {v0, p0, p1, p2, p3}, Lcom/discord/utilities/channel/ChannelUtils;->getNickOrUsernames(Ljava/lang/Iterable;Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "styleSpanProvider"
|
||||
const-string/jumbo v0, "styleSpanProvider"
|
||||
|
||||
invoke-static {p2, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "styleSpanProvider"
|
||||
const-string/jumbo v0, "styleSpanProvider"
|
||||
|
||||
invoke-static {p2, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
|
|
|
@ -410,7 +410,7 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "stringBuffer.toString()"
|
||||
const-string/jumbo v0, "stringBuffer.toString()"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
|
@ -537,7 +537,7 @@
|
|||
|
||||
invoke-static {v0, p1}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string p1, "styleFactory"
|
||||
const-string/jumbo p1, "styleFactory"
|
||||
|
||||
invoke-static {v1, p1}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
|
@ -903,7 +903,7 @@
|
|||
|
||||
invoke-static {v0, p1}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string p1, "styleFactory"
|
||||
const-string/jumbo p1, "styleFactory"
|
||||
|
||||
invoke-static {v1, p1}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
|
|
|
@ -208,7 +208,11 @@
|
|||
|
||||
invoke-virtual {v10, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
sget-object v3, Lcom/discord/utilities/channel/ChannelUtils;->INSTANCE:Lcom/discord/utilities/channel/ChannelUtils;
|
||||
sget-object v3, Lcom/discord/utilities/channel/ChannelUtils;->Companion:Lcom/discord/utilities/channel/ChannelUtils$Companion;
|
||||
|
||||
invoke-virtual {v3}, Lcom/discord/utilities/channel/ChannelUtils$Companion;->get()Lcom/discord/utilities/channel/ChannelUtils;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
|
|
|
@ -864,7 +864,7 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const v1, 0x7f0a0a89
|
||||
const v1, 0x7f0a0a8d
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
|
@ -872,7 +872,7 @@
|
|||
|
||||
check-cast v1, Landroid/widget/TextView;
|
||||
|
||||
const v2, 0x7f0a0a8a
|
||||
const v2, 0x7f0a0a8e
|
||||
|
||||
invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
|
@ -1158,7 +1158,7 @@
|
|||
return-void
|
||||
|
||||
:cond_6
|
||||
const p2, 0x7f1217bd
|
||||
const p2, 0x7f1217c6
|
||||
|
||||
const/16 v0, 0xc
|
||||
|
||||
|
|
|
@ -133,6 +133,10 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "context.obtainStyledAttr\u2026le.FrameGridLayout, 0, 0)"
|
||||
|
||||
invoke-static {p1, p2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
sget p2, Lcom/discord/utils/R$e;->FrameGridLayout_fgl_max_linear_views:I
|
||||
|
||||
invoke-virtual {p1, p2, p3}, Landroid/content/res/TypedArray;->getInt(II)I
|
||||
|
|
|
@ -103,6 +103,10 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "obtainStyledAttributes(a\u2026lerView, defStyleAttr, 0)"
|
||||
|
||||
invoke-static {p1, p2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
sget p2, Lcom/discord/utils/R$e;->MaxHeightRecyclerView_max_height:I
|
||||
|
||||
invoke-virtual {p1, p2, v0}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
||||
|
|
|
@ -126,6 +126,10 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const-string/jumbo p2, "view.context.obtainStyle\u2026s(attrs, attrsIndexArray)"
|
||||
|
||||
invoke-static {p1, p2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 p2, 0x0
|
||||
|
||||
:try_start_0
|
||||
|
|
|
@ -103,6 +103,10 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "obtainStyledAttributes(a\u2026ollView, defStyleAttr, 0)"
|
||||
|
||||
invoke-static {p1, p2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
sget p2, Lcom/discord/utils/R$e;->MaxHeightScrollView_max_height:I
|
||||
|
||||
invoke-virtual {p1, p2, v0}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const v0, 0x7f0a03d3
|
||||
const v0, 0x7f0a03d4
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
|
||||
|
||||
|
|
|
@ -193,7 +193,7 @@
|
|||
|
||||
move-result v0
|
||||
|
||||
const v1, 0x7f0a03d2
|
||||
const v1, 0x7f0a03d3
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const v0, 0x7f12118a
|
||||
const v0, 0x7f12118d
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
const v1, 0x7f0a0703
|
||||
const v1, 0x7f0a0706
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
||||
|
||||
|
|
|
@ -315,7 +315,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const v3, 0x7f121179
|
||||
const v3, 0x7f12117c
|
||||
|
||||
invoke-virtual {p0, v3}, Landroid/app/Service;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -325,7 +325,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const v3, 0x7f12118b
|
||||
const v3, 0x7f12118e
|
||||
|
||||
invoke-virtual {p0, v3}, Landroid/app/Service;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -351,7 +351,7 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const v1, 0x7f121594
|
||||
const v1, 0x7f121598
|
||||
|
||||
invoke-virtual {p0, v1}, Landroid/app/Service;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -1,149 +0,0 @@
|
|||
.class public final Lcom/discord/utilities/voice/PerceptualSoundUtils;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PerceptualSoundUtils.kt"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/voice/PerceptualSoundUtils;
|
||||
|
||||
.field public static final VOLUME_BOOST_DYNAMIC_RANGE_DB:F = 6.0f
|
||||
|
||||
.field public static final VOLUME_DYNAMIC_RANGE_DB:F = 50.0f
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/voice/PerceptualSoundUtils;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/voice/PerceptualSoundUtils;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/voice/PerceptualSoundUtils;->INSTANCE:Lcom/discord/utilities/voice/PerceptualSoundUtils;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final amplitudeToPerceptual(F)F
|
||||
.locals 5
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
cmpg-float v1, p1, v0
|
||||
|
||||
if-gtz v1, :cond_0
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
const/high16 v1, 0x41a00000 # 20.0f
|
||||
|
||||
const/high16 v2, 0x42c80000 # 100.0f
|
||||
|
||||
div-float/2addr p1, v2
|
||||
|
||||
float-to-double v3, p1
|
||||
|
||||
invoke-static {v3, v4}, Ljava/lang/Math;->log10(D)D
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
double-to-float p1, v3
|
||||
|
||||
mul-float p1, p1, v1
|
||||
|
||||
cmpl-float v0, p1, v0
|
||||
|
||||
if-lez v0, :cond_1
|
||||
|
||||
const/high16 v0, 0x40c00000 # 6.0f
|
||||
|
||||
div-float/2addr p1, v0
|
||||
|
||||
const/high16 v0, 0x3f800000 # 1.0f
|
||||
|
||||
add-float/2addr p1, v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/high16 v0, 0x42480000 # 50.0f
|
||||
|
||||
add-float/2addr p1, v0
|
||||
|
||||
div-float/2addr p1, v0
|
||||
|
||||
:goto_0
|
||||
mul-float p1, p1, v2
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final perceptualToAmplitude(F)F
|
||||
.locals 5
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
cmpg-float v1, p1, v0
|
||||
|
||||
if-gtz v1, :cond_0
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
const/high16 v0, 0x42c80000 # 100.0f
|
||||
|
||||
cmpl-float v1, p1, v0
|
||||
|
||||
if-lez v1, :cond_1
|
||||
|
||||
sub-float/2addr p1, v0
|
||||
|
||||
div-float/2addr p1, v0
|
||||
|
||||
const/high16 v1, 0x40c00000 # 6.0f
|
||||
|
||||
mul-float p1, p1, v1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
div-float/2addr p1, v0
|
||||
|
||||
const/high16 v1, 0x42480000 # 50.0f
|
||||
|
||||
mul-float p1, p1, v1
|
||||
|
||||
sub-float/2addr p1, v1
|
||||
|
||||
:goto_0
|
||||
const/high16 v1, 0x41200000 # 10.0f
|
||||
|
||||
const/high16 v2, 0x41a00000 # 20.0f
|
||||
|
||||
div-float/2addr p1, v2
|
||||
|
||||
float-to-double v1, v1
|
||||
|
||||
float-to-double v3, p1
|
||||
|
||||
invoke-static {v1, v2, v3, v4}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
double-to-float p1, v1
|
||||
|
||||
mul-float p1, p1, v0
|
||||
|
||||
return p1
|
||||
.end method
|
|
@ -0,0 +1,179 @@
|
|||
.class public final Lcom/discord/utilities/voice/PerceptualVolumeUtils;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PerceptualVolumeUtils.kt"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Lcom/discord/utilities/voice/PerceptualVolumeUtils;
|
||||
|
||||
.field public static final VOLUME_BOOST_DYNAMIC_RANGE_DB:F = 6.0f
|
||||
|
||||
.field public static final VOLUME_DYNAMIC_RANGE_DB:F = 50.0f
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lcom/discord/utilities/voice/PerceptualVolumeUtils;
|
||||
|
||||
invoke-direct {v0}, Lcom/discord/utilities/voice/PerceptualVolumeUtils;-><init>()V
|
||||
|
||||
sput-object v0, Lcom/discord/utilities/voice/PerceptualVolumeUtils;->INSTANCE:Lcom/discord/utilities/voice/PerceptualVolumeUtils;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static synthetic amplitudeToPerceptual$default(Lcom/discord/utilities/voice/PerceptualVolumeUtils;FFILjava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
and-int/lit8 p3, p3, 0x2
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
const/high16 p2, 0x42c80000 # 100.0f
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0, p1, p2}, Lcom/discord/utilities/voice/PerceptualVolumeUtils;->amplitudeToPerceptual(FF)F
|
||||
|
||||
move-result p0
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
.method public static synthetic perceptualToAmplitude$default(Lcom/discord/utilities/voice/PerceptualVolumeUtils;FFILjava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
and-int/lit8 p3, p3, 0x2
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
const/high16 p2, 0x42c80000 # 100.0f
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0, p1, p2}, Lcom/discord/utilities/voice/PerceptualVolumeUtils;->perceptualToAmplitude(FF)F
|
||||
|
||||
move-result p0
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final amplitudeToPerceptual(FF)F
|
||||
.locals 4
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
cmpg-float v1, p1, v0
|
||||
|
||||
if-gtz v1, :cond_0
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
const/high16 v1, 0x41a00000 # 20.0f
|
||||
|
||||
div-float/2addr p1, p2
|
||||
|
||||
float-to-double v2, p1
|
||||
|
||||
invoke-static {v2, v3}, Ljava/lang/Math;->log10(D)D
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
double-to-float p1, v2
|
||||
|
||||
mul-float p1, p1, v1
|
||||
|
||||
cmpl-float v0, p1, v0
|
||||
|
||||
if-lez v0, :cond_1
|
||||
|
||||
const/high16 v0, 0x40c00000 # 6.0f
|
||||
|
||||
div-float/2addr p1, v0
|
||||
|
||||
const/high16 v0, 0x3f800000 # 1.0f
|
||||
|
||||
add-float/2addr p1, v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/high16 v0, 0x42480000 # 50.0f
|
||||
|
||||
add-float/2addr p1, v0
|
||||
|
||||
div-float/2addr p1, v0
|
||||
|
||||
:goto_0
|
||||
mul-float p2, p2, p1
|
||||
|
||||
return p2
|
||||
.end method
|
||||
|
||||
.method public final perceptualToAmplitude(FF)F
|
||||
.locals 4
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
cmpg-float v1, p1, v0
|
||||
|
||||
if-gtz v1, :cond_0
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
cmpl-float v0, p1, p2
|
||||
|
||||
if-lez v0, :cond_1
|
||||
|
||||
sub-float/2addr p1, p2
|
||||
|
||||
div-float/2addr p1, p2
|
||||
|
||||
const/high16 v0, 0x40c00000 # 6.0f
|
||||
|
||||
mul-float p1, p1, v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
div-float/2addr p1, p2
|
||||
|
||||
const/high16 v0, 0x42480000 # 50.0f
|
||||
|
||||
mul-float p1, p1, v0
|
||||
|
||||
sub-float/2addr p1, v0
|
||||
|
||||
:goto_0
|
||||
const/high16 v0, 0x41200000 # 10.0f
|
||||
|
||||
const/high16 v1, 0x41a00000 # 20.0f
|
||||
|
||||
div-float/2addr p1, v1
|
||||
|
||||
float-to-double v0, v0
|
||||
|
||||
float-to-double v2, p1
|
||||
|
||||
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
double-to-float p1, v0
|
||||
|
||||
mul-float p2, p2, p1
|
||||
|
||||
return p2
|
||||
.end method
|
|
@ -144,17 +144,19 @@
|
|||
|
||||
move-result-object v3
|
||||
|
||||
sget-object v4, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->Companion:Lcom/discord/widgets/chat/input/WidgetChatInputModel$Companion;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
|
||||
|
||||
move-result-object v4
|
||||
move-result-object v5
|
||||
|
||||
invoke-static {v4, v2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {v5, v2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/Long;->longValue()J
|
||||
invoke-virtual {v5}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v4
|
||||
move-result-wide v5
|
||||
|
||||
invoke-static {v4, v5}, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->getVerificationLevelTriggered(J)Lrx/Observable;
|
||||
invoke-virtual {v4, v5, v6}, Lcom/discord/widgets/chat/input/WidgetChatInputModel$Companion;->getVerificationLevelTriggered(J)Lrx/Observable;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
|
|
|
@ -387,7 +387,7 @@
|
|||
|
||||
invoke-static {p6, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p3, p1, p2}, Lcom/discord/stores/StoreChannels;->get(J)Lrx/Observable;
|
||||
invoke-virtual {p3, p1, p2}, Lcom/discord/stores/StoreChannels;->observeChannel(J)Lrx/Observable;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
|
@ -409,7 +409,7 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "channelsStore\n .g\u2026 }\n }\n }"
|
||||
const-string p2, "channelsStore\n .o\u2026 }\n }\n }"
|
||||
|
||||
invoke-static {p1, p2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
|
|
|
@ -181,7 +181,7 @@
|
|||
|
||||
move-result-object p2
|
||||
|
||||
const v1, 0x7f121656
|
||||
const v1, 0x7f12165f
|
||||
|
||||
invoke-virtual {p2, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -212,7 +212,7 @@
|
|||
|
||||
move-result-object v7
|
||||
|
||||
const v8, 0x7f1217c2
|
||||
const v8, 0x7f1217cb
|
||||
|
||||
invoke-virtual {v7, v8}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -231,7 +231,7 @@
|
|||
|
||||
move-result-object v7
|
||||
|
||||
const v8, 0x7f121016
|
||||
const v8, 0x7f121019
|
||||
|
||||
invoke-virtual {v7, v8}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -254,7 +254,7 @@
|
|||
|
||||
move-result-object p2
|
||||
|
||||
const v5, 0x7f1217bb
|
||||
const v5, 0x7f1217c4
|
||||
|
||||
invoke-virtual {p2, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -344,6 +344,10 @@
|
|||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const-string v0, "intent.getParcelableExtr\u2026t.EXTRA_INTENT) ?: return"
|
||||
|
||||
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget-object v0, p0, Lcom/discord/utilities/voice/VoiceEngineForegroundService;->screenShareManager:Lcom/discord/utilities/voice/ScreenShareManager;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
|
||||
iget-object v0, p0, Lcom/discord/utilities/voice/VoiceEngineServiceController$init$3;->$context:Landroid/content/Context;
|
||||
|
||||
const v1, 0x7f1218d4
|
||||
const v1, 0x7f1218dd
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
:cond_1
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
const p1, 0x7f080469
|
||||
const p1, 0x7f08046a
|
||||
|
||||
goto :goto_0
|
||||
|
||||
|
@ -490,7 +490,7 @@
|
|||
.annotation build Landroidx/annotation/DrawableRes;
|
||||
.end annotation
|
||||
|
||||
const v0, 0x7f080472
|
||||
const v0, 0x7f080473
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
|
@ -518,17 +518,17 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const v0, 0x7f080471
|
||||
const v0, 0x7f080472
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
const v0, 0x7f08046f
|
||||
const v0, 0x7f080470
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
const v0, 0x7f080470
|
||||
const v0, 0x7f080471
|
||||
|
||||
:cond_4
|
||||
:goto_0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue