apkfuckery/com.discord/smali/com/discord/widgets/auth/WidgetOauth2Authorize.smali

2304 lines
66 KiB
Smali
Raw Normal View History

2019-08-21 02:12:52 +00:00
.class public Lcom/discord/widgets/auth/WidgetOauth2Authorize;
2019-07-24 11:27:29 +00:00
.super Lcom/discord/app/AppFragment;
2019-08-21 02:12:52 +00:00
.source "WidgetOauth2Authorize.kt"
2019-07-24 11:27:29 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2019-08-22 06:13:42 +00:00
Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;,
Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;,
2019-08-21 02:12:52 +00:00
Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;,
Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;,
Lcom/discord/widgets/auth/WidgetOauth2Authorize$Companion;
2019-07-24 11:27:29 +00:00
}
.end annotation
# static fields
2019-12-06 03:29:40 +00:00
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
.field public static final Companion:Lcom/discord/widgets/auth/WidgetOauth2Authorize$Companion;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public static final INTENT_PARAM_URI:Ljava/lang/String; = "REQ_URI"
2019-07-24 11:27:29 +00:00
.field public static final QUERY_PARAM_CLIENT_ID:Ljava/lang/String; = "client_id"
2019-10-01 14:15:45 +00:00
.field public static final QUERY_PARAM_CODE_CHALLENGE:Ljava/lang/String; = "code_challenge"
.field public static final QUERY_PARAM_CODE_CHALLENGE_METHOD:Ljava/lang/String; = "code_challenge_method"
2019-08-06 02:07:27 +00:00
.field public static final QUERY_PARAM_PERMISSIONS:Ljava/lang/String; = "permissions"
2019-07-24 11:27:29 +00:00
.field public static final QUERY_PARAM_REDIRECT:Ljava/lang/String; = "redirect_uri"
.field public static final QUERY_PARAM_RESPONSE_TYPE:Ljava/lang/String; = "response_type"
.field public static final QUERY_PARAM_SCOPE:Ljava/lang/String; = "scope"
.field public static final QUERY_PARAM_STATE:Ljava/lang/String; = "state"
# instance fields
2019-12-06 03:29:40 +00:00
.field public final adapter:Lcom/discord/utilities/views/SimpleRecyclerAdapter;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/discord/utilities/views/SimpleRecyclerAdapter<",
2019-08-21 02:12:52 +00:00
"Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;",
"Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuthPermissionViewHolder;",
2019-07-24 11:27:29 +00:00
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public final appIconIv$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final appNameTv$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final contentScreen$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final denyBtns$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final grantBtn$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final loadingScreen$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final notSupportedScreen$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
.field public oauth2ViewModel:Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final permissionsLabelTv$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final permissionsList$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final securityNoticeTv$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final unsupportedBtn$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-08-14 23:59:34 +00:00
2019-12-06 03:29:40 +00:00
.field public final validationManager$delegate:Lkotlin/Lazy;
2019-08-17 08:22:04 +00:00
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-08-30 20:04:20 +00:00
.locals 6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/16 v0, 0xc
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-array v0, v0, [Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
new-instance v1, Ls/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v2, Lcom/discord/widgets/auth/WidgetOauth2Authorize;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v2}, Ls/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ls/y/b;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v3, "appIconIv"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v4, "getAppIconIv()Lcom/facebook/drawee/view/SimpleDraweeView;"
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-direct {v1, v2, v3, v4}, Ls/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
sget-object v2, Ls/u/b/w;->a:Ls/u/b/x;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v2, v1}, Ls/u/b/x;->property1(Ls/u/b/t;)Ls/y/d;
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v1, v0, v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x1
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
new-instance v2, Ls/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/widgets/auth/WidgetOauth2Authorize;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ls/y/b;
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v4, "appNameTv"
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v5, "getAppNameTv()Landroid/widget/TextView;"
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-direct {v2, v3, v4, v5}, Ls/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
sget-object v3, Ls/u/b/w;->a:Ls/u/b/x;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v3, v2}, Ls/u/b/x;->property1(Ls/u/b/t;)Ls/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x2
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
new-instance v2, Ls/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/widgets/auth/WidgetOauth2Authorize;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ls/y/b;
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v4, "permissionsLabelTv"
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v5, "getPermissionsLabelTv()Lcom/discord/app/AppTextView;"
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-direct {v2, v3, v4, v5}, Ls/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
sget-object v3, Ls/u/b/w;->a:Ls/u/b/x;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v3, v2}, Ls/u/b/x;->property1(Ls/u/b/t;)Ls/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x3
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
new-instance v2, Ls/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/widgets/auth/WidgetOauth2Authorize;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ls/y/b;
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v4, "securityNoticeTv"
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v5, "getSecurityNoticeTv()Lcom/discord/app/AppTextView;"
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-direct {v2, v3, v4, v5}, Ls/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
sget-object v3, Ls/u/b/w;->a:Ls/u/b/x;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v3, v2}, Ls/u/b/x;->property1(Ls/u/b/t;)Ls/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x4
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
new-instance v2, Ls/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/widgets/auth/WidgetOauth2Authorize;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ls/y/b;
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v4, "permissionsList"
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v5, "getPermissionsList()Landroidx/recyclerview/widget/RecyclerView;"
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-direct {v2, v3, v4, v5}, Ls/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
sget-object v3, Ls/u/b/w;->a:Ls/u/b/x;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v3, v2}, Ls/u/b/x;->property1(Ls/u/b/t;)Ls/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x5
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
new-instance v2, Ls/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/widgets/auth/WidgetOauth2Authorize;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ls/y/b;
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v4, "grantBtn"
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v5, "getGrantBtn()Landroid/widget/Button;"
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-direct {v2, v3, v4, v5}, Ls/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
sget-object v3, Ls/u/b/w;->a:Ls/u/b/x;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v3, v2}, Ls/u/b/x;->property1(Ls/u/b/t;)Ls/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x6
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
new-instance v2, Ls/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/widgets/auth/WidgetOauth2Authorize;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ls/y/b;
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v4, "unsupportedBtn"
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v5, "getUnsupportedBtn()Landroid/widget/Button;"
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-direct {v2, v3, v4, v5}, Ls/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
sget-object v3, Ls/u/b/w;->a:Ls/u/b/x;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v3, v2}, Ls/u/b/x;->property1(Ls/u/b/t;)Ls/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-08-14 23:59:34 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x7
2019-08-14 23:59:34 +00:00
2019-12-13 02:35:12 +00:00
new-instance v2, Ls/u/b/u;
2019-08-14 23:59:34 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/widgets/auth/WidgetOauth2Authorize;
2019-08-14 23:59:34 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ls/y/b;
2019-08-14 23:59:34 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-08-14 23:59:34 +00:00
2019-08-30 20:04:20 +00:00
const-string v4, "denyBtns"
2019-08-14 23:59:34 +00:00
2019-08-30 20:04:20 +00:00
const-string v5, "getDenyBtns()Ljava/util/List;"
2019-08-14 23:59:34 +00:00
2019-12-13 02:35:12 +00:00
invoke-direct {v2, v3, v4, v5}, Ls/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-08-14 23:59:34 +00:00
2019-12-13 02:35:12 +00:00
sget-object v3, Ls/u/b/w;->a:Ls/u/b/x;
2019-08-14 23:59:34 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v3, v2}, Ls/u/b/x;->property1(Ls/u/b/t;)Ls/y/d;
2019-08-14 23:59:34 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/16 v1, 0x8
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
new-instance v2, Ls/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/widgets/auth/WidgetOauth2Authorize;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ls/y/b;
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v4, "loadingScreen"
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v5, "getLoadingScreen()Landroid/view/View;"
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-direct {v2, v3, v4, v5}, Ls/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
sget-object v3, Ls/u/b/w;->a:Ls/u/b/x;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v3, v2}, Ls/u/b/x;->property1(Ls/u/b/t;)Ls/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/16 v1, 0x9
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
new-instance v2, Ls/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/widgets/auth/WidgetOauth2Authorize;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ls/y/b;
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v4, "contentScreen"
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v5, "getContentScreen()Landroid/view/View;"
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-direct {v2, v3, v4, v5}, Ls/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
sget-object v3, Ls/u/b/w;->a:Ls/u/b/x;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v3, v2}, Ls/u/b/x;->property1(Ls/u/b/t;)Ls/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/16 v1, 0xa
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
new-instance v2, Ls/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/widgets/auth/WidgetOauth2Authorize;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ls/y/b;
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v4, "notSupportedScreen"
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
const-string v5, "getNotSupportedScreen()Landroid/view/View;"
2019-08-06 02:07:27 +00:00
2019-12-13 02:35:12 +00:00
invoke-direct {v2, v3, v4, v5}, Ls/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-08-06 02:07:27 +00:00
2019-12-13 02:35:12 +00:00
sget-object v3, Ls/u/b/w;->a:Ls/u/b/x;
2019-08-06 02:07:27 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v3, v2}, Ls/u/b/x;->property1(Ls/u/b/t;)Ls/y/d;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
const/16 v1, 0xb
2019-08-17 08:22:04 +00:00
2019-12-13 02:35:12 +00:00
new-instance v2, Ls/u/b/u;
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/widgets/auth/WidgetOauth2Authorize;
2019-08-17 08:22:04 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ls/y/b;
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v3
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
const-string v4, "validationManager"
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
const-string v5, "getValidationManager()Lcom/discord/utilities/view/validators/ValidationManager;"
2019-08-17 08:22:04 +00:00
2019-12-13 02:35:12 +00:00
invoke-direct {v2, v3, v4, v5}, Ls/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-08-17 08:22:04 +00:00
2019-12-13 02:35:12 +00:00
sget-object v3, Ls/u/b/w;->a:Ls/u/b/x;
2019-08-17 08:22:04 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v3, v2}, Ls/u/b/x;->property1(Ls/u/b/t;)Ls/y/d;
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
sput-object v0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
new-instance v0, Lcom/discord/widgets/auth/WidgetOauth2Authorize$Companion;
2019-07-24 11:27:29 +00:00
const/4 v1, 0x0
2019-08-21 02:12:52 +00:00
invoke-direct {v0, v1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
sput-object v0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->Companion:Lcom/discord/widgets/auth/WidgetOauth2Authorize$Companion;
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public constructor <init>()V
.locals 4
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
2019-12-13 02:35:12 +00:00
const v0, 0x7f0a04dd
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-08-21 02:12:52 +00:00
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->appIconIv$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
const v0, 0x7f0a04de
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-08-21 02:12:52 +00:00
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->appNameTv$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
const v0, 0x7f0a04e6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-08-21 02:12:52 +00:00
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->permissionsLabelTv$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
const v0, 0x7f0a04e8
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-08-21 02:12:52 +00:00
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->securityNoticeTv$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
const v0, 0x7f0a04e7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-08-21 02:12:52 +00:00
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->permissionsList$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
const v0, 0x7f0a04e2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-08-21 02:12:52 +00:00
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->grantBtn$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
const v0, 0x7f0a04e9
2019-08-14 23:59:34 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-08-14 23:59:34 +00:00
move-result-object v0
2019-08-21 02:12:52 +00:00
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->unsupportedBtn$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-08-14 23:59:34 +00:00
2019-08-06 02:07:27 +00:00
const/4 v0, 0x3
2019-07-24 11:27:29 +00:00
new-array v0, v0, [I
fill-array-data v0, :array_0
2019-12-06 03:29:40 +00:00
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->a(Landroidx/fragment/app/Fragment;[I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-08-21 02:12:52 +00:00
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->denyBtns$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
const v0, 0x7f0a04e3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-08-21 02:12:52 +00:00
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->loadingScreen$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
const v0, 0x7f0a04e0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-08-21 02:12:52 +00:00
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->contentScreen$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
const v0, 0x7f0a04e5
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p0, v0}, Le/k/a/b/e/p/g;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
2019-08-06 02:07:27 +00:00
move-result-object v0
2019-08-21 02:12:52 +00:00
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->notSupportedScreen$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
new-instance v0, Lcom/discord/widgets/auth/WidgetOauth2Authorize$validationManager$2;
2019-08-17 08:22:04 +00:00
2019-08-21 02:12:52 +00:00
invoke-direct {v0, p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$validationManager$2;-><init>(Lcom/discord/widgets/auth/WidgetOauth2Authorize;)V
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v0}, Le/k/a/b/e/p/g;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
2019-08-17 08:22:04 +00:00
move-result-object v0
2019-08-21 02:12:52 +00:00
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->validationManager$delegate:Lkotlin/Lazy;
2019-08-17 08:22:04 +00:00
2019-07-24 11:27:29 +00:00
new-instance v0, Lcom/discord/utilities/views/SimpleRecyclerAdapter;
2019-08-21 02:12:52 +00:00
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize$adapter$1;->INSTANCE:Lcom/discord/widgets/auth/WidgetOauth2Authorize$adapter$1;
2019-07-24 11:27:29 +00:00
const/4 v2, 0x0
const/4 v3, 0x1
invoke-direct {v0, v2, v1, v3, v2}, Lcom/discord/utilities/views/SimpleRecyclerAdapter;-><init>(Ljava/util/List;Lkotlin/jvm/functions/Function2;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
2019-08-21 02:12:52 +00:00
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->adapter:Lcom/discord/utilities/views/SimpleRecyclerAdapter;
2019-07-24 11:27:29 +00:00
return-void
:array_0
.array-data 4
2019-12-13 02:35:12 +00:00
0x7f0a04e1
0x7f0a04e4
0x7f0a04ea
2019-07-24 11:27:29 +00:00
.end array-data
.end method
2019-08-21 02:12:52 +00:00
.method public static final synthetic access$authorizeApplication(Lcom/discord/widgets/auth/WidgetOauth2Authorize;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
.locals 0
2019-08-21 02:12:52 +00:00
invoke-direct {p0, p1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->authorizeApplication(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-08-21 02:12:52 +00:00
.method public static final synthetic access$getLoadingScreen$p(Lcom/discord/widgets/auth/WidgetOauth2Authorize;)Landroid/view/View;
2019-07-24 11:27:29 +00:00
.locals 0
2019-08-21 02:12:52 +00:00
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getLoadingScreen()Landroid/view/View;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
return-object p0
.end method
2019-08-21 02:12:52 +00:00
.method public static final synthetic access$getValidationManager$p(Lcom/discord/widgets/auth/WidgetOauth2Authorize;)Lcom/discord/utilities/view/validators/ValidationManager;
2019-07-24 11:27:29 +00:00
.locals 0
2019-08-21 02:12:52 +00:00
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getValidationManager()Lcom/discord/utilities/view/validators/ValidationManager;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object p0
return-object p0
2019-07-24 11:27:29 +00:00
.end method
2019-08-06 02:07:27 +00:00
.method private final authorizeApplication(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
.locals 11
2019-08-06 02:07:27 +00:00
2019-08-22 06:13:42 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->oauth2ViewModel:Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2019-08-06 02:07:27 +00:00
2019-08-22 06:13:42 +00:00
invoke-virtual {v0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;->getOauthAuthorize()Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;
2019-08-06 02:07:27 +00:00
move-result-object v0
2019-08-22 06:13:42 +00:00
invoke-virtual {v0, p1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;->post(Ljava/lang/String;)Lrx/Observable;
2019-08-06 02:07:27 +00:00
move-result-object p1
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
const/4 v2, 0x1
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p1, v0, v2, v1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
2019-08-06 02:07:27 +00:00
move-result-object p1
2019-12-06 03:29:40 +00:00
const/4 v0, 0x2
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p1, p0, v1, v0, v1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
2019-08-06 02:07:27 +00:00
move-result-object v3
2019-12-06 03:29:40 +00:00
const/4 v4, 0x0
2019-08-06 02:07:27 +00:00
const/4 v5, 0x0
2019-12-06 03:29:40 +00:00
new-instance v6, Lcom/discord/widgets/auth/WidgetOauth2Authorize$authorizeApplication$1;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v6, p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$authorizeApplication$1;-><init>(Lcom/discord/widgets/auth/WidgetOauth2Authorize;)V
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
const/4 v7, 0x0
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
new-instance v8, Lcom/discord/widgets/auth/WidgetOauth2Authorize$authorizeApplication$2;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v8, p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$authorizeApplication$2;-><init>(Lcom/discord/widgets/auth/WidgetOauth2Authorize;)V
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
const/16 v9, 0x16
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
const/4 v10, 0x0
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-static/range {v2 .. v10}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
return-void
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "oauth2ViewModel"
2019-08-06 02:07:27 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {p1}, Ls/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
throw v1
2019-08-06 02:07:27 +00:00
.end method
.method private final configureNotSupportedUI(Landroid/net/Uri;)V
2019-08-14 23:59:34 +00:00
.locals 2
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getNotSupportedScreen()Landroid/view/View;
2019-08-06 02:07:27 +00:00
move-result-object v0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
2019-08-21 02:12:52 +00:00
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getLoadingScreen()Landroid/view/View;
2019-08-06 02:07:27 +00:00
move-result-object v0
2019-08-14 23:59:34 +00:00
const/16 v1, 0x8
2019-08-06 02:07:27 +00:00
2019-08-14 23:59:34 +00:00
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getContentScreen()Landroid/view/View;
2019-08-06 02:07:27 +00:00
move-result-object v0
2019-08-14 23:59:34 +00:00
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getUnsupportedBtn()Landroid/widget/Button;
2019-08-06 02:07:27 +00:00
move-result-object v0
2019-08-21 02:12:52 +00:00
new-instance v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize$configureNotSupportedUI$1;
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
invoke-direct {v1, p0, p1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$configureNotSupportedUI$1;-><init>(Lcom/discord/widgets/auth/WidgetOauth2Authorize;Landroid/net/Uri;)V
2019-08-06 02:07:27 +00:00
2019-08-14 23:59:34 +00:00
invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-08-06 02:07:27 +00:00
return-void
.end method
2019-07-24 11:27:29 +00:00
.method private final configureSecurityNoticeUI(Ljava/util/List;)V
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
const-string v0, "rpc"
invoke-interface {p1, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1
const-string v1, "messages.read"
invoke-interface {p1, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 p1, 0x1
:goto_1
if-eqz v0, :cond_2
if-eqz p1, :cond_2
2019-12-14 00:19:47 +00:00
const p1, 0x7f120cd4
2019-07-24 11:27:29 +00:00
goto :goto_2
:cond_2
if-eqz p1, :cond_3
2019-12-14 00:19:47 +00:00
const p1, 0x7f120cd5
2019-07-24 11:27:29 +00:00
goto :goto_2
:cond_3
2019-12-14 00:19:47 +00:00
const p1, 0x7f120cdb
2019-07-24 11:27:29 +00:00
:goto_2
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object p1
2019-11-15 02:21:15 +00:00
const-string v0, "getString(\n when \u2026ty_notice\n }\n )"
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {p1, v0}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getSecurityNoticeTv()Lcom/discord/app/AppTextView;
2019-07-24 11:27:29 +00:00
move-result-object v0
sget-object v1, Lcom/discord/utilities/textprocessing/Parsers;->INSTANCE:Lcom/discord/utilities/textprocessing/Parsers;
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
2019-07-24 11:27:29 +00:00
move-result-object v2
const-string v3, "requireContext()"
2019-12-13 02:35:12 +00:00
invoke-static {v2, v3}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
2019-07-24 11:27:29 +00:00
move-result-object v3
2019-12-13 02:35:12 +00:00
const v4, 0x7f060152
2019-07-24 11:27:29 +00:00
invoke-static {v3, v4}, Lcom/discord/utilities/color/ColorCompat;->getColor(Landroid/content/Context;I)I
move-result v3
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
invoke-virtual {v1, v2, p1, v3}, Lcom/discord/utilities/textprocessing/Parsers;->parseMarkdown(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/Integer;)Ljava/lang/CharSequence;
move-result-object p1
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-08-17 08:22:04 +00:00
.method private final getAppIconIv()Lcom/facebook/drawee/view/SimpleDraweeView;
.locals 3
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->appIconIv$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/4 v2, 0x0
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
aget-object v1, v1, v2
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-08-06 02:07:27 +00:00
move-result-object v0
2019-08-17 08:22:04 +00:00
check-cast v0, Lcom/facebook/drawee/view/SimpleDraweeView;
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method private final getAppNameTv()Landroid/widget/TextView;
.locals 3
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->appNameTv$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
const/4 v2, 0x1
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
aget-object v1, v1, v2
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
check-cast v0, Landroid/widget/TextView;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method private final getContentScreen()Landroid/view/View;
.locals 3
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->contentScreen$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/16 v2, 0x9
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
aget-object v1, v1, v2
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
check-cast v0, Landroid/view/View;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method private final getDenyBtns()Ljava/util/List;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Landroid/widget/Button;",
">;"
}
.end annotation
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->denyBtns$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/4 v2, 0x7
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
aget-object v1, v1, v2
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
check-cast v0, Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method private final getGrantBtn()Landroid/widget/Button;
.locals 3
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->grantBtn$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/4 v2, 0x5
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
aget-object v1, v1, v2
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-08-06 02:07:27 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
check-cast v0, Landroid/widget/Button;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method private final getLoadingScreen()Landroid/view/View;
.locals 3
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->loadingScreen$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/16 v2, 0x8
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
aget-object v1, v1, v2
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
check-cast v0, Landroid/view/View;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method private final getNotSupportedScreen()Landroid/view/View;
.locals 3
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->notSupportedScreen$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/16 v2, 0xa
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-08-06 02:07:27 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
check-cast v0, Landroid/view/View;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method private final getPermissionsLabelTv()Lcom/discord/app/AppTextView;
.locals 3
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->permissionsLabelTv$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/4 v2, 0x2
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-08-06 02:07:27 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
check-cast v0, Lcom/discord/app/AppTextView;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method private final getPermissionsList()Landroidx/recyclerview/widget/RecyclerView;
.locals 3
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->permissionsList$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/4 v2, 0x4
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
aget-object v1, v1, v2
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-08-06 02:07:27 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
check-cast v0, Landroidx/recyclerview/widget/RecyclerView;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method private final getSecurityNoticeTv()Lcom/discord/app/AppTextView;
.locals 3
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->securityNoticeTv$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/4 v2, 0x3
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
aget-object v1, v1, v2
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
check-cast v0, Lcom/discord/app/AppTextView;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
.method private final getUnsupportedBtn()Landroid/widget/Button;
.locals 3
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->unsupportedBtn$delegate:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/4 v2, 0x6
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
aget-object v1, v1, v2
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
move-result-object v0
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
check-cast v0, Landroid/widget/Button;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-object v0
.end method
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
.method private final getValidationManager()Lcom/discord/utilities/view/validators/ValidationManager;
2019-12-06 03:29:40 +00:00
.locals 3
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->validationManager$delegate:Lkotlin/Lazy;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sget-object v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/16 v2, 0xb
aget-object v1, v1, v2
2019-08-17 08:22:04 +00:00
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
check-cast v0, Lcom/discord/utilities/view/validators/ValidationManager;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
# virtual methods
2019-12-06 03:29:40 +00:00
.method public configureUI(Lcom/discord/restapi/RestAPIParams$OAuth2Authorize$ResponseGet;)V
.locals 18
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-object/from16 v0, p0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_9
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getNotSupportedScreen()Landroid/view/View;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/16 v3, 0x8
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v2, v3}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getLoadingScreen()Landroid/view/View;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v2, v3}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getContentScreen()Landroid/view/View;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v3, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v2, v3}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual/range {p1 .. p1}, Lcom/discord/restapi/RestAPIParams$OAuth2Authorize$ResponseGet;->getApplication()Lcom/discord/models/domain/ModelApplication;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getAppNameTv()Landroid/widget/TextView;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Lcom/discord/models/domain/ModelApplication;->getName()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v4, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getPermissionsLabelTv()Lcom/discord/app/AppTextView;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v4
2019-07-24 11:27:29 +00:00
2019-12-14 00:19:47 +00:00
const v5, 0x7f120cd6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v6, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-array v7, v6, [Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Lcom/discord/models/domain/ModelApplication;->getName()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v8
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v8, v7, v3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v4, v5, v7}, Lcom/discord/app/AppTextView;->a(I[Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getAppIconIv()Lcom/facebook/drawee/view/SimpleDraweeView;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v9
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Lcom/discord/models/domain/ModelApplication;->getIcon()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v13
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v13, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sget-object v10, Lcom/discord/utilities/icon/IconUtils;->INSTANCE:Lcom/discord/utilities/icon/IconUtils;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Lcom/discord/models/domain/ModelApplication;->getId()J
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-wide v11
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v14, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v15, 0x4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/16 v16, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static/range {v10 .. v16}, Lcom/discord/utilities/icon/IconUtils;->getApplicationIcon$default(Lcom/discord/utilities/icon/IconUtils;JLjava/lang/String;IILjava/lang/Object;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-object v10, v2
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
move-object v10, v1
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
const/4 v11, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v12, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v13, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v14, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v15, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/16 v16, 0x7c
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/16 v17, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static/range {v9 .. v17}, Lcom/discord/utilities/images/MGImages;->setImage$default(Landroid/widget/ImageView;Ljava/lang/String;IIZLkotlin/jvm/functions/Function1;Lcom/discord/utilities/images/MGImages$ChangeDetector;ILjava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v2, v0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->oauth2ViewModel:Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_8
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;->getOauthAuthorize()Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;->getScope()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v4, " "
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
filled-new-array {v4}, [Ljava/lang/String;
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v4
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
const/4 v5, 0x6
2019-08-17 08:22:04 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v2, v4, v3, v3, v5}, Ls/a0/u;->split$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZII)Ljava/util/List;
2019-10-09 23:16:36 +00:00
2019-11-20 22:09:14 +00:00
move-result-object v2
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
new-instance v3, Ljava/util/ArrayList;
2019-11-20 22:09:14 +00:00
2019-12-06 03:29:40 +00:00
const/16 v4, 0xa
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v2, v4}, Le/k/a/b/e/p/g;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
move-result v4
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v3, v4}, Ljava/util/ArrayList;-><init>(I)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {v2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:goto_1
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_7
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v4
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
move-object v8, v4
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
check-cast v8, Ljava/lang/String;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
new-instance v4, Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual/range {p0 .. p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
const-string v7, "requireContext()"
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v5, v7}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v8, :cond_6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8}, Ljava/lang/String;->hashCode()I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sparse-switch v7, :sswitch_data_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_0
const-string v7, "applications.builds.read"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-14 00:19:47 +00:00
const v7, 0x7f120fd7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_1
const-string v7, "applications.builds.upload"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_5
2019-08-14 23:59:34 +00:00
2019-12-14 00:19:47 +00:00
const v7, 0x7f120fd9
2019-08-14 23:59:34 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
2019-08-14 23:59:34 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-08-14 23:59:34 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_5
2019-08-14 23:59:34 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_2
const-string v7, "connections"
2019-08-14 23:59:34 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-08-14 23:59:34 +00:00
2019-12-06 03:29:40 +00:00
move-result v7
2019-08-14 23:59:34 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_5
2019-08-14 23:59:34 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual/range {p1 .. p1}, Lcom/discord/restapi/RestAPIParams$OAuth2Authorize$ResponseGet;->getConnections()Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {v7}, Ljava/util/Collection;->isEmpty()Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v9
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
xor-int/2addr v9, v6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v9, :cond_1
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
move-object v10, v7
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_2
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
:cond_1
move-object v10, v1
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
:goto_2
if-eqz v10, :cond_2
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
const/4 v12, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v13, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v14, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v15, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sget-object v16, Le/a/j/f;->d:Le/a/j/f;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/16 v17, 0x1e
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v11, ", "
2019-07-24 11:27:29 +00:00
2019-12-13 02:35:12 +00:00
invoke-static/range {v10 .. v17}, Ls/q/l;->joinToString$default(Ljava/lang/Iterable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_2
2019-12-14 00:19:47 +00:00
const v7, 0x7f120fe4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_3
const-string v7, "rpc.api"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_5
2019-10-01 14:15:45 +00:00
2019-12-14 00:19:47 +00:00
const v7, 0x7f120ff4
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_5
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_4
const-string v7, "applications.store.update"
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-14 00:19:47 +00:00
const v7, 0x7f120fdd
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_5
const-string v7, "gdm.join"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v7
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-14 00:19:47 +00:00
const v7, 0x7f120fe8
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_6
const-string v5, "email"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v5, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual/range {p1 .. p1}, Lcom/discord/restapi/RestAPIParams$OAuth2Authorize$ResponseGet;->getUser()Lcom/discord/models/domain/ModelUser;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5}, Lcom/discord/models/domain/ModelUser;->getEmail()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_7
const-string v7, "rpc"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
move-result v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-14 00:19:47 +00:00
const v7, 0x7f120ff5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_8
const-string v7, "bot"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-14 00:19:47 +00:00
const v7, 0x7f120fdf
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_9
const-string v5, "identify"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v5, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual/range {p1 .. p1}, Lcom/discord/restapi/RestAPIParams$OAuth2Authorize$ResponseGet;->getUser()Lcom/discord/models/domain/ModelUser;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5}, Lcom/discord/models/domain/ModelUser;->getUserNameWithDiscriminator()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_a
const-string v7, "activities.read"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-14 00:19:47 +00:00
const v7, 0x7f120fd3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_b
const-string v7, "messages.read"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-14 00:19:47 +00:00
const v7, 0x7f120fef
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_c
const-string v7, "rpc.notifications.read"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-14 00:19:47 +00:00
const v7, 0x7f120ff7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto/16 :goto_5
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_d
const-string v7, "applications.entitlements"
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
move-result v7
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_5
2019-08-06 02:07:27 +00:00
2019-12-14 00:19:47 +00:00
const v7, 0x7f120fdb
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:sswitch_e
const-string v7, "guilds"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v7, :cond_5
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual/range {p1 .. p1}, Lcom/discord/restapi/RestAPIParams$OAuth2Authorize$ResponseGet;->getGuilds()Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {v7}, Ljava/util/Collection;->isEmpty()Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v9
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
xor-int/2addr v9, v6
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v9, :cond_3
move-object v10, v7
goto :goto_3
:cond_3
move-object v10, v1
:goto_3
if-eqz v10, :cond_4
const/4 v12, 0x0
const/4 v13, 0x0
const/4 v14, 0x0
const/4 v15, 0x0
sget-object v16, Le/a/j/g;->d:Le/a/j/g;
const/16 v17, 0x1e
const-string v11, ", "
2019-12-13 02:35:12 +00:00
invoke-static/range {v10 .. v17}, Ls/q/l;->joinToString$default(Ljava/lang/Iterable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v7
if-eqz v7, :cond_4
:goto_4
move-object v9, v7
goto :goto_7
:cond_4
2019-12-14 00:19:47 +00:00
const v7, 0x7f120fea
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v5
goto :goto_5
:sswitch_f
const-string v7, "guilds.join"
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_5
2019-12-14 00:19:47 +00:00
const v7, 0x7f120fec
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v5
goto :goto_5
:sswitch_10
const-string v7, "activities.write"
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_5
2019-12-14 00:19:47 +00:00
const v7, 0x7f120fd5
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v5
goto :goto_5
:sswitch_11
const-string v7, "relationships.read"
invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_5
2019-12-14 00:19:47 +00:00
const v7, 0x7f120ff1
2019-12-06 03:29:40 +00:00
invoke-virtual {v5, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v5
:goto_5
move-object v9, v5
goto :goto_7
:cond_5
:goto_6
move-object v9, v1
:goto_7
const/4 v10, 0x0
const/4 v11, 0x4
const/4 v12, 0x0
move-object v7, v4
invoke-direct/range {v7 .. v12}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
invoke-interface {v3, v4}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
goto/16 :goto_1
:cond_6
const-string v2, "scope"
2019-12-13 02:35:12 +00:00
invoke-static {v2}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v1
:cond_7
iget-object v1, v0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->adapter:Lcom/discord/utilities/views/SimpleRecyclerAdapter;
invoke-virtual {v1, v3}, Lcom/discord/utilities/views/SimpleRecyclerAdapter;->setData(Ljava/util/List;)V
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getGrantBtn()Landroid/widget/Button;
move-result-object v1
new-instance v2, Lcom/discord/widgets/auth/WidgetOauth2Authorize$configureUI$2;
invoke-direct {v2, v0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$configureUI$2;-><init>(Lcom/discord/widgets/auth/WidgetOauth2Authorize;)V
invoke-virtual {v1, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
return-void
:cond_8
const-string v2, "oauth2ViewModel"
2019-12-13 02:35:12 +00:00
invoke-static {v2}, Ls/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v1
:cond_9
const-string v2, "data"
2019-12-13 02:35:12 +00:00
invoke-static {v2}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v1
:sswitch_data_0
.sparse-switch
-0x71f43197 -> :sswitch_11
-0x6816e562 -> :sswitch_10
-0x5e746088 -> :sswitch_f
-0x499abd20 -> :sswitch_e
-0x4824902f -> :sswitch_d
-0x478c367b -> :sswitch_c
-0x2a0e7f08 -> :sswitch_b
-0x1c243d09 -> :sswitch_a
-0x81790f4 -> :sswitch_9
0x17dc7 -> :sswitch_8
0x1b9e5 -> :sswitch_7
0x5c24b9c -> :sswitch_6
0x32428528 -> :sswitch_5
0x476a8d61 -> :sswitch_4
0x532ea291 -> :sswitch_3
0x66cb5d55 -> :sswitch_2
0x6898fabf -> :sswitch_1
0x77fa5dd4 -> :sswitch_0
.end sparse-switch
.end method
.method public createOauthAuthorize(Landroid/net/Uri;)Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;
.locals 13
if-eqz p1, :cond_0
new-instance v12, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;
sget-object v0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->Companion:Lcom/discord/widgets/auth/WidgetOauth2Authorize$Companion;
const-string v1, "client_id"
invoke-virtual {v0, p1, v1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$Companion;->getQueryParameterOrThrow(Landroid/net/Uri;Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
const-string v0, "redirect_uri"
invoke-virtual {p1, v0}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;
move-result-object v4
const-string v0, "response_type"
invoke-virtual {p1, v0}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
const-string v0, "state"
invoke-virtual {p1, v0}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
2019-10-09 23:16:36 +00:00
2019-11-20 22:09:14 +00:00
const/4 v5, 0x0
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
sget-object v0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->Companion:Lcom/discord/widgets/auth/WidgetOauth2Authorize$Companion;
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
const-string v6, "scope"
invoke-virtual {v0, p1, v6}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$Companion;->getQueryParameterOrThrow(Landroid/net/Uri;Ljava/lang/String;)Ljava/lang/String;
move-result-object v6
const-string v0, "permissions"
invoke-virtual {p1, v0}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;
move-result-object v7
const-string v0, "code_challenge"
invoke-virtual {p1, v0}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;
move-result-object v8
const-string v0, "code_challenge_method"
invoke-virtual {p1, v0}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;
move-result-object v9
const/16 v10, 0x10
const/4 v11, 0x0
move-object v0, v12
invoke-direct/range {v0 .. v11}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-object v12
:cond_0
const-string p1, "requestUrl"
2019-12-13 02:35:12 +00:00
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public getContentViewResId()I
.locals 1
2019-12-13 02:35:12 +00:00
const v0, 0x7f0d0181
2019-12-06 03:29:40 +00:00
return v0
.end method
.method public final getOauth2ViewModel()Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
.locals 1
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->oauth2ViewModel:Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
if-eqz v0, :cond_0
return-object v0
:cond_0
const-string v0, "oauth2ViewModel"
2019-12-13 02:35:12 +00:00
invoke-static {v0}, Ls/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
throw v0
.end method
.method public onActivityResult(IILandroid/content/Intent;)V
.locals 2
sget-object v0, Lcom/discord/widgets/auth/WidgetAuthCaptcha;->Companion:Lcom/discord/widgets/auth/WidgetAuthCaptcha$Companion;
new-instance v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize$onActivityResult$isCaptchaHandled$1;
invoke-direct {v1, p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$onActivityResult$isCaptchaHandled$1;-><init>(Lcom/discord/widgets/auth/WidgetOauth2Authorize;)V
invoke-virtual {v0, p1, p3, v1}, Lcom/discord/widgets/auth/WidgetAuthCaptcha$Companion;->handleResult(ILandroid/content/Intent;Lkotlin/jvm/functions/Function1;)Z
move-result v0
if-nez v0, :cond_0
invoke-super {p0, p1, p2, p3}, Lcom/discord/app/AppFragment;->onActivityResult(IILandroid/content/Intent;)V
:cond_0
return-void
.end method
.method public onViewBound(Landroid/view/View;)V
.locals 10
const/4 v0, 0x0
if-eqz p1, :cond_6
invoke-super {p0, p1}, Lcom/discord/app/AppFragment;->onViewBound(Landroid/view/View;)V
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getPermissionsList()Landroidx/recyclerview/widget/RecyclerView;
move-result-object p1
iget-object v1, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->adapter:Lcom/discord/utilities/views/SimpleRecyclerAdapter;
invoke-virtual {p1, v1}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getMostRecentIntent()Landroid/content/Intent;
move-result-object p1
const-string v1, "REQ_URI"
2019-11-20 22:09:14 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v1}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
move-result-object p1
check-cast p1, Landroid/net/Uri;
if-eqz p1, :cond_0
goto :goto_0
:cond_0
sget-object p1, Landroid/net/Uri;->EMPTY:Landroid/net/Uri;
:goto_0
invoke-static {p0}, Landroidx/lifecycle/ViewModelProviders;->of(Landroidx/fragment/app/Fragment;)Landroidx/lifecycle/ViewModelProvider;
move-result-object v1
const-class v2, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
invoke-virtual {v1, v2}, Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
move-result-object v1
const-string v2, "ViewModelProviders.of(th\u2026th2ViewModel::class.java)"
2019-12-13 02:35:12 +00:00
invoke-static {v1, v2}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
check-cast v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
iput-object v1, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->oauth2ViewModel:Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
const/4 v1, 0x0
:try_start_0
iget-object v2, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->oauth2ViewModel:Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
:try_end_0
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
const-string v3, "oauth2ViewModel"
if-eqz v2, :cond_4
:try_start_1
const-string v4, "requestUrl"
2019-12-13 02:35:12 +00:00
invoke-static {p1, v4}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, p1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->createOauthAuthorize(Landroid/net/Uri;)Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;
move-result-object p1
invoke-virtual {v2, p1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;->setOauthAuthorize(Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;)V
:try_end_1
.catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_1} :catch_0
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getDenyBtns()Ljava/util/List;
move-result-object p1
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_1
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/widget/Button;
new-instance v4, Lcom/discord/widgets/auth/WidgetOauth2Authorize$onViewBound$$inlined$forEach$lambda$1;
invoke-direct {v4, p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$onViewBound$$inlined$forEach$lambda$1;-><init>(Lcom/discord/widgets/auth/WidgetOauth2Authorize;)V
invoke-virtual {v2, v4}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
goto :goto_1
:cond_1
iget-object p1, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->oauth2ViewModel:Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
if-eqz p1, :cond_3
invoke-virtual {p1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;->getOauthAuthorize()Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;
move-result-object p1
invoke-virtual {p1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;->getScope()Ljava/lang/String;
move-result-object p1
const-string v2, " "
filled-new-array {v2}, [Ljava/lang/String;
move-result-object v2
const/4 v4, 0x6
2019-12-13 02:35:12 +00:00
invoke-static {p1, v2, v1, v1, v4}, Ls/a0/u;->split$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZII)Ljava/util/List;
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
move-result-object p1
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
invoke-direct {p0, p1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->configureSecurityNoticeUI(Ljava/util/List;)V
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getNotices()Lcom/discord/stores/StoreNotices;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v4
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
sget-object p1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->Companion:Lcom/discord/widgets/auth/WidgetOauth2Authorize$Companion;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
iget-object v1, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->oauth2ViewModel:Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;->getOauthAuthorize()Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-08-22 06:13:42 +00:00
invoke-virtual {v0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;->getClientId()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-08-21 02:12:52 +00:00
invoke-virtual {p1, v0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$Companion;->getNoticeName(Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-wide/16 v6, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v8, 0x2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v9, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static/range {v4 .. v9}, Lcom/discord/stores/StoreNotices;->markSeen$default(Lcom/discord/stores/StoreNotices;Ljava/lang/String;JILjava/lang/Object;)V
2019-08-06 02:07:27 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_2
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_3
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_4
:try_start_2
2019-12-13 02:35:12 +00:00
invoke-static {v3}, Ls/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
:try_end_2
.catch Ljava/lang/IllegalArgumentException; {:try_start_2 .. :try_end_2} :catch_0
throw v0
2019-08-06 02:07:27 +00:00
:catch_0
2019-08-17 08:22:04 +00:00
move-exception p1
2019-08-06 02:07:27 +00:00
2019-12-14 00:19:47 +00:00
const v2, 0x7f120cd9
2019-11-20 22:09:14 +00:00
2019-12-06 03:29:40 +00:00
const/4 v3, 0x1
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
new-array v4, v3, [Ljava/lang/Object;
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
invoke-virtual {p1}, Ljava/lang/IllegalArgumentException;->getMessage()Ljava/lang/String;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v5, v4, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0, v2, v4}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v4, "getString(R.string.oauth\u2026missing_param, e.message)"
2019-08-06 02:07:27 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v2, v4}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-11-20 22:09:14 +00:00
2019-12-06 03:29:40 +00:00
sget-object v4, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v5}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v5
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
const-string v6, "javaClass.simpleName"
2019-08-06 02:07:27 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v5, v6}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v4, v5, v2, p1}, Lcom/discord/app/AppLog;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
move-result-object p1
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
const/16 v4, 0x8
2019-11-15 02:21:15 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p1, v2, v3, v0, v4}, Le/a/b/j;->a(Landroid/content/Context;Ljava/lang/CharSequence;ILcom/discord/utilities/view/ToastManager;I)V
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getAppActivity()Lcom/discord/app/AppActivity;
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
move-result-object p1
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
if-eqz p1, :cond_5
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v1}, Landroid/app/Activity;->setResult(I)V
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Landroid/app/Activity;->finish()V
2019-08-06 02:07:27 +00:00
2019-08-17 08:22:04 +00:00
:cond_5
2019-07-24 11:27:29 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_6
const-string p1, "view"
2019-12-13 02:35:12 +00:00
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-07-24 11:27:29 +00:00
.end method
2019-08-17 08:22:04 +00:00
.method public onViewBoundOrOnResume()V
2019-07-24 11:27:29 +00:00
.locals 13
invoke-super {p0}, Lcom/discord/app/AppFragment;->onViewBoundOrOnResume()V
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getAppActivity()Lcom/discord/app/AppActivity;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-08-06 02:07:27 +00:00
const/4 v1, 0x1
2019-07-24 11:27:29 +00:00
2019-08-06 02:07:27 +00:00
if-eqz v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroid/app/Activity;->isFinishing()Z
2019-08-06 02:07:27 +00:00
move-result v0
if-ne v0, v1, :cond_0
return-void
:cond_0
2019-08-22 06:13:42 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->oauth2ViewModel:Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
2019-08-06 02:07:27 +00:00
2019-08-22 06:13:42 +00:00
const-string v2, "oauth2ViewModel"
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
const/4 v3, 0x0
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_b
2019-08-06 02:07:27 +00:00
2019-08-22 06:13:42 +00:00
invoke-virtual {v0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;->getOauthAuthorize()Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-08-22 06:13:42 +00:00
invoke-virtual {v0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;->getScope()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-08-06 02:07:27 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
const-string v4, " "
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
filled-new-array {v4}, [Ljava/lang/String;
2019-08-06 02:07:27 +00:00
2019-11-20 22:09:14 +00:00
move-result-object v4
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
const/4 v5, 0x6
2019-08-06 02:07:27 +00:00
2019-10-09 23:16:36 +00:00
const/4 v6, 0x0
2019-08-06 02:07:27 +00:00
2019-12-13 02:35:12 +00:00
invoke-static {v0, v4, v6, v6, v5}, Ls/a0/u;->split$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZII)Ljava/util/List;
2019-08-06 02:07:27 +00:00
2019-11-20 22:09:14 +00:00
move-result-object v0
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
instance-of v4, v0, Ljava/util/Collection;
2019-11-20 22:09:14 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_2
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
move-result v4
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_2
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
:cond_1
const/4 v0, 0x0
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_2
2019-08-06 02:07:27 +00:00
:cond_2
2019-11-20 22:09:14 +00:00
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2019-08-06 02:07:27 +00:00
2019-11-20 22:09:14 +00:00
move-result-object v0
2019-08-06 02:07:27 +00:00
:cond_3
2019-11-20 22:09:14 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
move-result v4
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_1
2019-08-06 02:07:27 +00:00
2019-11-20 22:09:14 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
check-cast v4, Ljava/lang/String;
2019-08-06 02:07:27 +00:00
const-string v5, "bot"
2019-12-13 02:35:12 +00:00
invoke-static {v4, v5, v1}, Ls/a0/p;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
move-result v5
if-nez v5, :cond_5
const-string v5, "webhook.incoming"
2019-12-13 02:35:12 +00:00
invoke-static {v4, v5, v1}, Ls/a0/p;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
2019-08-21 02:12:52 +00:00
2019-12-06 03:29:40 +00:00
move-result v4
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_4
2019-08-21 02:12:52 +00:00
goto :goto_0
:cond_4
2019-12-06 03:29:40 +00:00
const/4 v4, 0x0
2019-08-21 02:12:52 +00:00
goto :goto_1
:cond_5
:goto_0
2019-12-06 03:29:40 +00:00
const/4 v4, 0x1
2019-08-21 02:12:52 +00:00
:goto_1
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_3
2019-08-06 02:07:27 +00:00
2019-11-20 22:09:14 +00:00
const/4 v0, 0x1
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
:goto_2
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_7
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getMostRecentIntent()Landroid/content/Intent;
2019-08-06 02:07:27 +00:00
move-result-object v0
const-string v1, "REQ_URI"
invoke-virtual {v0, v1}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
move-result-object v0
check-cast v0, Landroid/net/Uri;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_6
goto :goto_3
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
:cond_6
2019-08-06 02:07:27 +00:00
sget-object v0, Landroid/net/Uri;->EMPTY:Landroid/net/Uri;
2019-12-06 03:29:40 +00:00
:goto_3
2019-08-06 02:07:27 +00:00
const-string v1, "requestUrl"
2019-12-13 02:35:12 +00:00
invoke-static {v0, v1}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
invoke-direct {p0, v0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->configureNotSupportedUI(Landroid/net/Uri;)V
2019-08-06 02:07:27 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_7
2019-11-20 22:09:14 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->oauth2ViewModel:Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_a
2019-08-06 02:07:27 +00:00
2019-11-20 22:09:14 +00:00
invoke-virtual {v0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;->getOauthGetResponse()Lcom/discord/restapi/RestAPIParams$OAuth2Authorize$ResponseGet;
2019-08-06 02:07:27 +00:00
2019-11-20 22:09:14 +00:00
move-result-object v0
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_9
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getNotSupportedScreen()Landroid/view/View;
2019-08-06 02:07:27 +00:00
2019-11-20 22:09:14 +00:00
move-result-object v0
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
const/16 v4, 0x8
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getContentScreen()Landroid/view/View;
2019-08-06 02:07:27 +00:00
2019-11-20 22:09:14 +00:00
move-result-object v0
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
2019-08-06 02:07:27 +00:00
2019-08-21 02:12:52 +00:00
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getLoadingScreen()Landroid/view/View;
2019-08-06 02:07:27 +00:00
2019-11-20 22:09:14 +00:00
move-result-object v0
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v6}, Landroid/view/View;->setVisibility(I)V
2019-08-06 02:07:27 +00:00
2019-11-20 22:09:14 +00:00
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->oauth2ViewModel:Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_8
2019-07-24 11:27:29 +00:00
2019-11-20 22:09:14 +00:00
invoke-virtual {v0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;->getOauthAuthorize()Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;
2019-07-24 11:27:29 +00:00
2019-11-20 22:09:14 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-11-20 22:09:14 +00:00
invoke-virtual {v0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;->get()Lrx/Observable;
2019-07-24 11:27:29 +00:00
2019-11-20 22:09:14 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v0, v6, v1, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
const/4 v1, 0x2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v0, p0, v3, v1, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
2019-07-24 11:27:29 +00:00
move-result-object v4
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v5
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
2019-07-24 11:27:29 +00:00
move-result-object v6
const/4 v7, 0x0
2019-12-06 03:29:40 +00:00
new-instance v8, Lcom/discord/widgets/auth/WidgetOauth2Authorize$onViewBoundOrOnResume$1;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v8, p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$onViewBoundOrOnResume$1;-><init>(Lcom/discord/widgets/auth/WidgetOauth2Authorize;)V
2019-07-24 11:27:29 +00:00
const/4 v9, 0x0
2019-12-06 03:29:40 +00:00
new-instance v10, Lcom/discord/widgets/auth/WidgetOauth2Authorize$onViewBoundOrOnResume$2;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v10, p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$onViewBoundOrOnResume$2;-><init>(Lcom/discord/widgets/auth/WidgetOauth2Authorize;)V
2019-07-24 11:27:29 +00:00
const/16 v11, 0x14
const/4 v12, 0x0
invoke-static/range {v4 .. v12}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
2019-12-06 03:29:40 +00:00
goto :goto_4
2019-08-06 02:07:27 +00:00
2019-12-06 03:29:40 +00:00
:cond_8
2019-12-13 02:35:12 +00:00
invoke-static {v2}, Ls/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v3
:cond_9
2019-11-20 22:09:14 +00:00
invoke-virtual {p0, v0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->configureUI(Lcom/discord/restapi/RestAPIParams$OAuth2Authorize$ResponseGet;)V
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
:goto_4
2019-08-17 08:22:04 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_a
2019-12-13 02:35:12 +00:00
invoke-static {v2}, Ls/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
throw v3
2019-08-17 08:22:04 +00:00
2019-12-06 03:29:40 +00:00
:cond_b
2019-12-13 02:35:12 +00:00
invoke-static {v2}, Ls/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v3
.end method
.method public final setOauth2ViewModel(Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;)V
.locals 0
if-eqz p1, :cond_0
2019-08-17 08:22:04 +00:00
2019-08-22 06:13:42 +00:00
iput-object p1, p0, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->oauth2ViewModel:Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
2019-08-06 02:07:27 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "<set-?>"
2019-12-13 02:35:12 +00:00
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
2019-07-24 11:27:29 +00:00
.end method