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"
|
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
.field public static final ROOT_ERROR_KEY:Ljava/lang/String; = "_root"
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v1, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v2}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v1, v2, v3, v4}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v2, Ly/u/b/w;->a:Ly/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v2, v1}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v2, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Ly/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v3, Ly/u/b/w;->a:Ly/u/b/x;
|
2019-08-17 08:22:04 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-virtual {v3, v2}, Ly/u/b/x;->property1(Ly/u/b/t;)Ly/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
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v0, 0x7f0a059c
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v0, 0x7f0a059d
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v0, 0x7f0a05a5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v0, 0x7f0a05a7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v0, 0x7f0a05a6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v0, 0x7f0a05a1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v0, 0x7f0a05a8
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->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
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v0, 0x7f0a05a2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v0, 0x7f0a059f
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v0, 0x7f0a05a4
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Lz/a/a2/w;->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
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v0}, Le/k/a/c/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
|
2020-03-27 22:23:51 +00:00
|
|
|
0x7f0a05a0
|
|
|
|
0x7f0a05a3
|
|
|
|
0x7f0a05a9
|
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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/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
|
2020-01-02 21:43:52 +00:00
|
|
|
.locals 7
|
2019-07-24 11:27:29 +00:00
|
|
|
.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
|
|
|
|
|
2020-03-28 01:23:20 +00:00
|
|
|
const p1, 0x7f120e52
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
|
2020-03-28 01:23:20 +00:00
|
|
|
const p1, 0x7f120e53
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
2020-03-28 01:23:20 +00:00
|
|
|
const p1, 0x7f120e5c
|
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
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
const-string p1, "getString(\n when \u2026ty_notice\n }\n )"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v2, p1}, Ly/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
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
sget-object v0, Lcom/discord/utilities/textprocessing/Parsers;->INSTANCE:Lcom/discord/utilities/textprocessing/Parsers;
|
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
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v3, "requireContext()"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v1, v3}, Ly/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
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v4, 0x7f060268
|
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
|
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
const/4 v4, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
const/16 v5, 0x8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
invoke-static/range {v0 .. v6}, Lcom/discord/utilities/textprocessing/Parsers;->parseMarkdown$default(Lcom/discord/utilities/textprocessing/Parsers;Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/Integer;Ljava/lang/Integer;ILjava/lang/Object;)Ljava/lang/CharSequence;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, 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
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
.method private final onUnknownScope(Lcom/discord/views/OAuthPermissionViews$InvalidScopeException;)V
|
|
|
|
.locals 5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
sget-object v0, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const-string v2, "javaClass.simpleName"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v1, v2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v0, v1, p1}, Lcom/discord/app/AppLog;->w(Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/4 v1, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
new-array v2, v1, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/views/OAuthPermissionViews$InvalidScopeException;->a()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/4 v3, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
aput-object p1, v2, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-28 01:23:20 +00:00
|
|
|
const p1, 0x7f120e57
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {p0, p1, v2}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const-string v2, "getString(R.string.oauth\u2026t_invalid_scope, e.scope)"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1, v2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-static {p1}, Le/a/g/a/b/b;->a(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/16 v4, 0x8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-static {v0, p1, v1, v2, v4}, Le/a/b/k;->a(Landroid/content/Context;Ljava/lang/CharSequence;ILcom/discord/utilities/view/ToastManager;I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getAppActivity()Lcom/discord/app/AppActivity;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {p1, v3}, Landroid/app/Activity;->setResult(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {p1}, Landroid/app/Activity;->finish()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
:cond_0
|
2020-01-22 01:17:22 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
# virtual methods
|
|
|
|
.method public configureUI(Lcom/discord/restapi/RestAPIParams$OAuth2Authorize$ResponseGet;)V
|
|
|
|
.locals 19
|
2019-08-17 08:22:04 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-object/from16 v1, p0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-object/from16 v0, p1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/4 v2, 0x0
|
2019-11-20 22:09:14 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
if-eqz v0, :cond_6
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getNotSupportedScreen()Landroid/view/View;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v3
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/16 v4, 0x8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getLoadingScreen()Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getContentScreen()Landroid/view/View;
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v3
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/4 v4, 0x0
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/restapi/RestAPIParams$OAuth2Authorize$ResponseGet;->getApplication()Lcom/discord/models/domain/ModelApplication;
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v3
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getAppNameTv()Landroid/widget/TextView;
|
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
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/models/domain/ModelApplication;->getName()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +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-08-17 08:22:04 +00:00
|
|
|
move-result-object v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-28 01:23:20 +00:00
|
|
|
const v6, 0x7f120e54
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/4 v7, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
new-array v8, v7, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/models/domain/ModelApplication;->getName()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v9
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
aput-object v9, v8, v4
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v5, v6, v8}, Lcom/discord/app/AppTextView;->a(I[Ljava/lang/Object;)V
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getAppIconIv()Lcom/facebook/drawee/view/SimpleDraweeView;
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v10
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/models/domain/ModelApplication;->getIcon()Ljava/lang/String;
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v14
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
if-eqz v14, :cond_0
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
sget-object v11, Lcom/discord/utilities/icon/IconUtils;->INSTANCE:Lcom/discord/utilities/icon/IconUtils;
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/models/domain/ModelApplication;->getId()J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-wide v12
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/4 v15, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/16 v16, 0x4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/16 v17, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-static/range {v11 .. v17}, Lcom/discord/utilities/icon/IconUtils;->getApplicationIcon$default(Lcom/discord/utilities/icon/IconUtils;JLjava/lang/String;IILjava/lang/Object;)Ljava/lang/String;
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v3
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-object v11, v3
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
goto :goto_0
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
:cond_0
|
|
|
|
move-object v11, v2
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
:goto_0
|
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
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/16 v16, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/16 v17, 0x7c
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/16 v18, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-static/range {v10 .. v18}, 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
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
:try_start_0
|
|
|
|
iget-object v3, v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->oauth2ViewModel:Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
if-eqz v3, :cond_5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2ViewModel;->getOauthAuthorize()Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v2}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$OAuth2Authorize;->getScope()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const-string v3, " "
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
filled-new-array {v3}, [Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/4 v5, 0x6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v2, v3, v4, v4, v5}, Ly/a0/u;->split$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZII)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
new-instance v3, Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-interface {v2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
:cond_1
|
|
|
|
: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 v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
if-eqz v5, :cond_3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
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
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-object v6, v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
check-cast v6, Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-interface {v6}, Ljava/lang/CharSequence;->length()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
if-lez v6, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/4 v6, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
goto :goto_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
:cond_2
|
|
|
|
const/4 v6, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
:goto_2
|
|
|
|
if-eqz v6, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-interface {v3, v5}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
goto :goto_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
:cond_3
|
|
|
|
new-instance v2, Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/16 v4, 0xa
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v3, v4}, Le/k/a/c/e/p/g;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result v4
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-direct {v2, v4}, Ljava/util/ArrayList;-><init>(I)V
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-interface {v3}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v3
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
:goto_3
|
|
|
|
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
if-eqz v4, :cond_4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-object v6, v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
check-cast v6, Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
new-instance v4, Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
sget-object v5, Lcom/discord/views/OAuthPermissionViews;->a:Lcom/discord/views/OAuthPermissionViews;
|
2019-08-06 02:07:27 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
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
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const-string v8, "requireContext()"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v7, v8}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v5, v0, v7, v6}, Lcom/discord/views/OAuthPermissionViews;->a(Lcom/discord/restapi/RestAPIParams$OAuth2Authorize$ResponseGet;Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/4 v8, 0x0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
const/4 v9, 0x4
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-object v5, v4
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-direct/range {v5 .. v10}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$PermissionModel;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-interface {v2, v4}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
goto :goto_3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
:cond_4
|
|
|
|
iget-object v0, v1, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->adapter:Lcom/discord/utilities/views/SimpleRecyclerAdapter;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v0, v2}, Lcom/discord/utilities/views/SimpleRecyclerAdapter;->setData(Ljava/util/List;)V
|
|
|
|
:try_end_0
|
|
|
|
.catch Lcom/discord/views/OAuthPermissionViews$InvalidScopeException; {:try_start_0 .. :try_end_0} :catch_0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->getGrantBtn()Landroid/widget/Button;
|
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
move-result-object v0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
new-instance v2, Lcom/discord/widgets/auth/WidgetOauth2Authorize$configureUI$2;
|
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-direct {v2, v1}, Lcom/discord/widgets/auth/WidgetOauth2Authorize$configureUI$2;-><init>(Lcom/discord/widgets/auth/WidgetOauth2Authorize;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
:cond_5
|
|
|
|
:try_start_1
|
|
|
|
const-string v0, "oauth2ViewModel"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2020-01-22 01:17:22 +00:00
|
|
|
:try_end_1
|
|
|
|
.catch Lcom/discord/views/OAuthPermissionViews$InvalidScopeException; {:try_start_1 .. :try_end_1} :catch_0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
throw v2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
invoke-direct {v1, v0}, Lcom/discord/widgets/auth/WidgetOauth2Authorize;->onUnknownScope(Lcom/discord/views/OAuthPermissionViews$InvalidScopeException;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
return-void
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
:cond_6
|
|
|
|
const-string v0, "data"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-22 01:17:22 +00:00
|
|
|
throw v2
|
2019-12-06 03:29:40 +00:00
|
|
|
.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"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/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
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
const v0, 0x7f0d01e2
|
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"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0}, Ly/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)"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v1, v2}, Ly/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"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1, v4}, Ly/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
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1, v2, v1, v1, v4}, Ly/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
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_3
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:try_start_2
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v3}, Ly/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
|
|
|
|
2020-03-28 01:23:20 +00:00
|
|
|
const v2, 0x7f120e58
|
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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v2, v4}, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v5, v6}, Ly/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
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-static {p1, v2, v3, v0, v4}, Le/a/b/k;->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"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/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
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0, v4, v6, v6, v5}, Ly/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"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v4, v5, v1}, Ly/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"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v4, v5, v1}, Ly/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"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0, v1}, Ly/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
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v2}, Ly/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
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v2}, Ly/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
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v2}, Ly/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-?>"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1}, Ly/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
|