Changes of com.discord v1302
This commit is contained in:
parent
965ee1b306
commit
b5721801ad
26 changed files with 371 additions and 60 deletions
|
@ -1,5 +1,5 @@
|
||||||
!!brut.androlib.meta.MetaInfo
|
!!brut.androlib.meta.MetaInfo
|
||||||
apkFileName: com.discord-1301.apk
|
apkFileName: com.discord-1302.apk
|
||||||
compressionType: false
|
compressionType: false
|
||||||
doNotCompress:
|
doNotCompress:
|
||||||
- resources.arsc
|
- resources.arsc
|
||||||
|
@ -81,5 +81,5 @@ usesFramework:
|
||||||
tag: null
|
tag: null
|
||||||
version: 2.4.2-83a459-SNAPSHOT
|
version: 2.4.2-83a459-SNAPSHOT
|
||||||
versionInfo:
|
versionInfo:
|
||||||
versionCode: '1301'
|
versionCode: '1302'
|
||||||
versionName: '46.0'
|
versionName: '46.1'
|
||||||
|
|
Binary file not shown.
|
@ -1197,7 +1197,7 @@ We’re here to make a good impression."</string>
|
||||||
<string name="color_picker_presets">Presets</string>
|
<string name="color_picker_presets">Presets</string>
|
||||||
<string name="color_picker_title">Select a color</string>
|
<string name="color_picker_title">Select a color</string>
|
||||||
<string name="color_picker_transparency">Transparency</string>
|
<string name="color_picker_transparency">Transparency</string>
|
||||||
<string name="com.crashlytics.android.build_id">cdbef19d43a941a4a8f28c626aa4eb95</string>
|
<string name="com.crashlytics.android.build_id">88ed558c32bf46c4968d40e99ff34400</string>
|
||||||
<string name="coming_soon">Coming Soon</string>
|
<string name="coming_soon">Coming Soon</string>
|
||||||
<string name="command_giphy_description">Search Animated GIFs on the Web</string>
|
<string name="command_giphy_description">Search Animated GIFs on the Web</string>
|
||||||
<string name="command_giphy_query_description">Text to search for</string>
|
<string name="command_giphy_query_description">Text to search for</string>
|
||||||
|
|
|
@ -42,11 +42,11 @@
|
||||||
|
|
||||||
.field public static final SAMSUNGxDISCORD_CLIENT_ID:Ljava/lang/String; = "97t47j218f"
|
.field public static final SAMSUNGxDISCORD_CLIENT_ID:Ljava/lang/String; = "97t47j218f"
|
||||||
|
|
||||||
.field public static final USER_AGENT:Ljava/lang/String; = "Discord-Android/1301"
|
.field public static final USER_AGENT:Ljava/lang/String; = "Discord-Android/1302"
|
||||||
|
|
||||||
.field public static final VERSION_CODE:I = 0x515
|
.field public static final VERSION_CODE:I = 0x516
|
||||||
|
|
||||||
.field public static final VERSION_NAME:Ljava/lang/String; = "46.0"
|
.field public static final VERSION_NAME:Ljava/lang/String; = "46.1"
|
||||||
|
|
||||||
|
|
||||||
# direct methods
|
# direct methods
|
||||||
|
|
|
@ -393,7 +393,7 @@
|
||||||
|
|
||||||
sget-object v0, Lcom/discord/utilities/buildutils/BuildUtils;->INSTANCE:Lcom/discord/utilities/buildutils/BuildUtils;
|
sget-object v0, Lcom/discord/utilities/buildutils/BuildUtils;->INSTANCE:Lcom/discord/utilities/buildutils/BuildUtils;
|
||||||
|
|
||||||
const-string v1, "46.0"
|
const-string v1, "46.1"
|
||||||
|
|
||||||
invoke-virtual {v0, v1}, Lcom/discord/utilities/buildutils/BuildUtils;->isValidBuildVersionName(Ljava/lang/String;)Z
|
invoke-virtual {v0, v1}, Lcom/discord/utilities/buildutils/BuildUtils;->isValidBuildVersionName(Ljava/lang/String;)Z
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
invoke-direct {p0}, Lcom/discord/stores/Store;-><init>()V
|
invoke-direct {p0}, Lcom/discord/stores/Store;-><init>()V
|
||||||
|
|
||||||
const/16 v0, 0x515
|
const/16 v0, 0x516
|
||||||
|
|
||||||
iput v0, p0, Lcom/discord/stores/StoreClientVersion;->clientVersion:I
|
iput v0, p0, Lcom/discord/stores/StoreClientVersion;->clientVersion:I
|
||||||
|
|
||||||
|
|
|
@ -66,31 +66,45 @@
|
||||||
.method public final invoke()V
|
.method public final invoke()V
|
||||||
.locals 8
|
.locals 8
|
||||||
|
|
||||||
iget-object v0, p0, Lcom/discord/stores/StorePendingReplies$onCreatePendingReply$1;->this$0:Lcom/discord/stores/StorePendingReplies;
|
iget-object v0, p0, Lcom/discord/stores/StorePendingReplies$onCreatePendingReply$1;->$channel:Lcom/discord/models/domain/ModelChannel;
|
||||||
|
|
||||||
invoke-static {v0}, Lcom/discord/stores/StorePendingReplies;->access$getPendingReplies$p(Lcom/discord/stores/StorePendingReplies;)Lcom/discord/utilities/collections/SnowflakePartitionMap$CopiablePartitionMap;
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->isPrivate()Z
|
||||||
|
|
||||||
|
move-result v0
|
||||||
|
|
||||||
|
if-eqz v0, :cond_0
|
||||||
|
|
||||||
|
const/4 v0, 0x0
|
||||||
|
|
||||||
|
goto :goto_0
|
||||||
|
|
||||||
|
:cond_0
|
||||||
|
iget-object v0, p0, Lcom/discord/stores/StorePendingReplies$onCreatePendingReply$1;->$channel:Lcom/discord/models/domain/ModelChannel;
|
||||||
|
|
||||||
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
|
||||||
|
|
||||||
move-result-object v0
|
move-result-object v0
|
||||||
|
|
||||||
iget-object v1, p0, Lcom/discord/stores/StorePendingReplies$onCreatePendingReply$1;->$channel:Lcom/discord/models/domain/ModelChannel;
|
:goto_0
|
||||||
|
iget-object v1, p0, Lcom/discord/stores/StorePendingReplies$onCreatePendingReply$1;->this$0:Lcom/discord/stores/StorePendingReplies;
|
||||||
|
|
||||||
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
invoke-static {v1}, Lcom/discord/stores/StorePendingReplies;->access$getPendingReplies$p(Lcom/discord/stores/StorePendingReplies;)Lcom/discord/utilities/collections/SnowflakePartitionMap$CopiablePartitionMap;
|
||||||
|
|
||||||
move-result-wide v1
|
|
||||||
|
|
||||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
||||||
|
|
||||||
move-result-object v1
|
move-result-object v1
|
||||||
|
|
||||||
new-instance v2, Lcom/discord/stores/StorePendingReplies$PendingReply;
|
iget-object v2, p0, Lcom/discord/stores/StorePendingReplies$onCreatePendingReply$1;->$channel:Lcom/discord/models/domain/ModelChannel;
|
||||||
|
|
||||||
new-instance v3, Lcom/discord/models/domain/ModelMessage$MessageReference;
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||||
|
|
||||||
iget-object v4, p0, Lcom/discord/stores/StorePendingReplies$onCreatePendingReply$1;->$channel:Lcom/discord/models/domain/ModelChannel;
|
move-result-wide v2
|
||||||
|
|
||||||
invoke-virtual {v4}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
|
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||||
|
|
||||||
move-result-object v4
|
move-result-object v2
|
||||||
|
|
||||||
|
new-instance v3, Lcom/discord/stores/StorePendingReplies$PendingReply;
|
||||||
|
|
||||||
|
new-instance v4, Lcom/discord/models/domain/ModelMessage$MessageReference;
|
||||||
|
|
||||||
iget-object v5, p0, Lcom/discord/stores/StorePendingReplies$onCreatePendingReply$1;->$channel:Lcom/discord/models/domain/ModelChannel;
|
iget-object v5, p0, Lcom/discord/stores/StorePendingReplies$onCreatePendingReply$1;->$channel:Lcom/discord/models/domain/ModelChannel;
|
||||||
|
|
||||||
|
@ -112,25 +126,25 @@
|
||||||
|
|
||||||
move-result-object v6
|
move-result-object v6
|
||||||
|
|
||||||
invoke-direct {v3, v4, v5, v6}, Lcom/discord/models/domain/ModelMessage$MessageReference;-><init>(Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;)V
|
invoke-direct {v4, v0, v5, v6}, Lcom/discord/models/domain/ModelMessage$MessageReference;-><init>(Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;)V
|
||||||
|
|
||||||
iget-object v4, p0, Lcom/discord/stores/StorePendingReplies$onCreatePendingReply$1;->$message:Lcom/discord/models/domain/ModelMessage;
|
iget-object v0, p0, Lcom/discord/stores/StorePendingReplies$onCreatePendingReply$1;->$message:Lcom/discord/models/domain/ModelMessage;
|
||||||
|
|
||||||
invoke-virtual {v4}, Lcom/discord/models/domain/ModelMessage;->getAuthor()Lcom/discord/models/domain/ModelUser;
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelMessage;->getAuthor()Lcom/discord/models/domain/ModelUser;
|
||||||
|
|
||||||
move-result-object v4
|
move-result-object v0
|
||||||
|
|
||||||
const-string v5, "message.author"
|
const-string v5, "message.author"
|
||||||
|
|
||||||
invoke-static {v4, v5}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
invoke-static {v0, v5}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
|
||||||
invoke-virtual {v4}, Lcom/discord/models/domain/ModelUser;->getId()J
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelUser;->getId()J
|
||||||
|
|
||||||
move-result-wide v4
|
move-result-wide v5
|
||||||
|
|
||||||
invoke-direct {v2, v3, v4, v5}, Lcom/discord/stores/StorePendingReplies$PendingReply;-><init>(Lcom/discord/models/domain/ModelMessage$MessageReference;J)V
|
invoke-direct {v3, v4, v5, v6}, Lcom/discord/stores/StorePendingReplies$PendingReply;-><init>(Lcom/discord/models/domain/ModelMessage$MessageReference;J)V
|
||||||
|
|
||||||
invoke-interface {v0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
invoke-interface {v1, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||||
|
|
||||||
iget-object v0, p0, Lcom/discord/stores/StorePendingReplies$onCreatePendingReply$1;->this$0:Lcom/discord/stores/StorePendingReplies;
|
iget-object v0, p0, Lcom/discord/stores/StorePendingReplies$onCreatePendingReply$1;->this$0:Lcom/discord/stores/StorePendingReplies;
|
||||||
|
|
||||||
|
|
|
@ -173,7 +173,7 @@
|
||||||
|
|
||||||
const-string v3, "browser_user_agent"
|
const-string v3, "browser_user_agent"
|
||||||
|
|
||||||
const-string v4, "Discord-Android/1301"
|
const-string v4, "Discord-Android/1302"
|
||||||
|
|
||||||
invoke-direct {v2, v3, v4}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
invoke-direct {v2, v3, v4}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@
|
||||||
|
|
||||||
const/4 v1, 0x2
|
const/4 v1, 0x2
|
||||||
|
|
||||||
const/16 v2, 0x515
|
const/16 v2, 0x516
|
||||||
|
|
||||||
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@
|
||||||
|
|
||||||
const-string v3, "client_version"
|
const-string v3, "client_version"
|
||||||
|
|
||||||
const-string v4, "46.0"
|
const-string v4, "46.1"
|
||||||
|
|
||||||
invoke-direct {v2, v3, v4}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
invoke-direct {v2, v3, v4}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||||
|
|
||||||
|
|
|
@ -4074,7 +4074,7 @@
|
||||||
.method public final createGuildViewed(Lcom/discord/widgets/guilds/create/StockGuildTemplate;Lcom/discord/models/domain/ModelGuildTemplate;Ljava/lang/String;)V
|
.method public final createGuildViewed(Lcom/discord/widgets/guilds/create/StockGuildTemplate;Lcom/discord/models/domain/ModelGuildTemplate;Ljava/lang/String;)V
|
||||||
.locals 5
|
.locals 5
|
||||||
|
|
||||||
const-string/jumbo v0, "stockGuildTemplate"
|
const-string v0, "stockGuildTemplate"
|
||||||
|
|
||||||
invoke-static {p1, v0}, 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
|
||||||
|
|
||||||
|
|
|
@ -159,7 +159,7 @@
|
||||||
.method public getUserAgent()Ljava/lang/String;
|
.method public getUserAgent()Ljava/lang/String;
|
||||||
.locals 1
|
.locals 1
|
||||||
|
|
||||||
const-string v0, "Discord-Android/1301"
|
const-string v0, "Discord-Android/1302"
|
||||||
|
|
||||||
return-object v0
|
return-object v0
|
||||||
.end method
|
.end method
|
||||||
|
|
|
@ -0,0 +1,89 @@
|
||||||
|
.class public final Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey$1;
|
||||||
|
.super Lc0/n/c/k;
|
||||||
|
.source "SurveyUtils.kt"
|
||||||
|
|
||||||
|
# interfaces
|
||||||
|
.implements Lkotlin/jvm/functions/Function1;
|
||||||
|
|
||||||
|
|
||||||
|
# annotations
|
||||||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||||
|
value = Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;-><init>(Lcom/discord/models/domain/ModelUser;)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<",
|
||||||
|
"Landroid/app/Activity;",
|
||||||
|
"Ljava/lang/String;",
|
||||||
|
">;"
|
||||||
|
}
|
||||||
|
.end annotation
|
||||||
|
|
||||||
|
|
||||||
|
# static fields
|
||||||
|
.field public static final INSTANCE:Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey$1;
|
||||||
|
|
||||||
|
|
||||||
|
# direct methods
|
||||||
|
.method public static constructor <clinit>()V
|
||||||
|
.locals 1
|
||||||
|
|
||||||
|
new-instance v0, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey$1;
|
||||||
|
|
||||||
|
invoke-direct {v0}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey$1;-><init>()V
|
||||||
|
|
||||||
|
sput-object v0, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey$1;->INSTANCE:Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey$1;
|
||||||
|
|
||||||
|
return-void
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public constructor <init>()V
|
||||||
|
.locals 1
|
||||||
|
|
||||||
|
const/4 v0, 0x1
|
||||||
|
|
||||||
|
invoke-direct {p0, v0}, 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, Landroid/app/Activity;
|
||||||
|
|
||||||
|
invoke-virtual {p0, p1}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey$1;->invoke(Landroid/app/Activity;)Ljava/lang/String;
|
||||||
|
|
||||||
|
move-result-object p1
|
||||||
|
|
||||||
|
return-object p1
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public final invoke(Landroid/app/Activity;)Ljava/lang/String;
|
||||||
|
.locals 1
|
||||||
|
|
||||||
|
const-string v0, "activity"
|
||||||
|
|
||||||
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
|
||||||
|
const v0, 0x7f120284
|
||||||
|
|
||||||
|
invoke-virtual {p1, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;
|
||||||
|
|
||||||
|
move-result-object p1
|
||||||
|
|
||||||
|
const-string v0, "activity.getString(R.str\u2026g.b_plus_a_survey_prompt)"
|
||||||
|
|
||||||
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
|
||||||
|
return-object p1
|
||||||
|
.end method
|
|
@ -0,0 +1,174 @@
|
||||||
|
.class public final Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;
|
||||||
|
.super Lcom/discord/utilities/surveys/SurveyUtils$Survey;
|
||||||
|
.source "SurveyUtils.kt"
|
||||||
|
|
||||||
|
|
||||||
|
# annotations
|
||||||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||||
|
value = Lcom/discord/utilities/surveys/SurveyUtils$Survey;
|
||||||
|
.end annotation
|
||||||
|
|
||||||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||||||
|
accessFlags = 0x19
|
||||||
|
name = "BrandSurvey"
|
||||||
|
.end annotation
|
||||||
|
|
||||||
|
|
||||||
|
# instance fields
|
||||||
|
.field public final meUser:Lcom/discord/models/domain/ModelUser;
|
||||||
|
|
||||||
|
|
||||||
|
# direct methods
|
||||||
|
.method public constructor <init>(Lcom/discord/models/domain/ModelUser;)V
|
||||||
|
.locals 7
|
||||||
|
|
||||||
|
const-string v0, "meUser"
|
||||||
|
|
||||||
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
|
||||||
|
sget-object v5, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey$1;->INSTANCE:Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey$1;
|
||||||
|
|
||||||
|
const-string v2, "pdCXKkNu"
|
||||||
|
|
||||||
|
const-string v3, "https://bandaequals.typeform.com/to/pdCXKkNu"
|
||||||
|
|
||||||
|
const-string v4, "NOTICE_KEY_B_AND_A_SURVEY"
|
||||||
|
|
||||||
|
const/4 v6, 0x0
|
||||||
|
|
||||||
|
move-object v1, p0
|
||||||
|
|
||||||
|
invoke-direct/range {v1 .. v6}, Lcom/discord/utilities/surveys/SurveyUtils$Survey;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||||
|
|
||||||
|
iput-object p1, p0, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;->meUser:Lcom/discord/models/domain/ModelUser;
|
||||||
|
|
||||||
|
return-void
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public static synthetic copy$default(Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;Lcom/discord/models/domain/ModelUser;ILjava/lang/Object;)Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;
|
||||||
|
.locals 0
|
||||||
|
|
||||||
|
and-int/lit8 p2, p2, 0x1
|
||||||
|
|
||||||
|
if-eqz p2, :cond_0
|
||||||
|
|
||||||
|
iget-object p1, p0, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;->meUser:Lcom/discord/models/domain/ModelUser;
|
||||||
|
|
||||||
|
:cond_0
|
||||||
|
invoke-virtual {p0, p1}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;->copy(Lcom/discord/models/domain/ModelUser;)Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;
|
||||||
|
|
||||||
|
move-result-object p0
|
||||||
|
|
||||||
|
return-object p0
|
||||||
|
.end method
|
||||||
|
|
||||||
|
|
||||||
|
# virtual methods
|
||||||
|
.method public final component1()Lcom/discord/models/domain/ModelUser;
|
||||||
|
.locals 1
|
||||||
|
|
||||||
|
iget-object v0, p0, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;->meUser:Lcom/discord/models/domain/ModelUser;
|
||||||
|
|
||||||
|
return-object v0
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public final copy(Lcom/discord/models/domain/ModelUser;)Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;
|
||||||
|
.locals 1
|
||||||
|
|
||||||
|
const-string v0, "meUser"
|
||||||
|
|
||||||
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
|
||||||
|
new-instance v0, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;
|
||||||
|
|
||||||
|
invoke-direct {v0, p1}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;-><init>(Lcom/discord/models/domain/ModelUser;)V
|
||||||
|
|
||||||
|
return-object v0
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public equals(Ljava/lang/Object;)Z
|
||||||
|
.locals 1
|
||||||
|
|
||||||
|
if-eq p0, p1, :cond_1
|
||||||
|
|
||||||
|
instance-of v0, p1, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;
|
||||||
|
|
||||||
|
if-eqz v0, :cond_0
|
||||||
|
|
||||||
|
check-cast p1, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;
|
||||||
|
|
||||||
|
iget-object v0, p0, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;->meUser:Lcom/discord/models/domain/ModelUser;
|
||||||
|
|
||||||
|
iget-object p1, p1, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;->meUser:Lcom/discord/models/domain/ModelUser;
|
||||||
|
|
||||||
|
invoke-static {v0, p1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||||
|
|
||||||
|
move-result p1
|
||||||
|
|
||||||
|
if-eqz p1, :cond_0
|
||||||
|
|
||||||
|
goto :goto_0
|
||||||
|
|
||||||
|
:cond_0
|
||||||
|
const/4 p1, 0x0
|
||||||
|
|
||||||
|
return p1
|
||||||
|
|
||||||
|
:cond_1
|
||||||
|
:goto_0
|
||||||
|
const/4 p1, 0x1
|
||||||
|
|
||||||
|
return p1
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public final getMeUser()Lcom/discord/models/domain/ModelUser;
|
||||||
|
.locals 1
|
||||||
|
|
||||||
|
iget-object v0, p0, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;->meUser:Lcom/discord/models/domain/ModelUser;
|
||||||
|
|
||||||
|
return-object v0
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public hashCode()I
|
||||||
|
.locals 1
|
||||||
|
|
||||||
|
iget-object v0, p0, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;->meUser:Lcom/discord/models/domain/ModelUser;
|
||||||
|
|
||||||
|
if-eqz v0, :cond_0
|
||||||
|
|
||||||
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelUser;->hashCode()I
|
||||||
|
|
||||||
|
move-result v0
|
||||||
|
|
||||||
|
goto :goto_0
|
||||||
|
|
||||||
|
:cond_0
|
||||||
|
const/4 v0, 0x0
|
||||||
|
|
||||||
|
:goto_0
|
||||||
|
return v0
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public toString()Ljava/lang/String;
|
||||||
|
.locals 2
|
||||||
|
|
||||||
|
const-string v0, "BrandSurvey(meUser="
|
||||||
|
|
||||||
|
invoke-static {v0}, Lf/e/c/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||||
|
|
||||||
|
move-result-object v0
|
||||||
|
|
||||||
|
iget-object v1, p0, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;->meUser:Lcom/discord/models/domain/ModelUser;
|
||||||
|
|
||||||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||||
|
|
||||||
|
const-string v1, ")"
|
||||||
|
|
||||||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||||
|
|
||||||
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||||
|
|
||||||
|
move-result-object v0
|
||||||
|
|
||||||
|
return-object v0
|
||||||
|
.end method
|
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
.field public static final NOTICE_KEY_NPS_SURVEY:Ljava/lang/String; = "NOTICE_KEY_NPS_SURVEY"
|
.field public static final NOTICE_KEY_NPS_SURVEY:Ljava/lang/String; = "NOTICE_KEY_NPS_SURVEY"
|
||||||
|
|
||||||
|
.field public static final NOTICE_KEY_PRODUCT_B_AND_A_SURVEY:Ljava/lang/String; = "NOTICE_KEY_B_AND_A_SURVEY"
|
||||||
|
|
||||||
.field public static final NOTICE_KEY_PRODUCT_FEEDBACK_SURVEY:Ljava/lang/String; = "NOTICE_KEY_PRODUCT_FEEDBACK_SURVEY"
|
.field public static final NOTICE_KEY_PRODUCT_FEEDBACK_SURVEY:Ljava/lang/String; = "NOTICE_KEY_PRODUCT_FEEDBACK_SURVEY"
|
||||||
|
|
||||||
.field public static final NOTICE_KEY_USER_SURVEY:Ljava/lang/String; = "NOTICE_KEY_USER_SURVEY"
|
.field public static final NOTICE_KEY_USER_SURVEY:Ljava/lang/String; = "NOTICE_KEY_USER_SURVEY"
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
Lcom/discord/utilities/surveys/SurveyUtils$Survey$ConsoleResearchSurvey;,
|
Lcom/discord/utilities/surveys/SurveyUtils$Survey$ConsoleResearchSurvey;,
|
||||||
Lcom/discord/utilities/surveys/SurveyUtils$Survey$CovidNewUserSurvey;,
|
Lcom/discord/utilities/surveys/SurveyUtils$Survey$CovidNewUserSurvey;,
|
||||||
Lcom/discord/utilities/surveys/SurveyUtils$Survey$ProductFeedbackSurvey;,
|
Lcom/discord/utilities/surveys/SurveyUtils$Survey$ProductFeedbackSurvey;,
|
||||||
|
Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;,
|
||||||
Lcom/discord/utilities/surveys/SurveyUtils$Survey$NoticeKeys;
|
Lcom/discord/utilities/surveys/SurveyUtils$Survey$NoticeKeys;
|
||||||
}
|
}
|
||||||
.end annotation
|
.end annotation
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
|
|
||||||
invoke-direct {p1, v0}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$NpsSurvey;-><init>(Lcom/discord/models/domain/ModelUser;)V
|
invoke-direct {p1, v0}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$NpsSurvey;-><init>(Lcom/discord/models/domain/ModelUser;)V
|
||||||
|
|
||||||
goto :goto_4
|
goto :goto_5
|
||||||
|
|
||||||
:cond_1
|
:cond_1
|
||||||
:goto_0
|
:goto_0
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
|
|
||||||
invoke-direct {p1, v0}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$ConsoleResearchSurvey;-><init>(Lcom/discord/models/domain/ModelUser;)V
|
invoke-direct {p1, v0}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$ConsoleResearchSurvey;-><init>(Lcom/discord/models/domain/ModelUser;)V
|
||||||
|
|
||||||
goto :goto_4
|
goto :goto_5
|
||||||
|
|
||||||
:cond_3
|
:cond_3
|
||||||
:goto_1
|
:goto_1
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
|
|
||||||
invoke-direct {p1, v0}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$CovidNewUserSurvey;-><init>(Lcom/discord/models/domain/ModelUser;)V
|
invoke-direct {p1, v0}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$CovidNewUserSurvey;-><init>(Lcom/discord/models/domain/ModelUser;)V
|
||||||
|
|
||||||
goto :goto_4
|
goto :goto_5
|
||||||
|
|
||||||
:cond_5
|
:cond_5
|
||||||
:goto_2
|
:goto_2
|
||||||
|
@ -130,9 +130,9 @@
|
||||||
:cond_6
|
:cond_6
|
||||||
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
||||||
|
|
||||||
move-result p1
|
move-result v1
|
||||||
|
|
||||||
if-ne p1, v0, :cond_7
|
if-ne v1, v0, :cond_7
|
||||||
|
|
||||||
new-instance p1, Lcom/discord/utilities/surveys/SurveyUtils$Survey$ProductFeedbackSurvey;
|
new-instance p1, Lcom/discord/utilities/surveys/SurveyUtils$Survey$ProductFeedbackSurvey;
|
||||||
|
|
||||||
|
@ -140,13 +140,36 @@
|
||||||
|
|
||||||
invoke-direct {p1, v0}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$ProductFeedbackSurvey;-><init>(Lcom/discord/models/domain/ModelUser;)V
|
invoke-direct {p1, v0}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$ProductFeedbackSurvey;-><init>(Lcom/discord/models/domain/ModelUser;)V
|
||||||
|
|
||||||
goto :goto_4
|
goto :goto_5
|
||||||
|
|
||||||
:cond_7
|
:cond_7
|
||||||
:goto_3
|
:goto_3
|
||||||
|
const/16 v0, 0xe
|
||||||
|
|
||||||
|
if-nez p1, :cond_8
|
||||||
|
|
||||||
|
goto :goto_4
|
||||||
|
|
||||||
|
:cond_8
|
||||||
|
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
||||||
|
|
||||||
|
move-result p1
|
||||||
|
|
||||||
|
if-ne p1, v0, :cond_9
|
||||||
|
|
||||||
|
new-instance p1, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;
|
||||||
|
|
||||||
|
iget-object v0, p0, Lcom/discord/utilities/surveys/SurveyUtils$getGenericSurvey$2;->$meUser:Lcom/discord/models/domain/ModelUser;
|
||||||
|
|
||||||
|
invoke-direct {p1, v0}, Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;-><init>(Lcom/discord/models/domain/ModelUser;)V
|
||||||
|
|
||||||
|
goto :goto_5
|
||||||
|
|
||||||
|
:cond_9
|
||||||
|
:goto_4
|
||||||
sget-object p1, Lcom/discord/utilities/surveys/SurveyUtils$Survey$None;->INSTANCE:Lcom/discord/utilities/surveys/SurveyUtils$Survey$None;
|
sget-object p1, Lcom/discord/utilities/surveys/SurveyUtils$Survey$None;->INSTANCE:Lcom/discord/utilities/surveys/SurveyUtils$Survey$None;
|
||||||
|
|
||||||
:goto_4
|
:goto_5
|
||||||
return-object p1
|
return-object p1
|
||||||
.end method
|
.end method
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
|
|
||||||
|
|
||||||
# static fields
|
# static fields
|
||||||
|
.field public static final GENERIC_SURVEY_BUCKET_B_AND_A:I = 0xe
|
||||||
|
|
||||||
.field public static final GENERIC_SURVEY_BUCKET_CONSOLE_RESEARCH:I = 0x5
|
.field public static final GENERIC_SURVEY_BUCKET_CONSOLE_RESEARCH:I = 0x5
|
||||||
|
|
||||||
.field public static final GENERIC_SURVEY_BUCKET_COVID_NEW_USER:I = 0x6
|
.field public static final GENERIC_SURVEY_BUCKET_COVID_NEW_USER:I = 0x6
|
||||||
|
|
|
@ -204,7 +204,7 @@
|
||||||
return-object p0
|
return-object p0
|
||||||
|
|
||||||
:cond_0
|
:cond_0
|
||||||
const-string/jumbo p0, "stickyHeadersManager"
|
const-string p0, "stickyHeadersManager"
|
||||||
|
|
||||||
invoke-static {p0}, Lc0/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
invoke-static {p0}, Lc0/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||||
|
|
||||||
|
@ -260,7 +260,7 @@
|
||||||
.method public getAndBindHeaderView(I)Landroid/view/View;
|
.method public getAndBindHeaderView(I)Landroid/view/View;
|
||||||
.locals 8
|
.locals 8
|
||||||
|
|
||||||
const-string/jumbo v0, "stickyHeadersManager"
|
const-string v0, "stickyHeadersManager"
|
||||||
|
|
||||||
iget-object v1, p0, Lcom/discord/widgets/channels/memberlist/adapter/ChannelMembersListAdapter;->memberList:Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersListViewModel$MemberList;
|
iget-object v1, p0, Lcom/discord/widgets/channels/memberlist/adapter/ChannelMembersListAdapter;->memberList:Lcom/discord/widgets/channels/memberlist/WidgetChannelMembersListViewModel$MemberList;
|
||||||
|
|
||||||
|
|
|
@ -71,12 +71,6 @@
|
||||||
|
|
||||||
invoke-static {v12, v1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
invoke-static {v12, v1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
|
||||||
const-string v1, "pendingReplyState"
|
|
||||||
|
|
||||||
move-object/from16 v15, p11
|
|
||||||
|
|
||||||
invoke-static {v15, v1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
||||||
|
|
||||||
iget-object v1, v0, Lcom/discord/widgets/chat/input/WidgetChatInputModel$Companion$get$1$2;->$channel:Lcom/discord/models/domain/ModelChannel;
|
iget-object v1, v0, Lcom/discord/widgets/chat/input/WidgetChatInputModel$Companion$get$1$2;->$channel:Lcom/discord/models/domain/ModelChannel;
|
||||||
|
|
||||||
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||||
|
@ -137,12 +131,12 @@
|
||||||
|
|
||||||
if-nez v8, :cond_1
|
if-nez v8, :cond_1
|
||||||
|
|
||||||
const/16 v16, 0x1
|
const/4 v15, 0x1
|
||||||
|
|
||||||
goto :goto_1
|
goto :goto_1
|
||||||
|
|
||||||
:cond_1
|
:cond_1
|
||||||
const/16 v16, 0x0
|
const/4 v15, 0x0
|
||||||
|
|
||||||
:goto_1
|
:goto_1
|
||||||
sget-object v5, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->Companion:Lcom/discord/widgets/chat/input/WidgetChatInputModel$Companion;
|
sget-object v5, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->Companion:Lcom/discord/widgets/chat/input/WidgetChatInputModel$Companion;
|
||||||
|
@ -196,6 +190,12 @@
|
||||||
|
|
||||||
move-result v13
|
move-result v13
|
||||||
|
|
||||||
|
const-string v5, "pendingReplyState"
|
||||||
|
|
||||||
|
move-object/from16 v10, p11
|
||||||
|
|
||||||
|
invoke-static {v10, v5}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
|
||||||
move-object/from16 v5, p1
|
move-object/from16 v5, p1
|
||||||
|
|
||||||
move-object/from16 v6, p2
|
move-object/from16 v6, p2
|
||||||
|
@ -206,8 +206,6 @@
|
||||||
|
|
||||||
move-object/from16 v12, p7
|
move-object/from16 v12, p7
|
||||||
|
|
||||||
move/from16 v15, v16
|
|
||||||
|
|
||||||
move/from16 v16, p10
|
move/from16 v16, p10
|
||||||
|
|
||||||
move-object/from16 v17, p11
|
move-object/from16 v17, p11
|
||||||
|
|
|
@ -290,8 +290,16 @@
|
||||||
|
|
||||||
invoke-static {v2, v13, v14}, Lcom/discord/widgets/chat/input/WidgetChatInputModel$Companion;->access$observePendingReplyState(Lcom/discord/widgets/chat/input/WidgetChatInputModel$Companion;J)Lrx/Observable;
|
invoke-static {v2, v13, v14}, Lcom/discord/widgets/chat/input/WidgetChatInputModel$Companion;->access$observePendingReplyState(Lcom/discord/widgets/chat/input/WidgetChatInputModel$Companion;J)Lrx/Observable;
|
||||||
|
|
||||||
|
move-result-object v2
|
||||||
|
|
||||||
|
invoke-virtual {v2}, Lrx/Observable;->q()Lrx/Observable;
|
||||||
|
|
||||||
move-result-object v13
|
move-result-object v13
|
||||||
|
|
||||||
|
const-string v2, "observePendingReplyState\u2026 .distinctUntilChanged()"
|
||||||
|
|
||||||
|
invoke-static {v13, v2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
|
||||||
new-instance v14, Lcom/discord/widgets/chat/input/WidgetChatInputModel$Companion$get$1$2;
|
new-instance v14, Lcom/discord/widgets/chat/input/WidgetChatInputModel$Companion$get$1$2;
|
||||||
|
|
||||||
move-object/from16 v2, p0
|
move-object/from16 v2, p0
|
||||||
|
|
|
@ -446,7 +446,7 @@
|
||||||
|
|
||||||
new-array v2, v0, [Ljava/lang/Object;
|
new-array v2, v0, [Ljava/lang/Object;
|
||||||
|
|
||||||
const-string v4, "46.0"
|
const-string v4, "46.1"
|
||||||
|
|
||||||
aput-object v4, v2, v3
|
aput-object v4, v2, v3
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@
|
||||||
|
|
||||||
invoke-static {p2, v7}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
invoke-static {p2, v7}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
|
||||||
const-string/jumbo v7, "stockGuildTemplate"
|
const-string v7, "stockGuildTemplate"
|
||||||
|
|
||||||
invoke-static {v3, v7}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
invoke-static {v3, v7}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
|
||||||
|
|
|
@ -1950,7 +1950,7 @@
|
||||||
|
|
||||||
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||||
|
|
||||||
const-string v0, " - 46.0 (1301)"
|
const-string v0, " - 46.1 (1302)"
|
||||||
|
|
||||||
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||||
|
|
||||||
|
|
|
@ -194,9 +194,9 @@
|
||||||
|
|
||||||
if-eqz v8, :cond_d
|
if-eqz v8, :cond_d
|
||||||
|
|
||||||
const-string/jumbo v10, "text/*"
|
const-string v10, "text/*"
|
||||||
|
|
||||||
const-string/jumbo v11, "video/*"
|
const-string v11, "video/*"
|
||||||
|
|
||||||
filled-new-array {v10, v6, v11}, [Ljava/lang/String;
|
filled-new-array {v10, v6, v11}, [Ljava/lang/String;
|
||||||
|
|
Loading…
Reference in a new issue