Changes of com.discord v1302
This commit is contained in:
parent
965ee1b306
commit
b5721801ad
26 changed files with 371 additions and 60 deletions
|
@ -42,11 +42,11 @@
|
|||
|
||||
.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
|
||||
|
|
|
@ -393,7 +393,7 @@
|
|||
|
||||
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
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
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
|
||||
|
||||
|
|
|
@ -66,31 +66,45 @@
|
|||
.method public final invoke()V
|
||||
.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
|
||||
|
||||
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
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
invoke-static {v1}, Lcom/discord/stores/StorePendingReplies;->access$getPendingReplies$p(Lcom/discord/stores/StorePendingReplies;)Lcom/discord/utilities/collections/SnowflakePartitionMap$CopiablePartitionMap;
|
||||
|
||||
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;
|
||||
|
||||
|
@ -112,25 +126,25 @@
|
|||
|
||||
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"
|
||||
|
||||
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;
|
||||
|
||||
|
|
|
@ -173,7 +173,7 @@
|
|||
|
||||
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
|
||||
|
||||
|
@ -181,7 +181,7 @@
|
|||
|
||||
const/4 v1, 0x2
|
||||
|
||||
const/16 v2, 0x515
|
||||
const/16 v2, 0x516
|
||||
|
||||
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
@ -201,7 +201,7 @@
|
|||
|
||||
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
|
||||
|
||||
|
|
|
@ -4074,7 +4074,7 @@
|
|||
.method public final createGuildViewed(Lcom/discord/widgets/guilds/create/StockGuildTemplate;Lcom/discord/models/domain/ModelGuildTemplate;Ljava/lang/String;)V
|
||||
.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
|
||||
|
||||
|
|
|
@ -159,7 +159,7 @@
|
|||
.method public getUserAgent()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "Discord-Android/1301"
|
||||
const-string v0, "Discord-Android/1302"
|
||||
|
||||
return-object v0
|
||||
.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_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_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$CovidNewUserSurvey;,
|
||||
Lcom/discord/utilities/surveys/SurveyUtils$Survey$ProductFeedbackSurvey;,
|
||||
Lcom/discord/utilities/surveys/SurveyUtils$Survey$BrandSurvey;,
|
||||
Lcom/discord/utilities/surveys/SurveyUtils$Survey$NoticeKeys;
|
||||
}
|
||||
.end annotation
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
|
||||
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
|
||||
:goto_0
|
||||
|
@ -94,7 +94,7 @@
|
|||
|
||||
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
|
||||
:goto_1
|
||||
|
@ -117,7 +117,7 @@
|
|||
|
||||
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
|
||||
:goto_2
|
||||
|
@ -130,9 +130,9 @@
|
|||
:cond_6
|
||||
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;
|
||||
|
||||
|
@ -140,13 +140,36 @@
|
|||
|
||||
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
|
||||
: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;
|
||||
|
||||
:goto_4
|
||||
:goto_5
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
|
||||
|
||||
# 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_COVID_NEW_USER:I = 0x6
|
||||
|
|
|
@ -204,7 +204,7 @@
|
|||
return-object p0
|
||||
|
||||
:cond_0
|
||||
const-string/jumbo p0, "stickyHeadersManager"
|
||||
const-string p0, "stickyHeadersManager"
|
||||
|
||||
invoke-static {p0}, Lc0/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
|
@ -260,7 +260,7 @@
|
|||
.method public getAndBindHeaderView(I)Landroid/view/View;
|
||||
.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;
|
||||
|
||||
|
|
|
@ -71,12 +71,6 @@
|
|||
|
||||
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;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
||||
|
@ -137,12 +131,12 @@
|
|||
|
||||
if-nez v8, :cond_1
|
||||
|
||||
const/16 v16, 0x1
|
||||
const/4 v15, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const/16 v16, 0x0
|
||||
const/4 v15, 0x0
|
||||
|
||||
:goto_1
|
||||
sget-object v5, Lcom/discord/widgets/chat/input/WidgetChatInputModel;->Companion:Lcom/discord/widgets/chat/input/WidgetChatInputModel$Companion;
|
||||
|
@ -196,6 +190,12 @@
|
|||
|
||||
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 v6, p2
|
||||
|
@ -206,8 +206,6 @@
|
|||
|
||||
move-object/from16 v12, p7
|
||||
|
||||
move/from16 v15, v16
|
||||
|
||||
move/from16 v16, p10
|
||||
|
||||
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;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2}, Lrx/Observable;->q()Lrx/Observable;
|
||||
|
||||
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;
|
||||
|
||||
move-object/from16 v2, p0
|
||||
|
|
|
@ -446,7 +446,7 @@
|
|||
|
||||
new-array v2, v0, [Ljava/lang/Object;
|
||||
|
||||
const-string v4, "46.0"
|
||||
const-string v4, "46.1"
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -1,158 +0,0 @@
|
|||
.class public final Lf/a/a/f$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/a/a/f;->onViewBound(Landroid/view/View;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
.field public final synthetic e:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(ILjava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Lf/a/a/f$a;->d:I
|
||||
|
||||
iput-object p2, p0, Lf/a/a/f$a;->e:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 12
|
||||
|
||||
iget v0, p0, Lf/a/a/f$a;->d:I
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
if-eq v0, v1, :cond_2
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
if-eq v0, v2, :cond_1
|
||||
|
||||
const/4 p1, 0x3
|
||||
|
||||
if-ne v0, p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lf/a/a/f$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lf/a/a/f;
|
||||
|
||||
invoke-static {p1}, Lf/a/a/f;->f(Lf/a/a/f;)Lcom/google/android/material/switchmaterial/SwitchMaterial;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Landroidx/appcompat/widget/SwitchCompat;->toggle()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
throw v1
|
||||
|
||||
:cond_1
|
||||
sget-object v0, Lcom/discord/utilities/analytics/AnalyticsTracker;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker;
|
||||
|
||||
new-instance v11, Lcom/discord/utilities/analytics/Traits$Location;
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
const/16 v9, 0x1d
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
const-string v5, "File Upload Popout (w/ Compression)"
|
||||
|
||||
move-object v3, v11
|
||||
|
||||
invoke-direct/range {v3 .. v10}, Lcom/discord/utilities/analytics/Traits$Location;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
invoke-virtual {v0, v11}, Lcom/discord/utilities/analytics/AnalyticsTracker;->premiumSettingsOpened(Lcom/discord/utilities/analytics/Traits$Location;)V
|
||||
|
||||
sget-object v0, Lcom/discord/widgets/settings/premium/WidgetSettingsPremium;->Companion:Lcom/discord/widgets/settings/premium/WidgetSettingsPremium$Companion;
|
||||
|
||||
const-string v3, "it"
|
||||
|
||||
invoke-static {p1, v3}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v3, "it.context"
|
||||
|
||||
invoke-static {p1, v3}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0, p1, v1, v2, v1}, Lcom/discord/widgets/settings/premium/WidgetSettingsPremium$Companion;->launch$default(Lcom/discord/widgets/settings/premium/WidgetSettingsPremium$Companion;Landroid/content/Context;Ljava/lang/Integer;ILjava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Lf/a/a/f$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lf/a/a/f;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/app/AppDialog;->dismiss()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
iget-object p1, p0, Lf/a/a/f$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lf/a/a/f;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/app/AppDialog;->dismiss()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
iget-object p1, p0, Lf/a/a/f$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lf/a/a/f;
|
||||
|
||||
iget-object p1, p1, Lf/a/a/f;->m:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Lkotlin/Unit;
|
||||
|
||||
:cond_4
|
||||
iget-object p1, p0, Lf/a/a/f$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lf/a/a/f;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/app/AppDialog;->dismiss()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,522 +0,0 @@
|
|||
.class public final Lf/b/a/a/a$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/b/a/a/a;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
.field public final synthetic e:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(ILjava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Lf/b/a/a/a$a;->d:I
|
||||
|
||||
iput-object p2, p0, Lf/b/a/a/a$a;->e:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 16
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
iget v1, v0, Lf/b/a/a/a$a;->d:I
|
||||
|
||||
if-eqz v1, :cond_11
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-eq v1, v2, :cond_1
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
if-ne v1, v2, :cond_0
|
||||
|
||||
iget-object v1, v0, Lf/b/a/a/a$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast v1, Landroidx/fragment/app/Fragment;
|
||||
|
||||
check-cast v1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-virtual {v1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->q()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
throw v3
|
||||
|
||||
:cond_1
|
||||
iget-object v1, v0, Lf/b/a/a/a$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast v1, Lf/b/a/a/a;
|
||||
|
||||
if-eqz v1, :cond_10
|
||||
|
||||
new-instance v4, Landroid/content/Intent;
|
||||
|
||||
const-string v5, "android.intent.action.PICK"
|
||||
|
||||
invoke-direct {v4, v5}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
const-string v6, "image/*"
|
||||
|
||||
invoke-virtual {v4, v6}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const-string v7, "android.intent.extra.ALLOW_MULTIPLE"
|
||||
|
||||
invoke-virtual {v4, v7, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const-string v8, "Intent(Intent.ACTION_PIC\u2026TRA_ALLOW_MULTIPLE, true)"
|
||||
|
||||
invoke-static {v4, v8}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v8, Landroid/util/TypedValue;
|
||||
|
||||
invoke-direct {v8}, Landroid/util/TypedValue;-><init>()V
|
||||
|
||||
invoke-virtual {v1}, Landroidx/fragment/app/DialogFragment;->getDialog()Landroid/app/Dialog;
|
||||
|
||||
move-result-object v9
|
||||
|
||||
if-eqz v9, :cond_2
|
||||
|
||||
invoke-virtual {v9}, Landroid/app/Dialog;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v9
|
||||
|
||||
if-eqz v9, :cond_2
|
||||
|
||||
invoke-virtual {v9}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;
|
||||
|
||||
move-result-object v9
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
move-object v9, v3
|
||||
|
||||
:goto_0
|
||||
if-eqz v9, :cond_3
|
||||
|
||||
sget v10, Lcom/lytefast/flexinput/R$b;->flexInputAddContentLauncherTitle:I
|
||||
|
||||
invoke-virtual {v9, v10, v8, v2}, Landroid/content/res/Resources$Theme;->resolveAttribute(ILandroid/util/TypedValue;Z)Z
|
||||
|
||||
move-result v9
|
||||
|
||||
if-eqz v9, :cond_3
|
||||
|
||||
iget-object v8, v8, Landroid/util/TypedValue;->string:Ljava/lang/CharSequence;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
move-object v8, v3
|
||||
|
||||
:goto_1
|
||||
const/4 v9, 0x0
|
||||
|
||||
if-eqz v8, :cond_5
|
||||
|
||||
invoke-static {v8}, Lc0/t/k;->isBlank(Ljava/lang/CharSequence;)Z
|
||||
|
||||
move-result v10
|
||||
|
||||
if-eqz v10, :cond_4
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_4
|
||||
const/4 v10, 0x0
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_5
|
||||
:goto_2
|
||||
const/4 v10, 0x1
|
||||
|
||||
:goto_3
|
||||
if-eqz v10, :cond_6
|
||||
|
||||
sget v8, Lcom/lytefast/flexinput/R$g;->choose_an_application:I
|
||||
|
||||
invoke-virtual {v1, v8}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
const-string v10, "getString(R.string.choose_an_application)"
|
||||
|
||||
invoke-static {v8, v10}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
:cond_6
|
||||
invoke-static {v4, v8}, Landroid/content/Intent;->createChooser(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
if-eqz v8, :cond_d
|
||||
|
||||
invoke-virtual {v8}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
if-eqz v8, :cond_d
|
||||
|
||||
const-string/jumbo v10, "text/*"
|
||||
|
||||
const-string/jumbo v11, "video/*"
|
||||
|
||||
filled-new-array {v10, v6, v11}, [Ljava/lang/String;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
new-instance v10, Landroid/content/Intent;
|
||||
|
||||
const-string v11, "android.intent.action.GET_CONTENT"
|
||||
|
||||
invoke-direct {v10, v11}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
const-string v12, "application/*"
|
||||
|
||||
invoke-virtual {v10, v12}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v10
|
||||
|
||||
const-string v12, "android.intent.extra.MIME_TYPES"
|
||||
|
||||
invoke-virtual {v10, v12, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
const-string v10, "android.intent.category.OPENABLE"
|
||||
|
||||
invoke-virtual {v6, v10}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
const-string v12, "android.intent.category.DEFAULT"
|
||||
|
||||
invoke-virtual {v6, v12}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
invoke-virtual {v6, v7, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
invoke-virtual {v8, v6, v9}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
const-string v8, "packageManager\n \u2026 0\n )"
|
||||
|
||||
invoke-static {v6, v8}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v8, Ljava/util/ArrayList;
|
||||
|
||||
invoke-interface {v6}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v13
|
||||
|
||||
add-int/2addr v13, v2
|
||||
|
||||
invoke-direct {v8, v13}, Ljava/util/ArrayList;-><init>(I)V
|
||||
|
||||
invoke-interface {v6}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
:goto_4
|
||||
invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v13
|
||||
|
||||
if-eqz v13, :cond_7
|
||||
|
||||
invoke-interface {v6}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v13
|
||||
|
||||
check-cast v13, Landroid/content/pm/ResolveInfo;
|
||||
|
||||
new-instance v14, Landroid/content/ComponentName;
|
||||
|
||||
iget-object v15, v13, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
|
||||
|
||||
iget-object v3, v15, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;
|
||||
|
||||
iget-object v15, v15, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;
|
||||
|
||||
invoke-direct {v14, v3, v15}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
new-instance v3, Landroid/content/Intent;
|
||||
|
||||
invoke-direct {v3, v11}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v3, v7, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3, v12}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3, v10}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3, v14}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
iget-object v13, v13, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
|
||||
|
||||
iget-object v13, v13, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v3, v13}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v8, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_7
|
||||
invoke-virtual {v8}, Ljava/util/ArrayList;->isEmpty()Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_8
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_8
|
||||
invoke-virtual {v8}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
:cond_9
|
||||
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_a
|
||||
|
||||
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
check-cast v6, Landroid/content/Intent;
|
||||
|
||||
const-string v10, "it"
|
||||
|
||||
invoke-static {v6, v10}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v6}, Landroid/content/Intent;->getPackage()Ljava/lang/String;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
const-string v10, "com.google.android.apps.docs"
|
||||
|
||||
invoke-static {v6, v10}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_9
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:cond_a
|
||||
:goto_5
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_6
|
||||
if-nez v3, :cond_e
|
||||
|
||||
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-eqz v3, :cond_c
|
||||
|
||||
const-string v6, "context ?: return null"
|
||||
|
||||
invoke-static {v3, v6}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v3}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
new-instance v6, Landroid/content/Intent;
|
||||
|
||||
invoke-direct {v6, v5}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v6, v7, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v3, v2, v9}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-string v3, "context.packageManager\n \u2026 0\n )"
|
||||
|
||||
invoke-static {v2, v3}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
:cond_b
|
||||
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_c
|
||||
|
||||
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Landroid/content/pm/ResolveInfo;
|
||||
|
||||
new-instance v6, Landroid/content/ComponentName;
|
||||
|
||||
iget-object v7, v3, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
|
||||
|
||||
iget-object v10, v7, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;
|
||||
|
||||
iget-object v7, v7, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;
|
||||
|
||||
invoke-direct {v6, v10, v7}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
iget-object v7, v3, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
|
||||
|
||||
iget-object v7, v7, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;
|
||||
|
||||
const-string v10, "com.google.android.apps.docs.app.PickActivity"
|
||||
|
||||
invoke-static {v7, v10}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v7
|
||||
|
||||
if-eqz v7, :cond_b
|
||||
|
||||
new-instance v2, Landroid/content/Intent;
|
||||
|
||||
invoke-direct {v2, v5}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v2, v6}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iget-object v3, v3, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
|
||||
|
||||
iget-object v3, v3, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v2, v3}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_c
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_7
|
||||
if-eqz v3, :cond_e
|
||||
|
||||
invoke-virtual {v8, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_8
|
||||
|
||||
:cond_d
|
||||
sget-object v8, Lc0/i/l;->d:Lc0/i/l;
|
||||
|
||||
:cond_e
|
||||
:goto_8
|
||||
new-array v2, v9, [Landroid/content/Intent;
|
||||
|
||||
invoke-interface {v8, v2}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
if-eqz v2, :cond_f
|
||||
|
||||
check-cast v2, [Landroid/os/Parcelable;
|
||||
|
||||
const-string v3, "android.intent.extra.INITIAL_INTENTS"
|
||||
|
||||
invoke-virtual {v4, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[Landroid/os/Parcelable;)Landroid/content/Intent;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-string v3, "Intent.createChooser(ima\u2026llIntents.toTypedArray())"
|
||||
|
||||
invoke-static {v2, v3}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/16 v3, 0x1750
|
||||
|
||||
invoke-virtual {v1, v2, v3}, Landroidx/fragment/app/Fragment;->startActivityForResult(Landroid/content/Intent;I)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_f
|
||||
new-instance v1, Ljava/lang/NullPointerException;
|
||||
|
||||
const-string v2, "null cannot be cast to non-null type kotlin.Array<T>"
|
||||
|
||||
invoke-direct {v1, v2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v1
|
||||
|
||||
:cond_10
|
||||
move-object v1, v3
|
||||
|
||||
throw v1
|
||||
|
||||
:cond_11
|
||||
iget-object v1, v0, Lf/b/a/a/a$a;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast v1, Lf/b/a/a/a;
|
||||
|
||||
invoke-static {v1}, Lf/b/a/a/a;->f(Lf/b/a/a/a;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,121 +0,0 @@
|
|||
.class public final Lh;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
.field public final synthetic e:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(ILjava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Lh;->d:I
|
||||
|
||||
iput-object p2, p0, Lh;->e:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 1
|
||||
|
||||
iget p1, p0, Lh;->d:I
|
||||
|
||||
if-eqz p1, :cond_7
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
if-eq p1, v0, :cond_6
|
||||
|
||||
const/4 v0, 0x2
|
||||
|
||||
if-eq p1, v0, :cond_4
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
if-eq p1, v0, :cond_2
|
||||
|
||||
const/4 v0, 0x4
|
||||
|
||||
if-ne p1, v0, :cond_1
|
||||
|
||||
iget-object p1, p0, Lh;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->y:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-interface {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;->onExpandButtonClicked()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
iget-object p1, p0, Lh;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->y:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
invoke-interface {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;->onGalleryButtonClicked()V
|
||||
|
||||
:cond_3
|
||||
return-void
|
||||
|
||||
:cond_4
|
||||
iget-object p1, p0, Lh;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->y:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
||||
|
||||
if-eqz p1, :cond_5
|
||||
|
||||
invoke-interface {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;->onCameraButtonClicked()V
|
||||
|
||||
:cond_5
|
||||
return-void
|
||||
|
||||
:cond_6
|
||||
iget-object p1, p0, Lh;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->q()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_7
|
||||
iget-object p1, p0, Lh;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->y:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
||||
|
||||
if-eqz p1, :cond_8
|
||||
|
||||
invoke-interface {p1}, Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;->onExpressionTrayButtonClicked()V
|
||||
|
||||
:cond_8
|
||||
return-void
|
||||
.end method
|
|
@ -1,124 +0,0 @@
|
|||
.class public final Li;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnClickListener;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
.field public final synthetic e:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(ILjava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Li;->d:I
|
||||
|
||||
iput-object p2, p0, Li;->e:Ljava/lang/Object;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onClick(Landroid/view/View;)V
|
||||
.locals 5
|
||||
|
||||
iget p1, p0, Li;->d:I
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
iget-object p1, p0, Li;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/discord/views/OverlayMenuView;
|
||||
|
||||
invoke-virtual {p1}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance v0, Landroid/content/Intent;
|
||||
|
||||
sget-object v1, Lcom/discord/utilities/intent/IntentUtils$RouteBuilders$Uris;->INSTANCE:Lcom/discord/utilities/intent/IntentUtils$RouteBuilders$Uris;
|
||||
|
||||
invoke-virtual {v1}, Lcom/discord/utilities/intent/IntentUtils$RouteBuilders$Uris;->getApp()Landroid/net/Uri;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v2, p0, Li;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast v2, Lcom/discord/views/OverlayMenuView;
|
||||
|
||||
invoke-virtual {v2}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-class v3, Lcom/discord/app/AppActivity$Main;
|
||||
|
||||
const-string v4, "android.intent.action.VIEW"
|
||||
|
||||
invoke-direct {v0, v4, v1, v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;Landroid/content/Context;Ljava/lang/Class;)V
|
||||
|
||||
const/high16 v1, 0x10000000
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
|
||||
|
||||
iget-object p1, p0, Li;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/discord/views/OverlayMenuView;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/views/OverlayMenuView;->getOnDismissRequested$app_productionDiscordExternalRelease()Lkotlin/jvm/functions/Function0;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
sget-object p1, Lcom/discord/utilities/voice/DiscordOverlayService;->Companion:Lcom/discord/utilities/voice/DiscordOverlayService$Companion;
|
||||
|
||||
iget-object v0, p0, Li;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Lcom/discord/views/OverlayMenuView;
|
||||
|
||||
invoke-virtual {v0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "context"
|
||||
|
||||
invoke-static {v0, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Lcom/discord/utilities/voice/DiscordOverlayService$Companion;->launchForVoiceChannelSelect(Landroid/content/Context;)V
|
||||
|
||||
iget-object p1, p0, Li;->e:Ljava/lang/Object;
|
||||
|
||||
check-cast p1, Lcom/discord/views/OverlayMenuView;
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/views/OverlayMenuView;->getOnDismissRequested$app_productionDiscordExternalRelease()Lkotlin/jvm/functions/Function0;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue