2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/views/OAuthPermissionViews;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "OAuthPermissionViews.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lcom/discord/views/OAuthPermissionViews$InvalidScopeException;,
|
|
|
|
Lcom/discord/views/OAuthPermissionViews$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public static final a(Landroid/widget/TextView;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const-string v0, "$this$setScopePermissionText"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {p0, v0}, Lk0/o/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const-string v0, "scope"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lk0/o/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->hashCode()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
sparse-switch v0, :sswitch_data_0
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_0
|
|
|
|
const-string v0, "applications.builds.read"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213d2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:sswitch_1
|
|
|
|
const-string v0, "applications.builds.upload"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213d4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:sswitch_2
|
|
|
|
const-string v0, "connections"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213df
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:sswitch_3
|
|
|
|
const-string v0, "applications.store.update"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213d8
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:sswitch_4
|
|
|
|
const-string v0, "gdm.join"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213e3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:sswitch_5
|
|
|
|
const-string v0, "email"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213e1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:sswitch_6
|
|
|
|
const-string v0, "rpc"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213ee
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:sswitch_7
|
|
|
|
const-string v0, "bot"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213da
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:sswitch_8
|
|
|
|
const-string v0, "identify"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213e9
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:sswitch_9
|
|
|
|
const-string v0, "activities.read"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213ce
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:sswitch_a
|
|
|
|
const-string v0, "messages.read"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213ea
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:sswitch_b
|
|
|
|
const-string v0, "rpc.notifications.read"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213f0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:sswitch_c
|
|
|
|
const-string v0, "applications.entitlements"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213d6
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:sswitch_d
|
|
|
|
const-string v0, "guilds"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213e5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:sswitch_e
|
|
|
|
const-string v0, "guilds.join"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213e7
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:sswitch_f
|
|
|
|
const-string v0, "activities.write"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213d0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:sswitch_10
|
|
|
|
const-string v0, "relationships.read"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const p1, 0x7f1213ec
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:goto_0
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/TextView;->setText(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_1
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance p0, Lcom/discord/views/OAuthPermissionViews$InvalidScopeException;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {p0, p1}, Lcom/discord/views/OAuthPermissionViews$InvalidScopeException;-><init>(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
throw p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:sswitch_data_0
|
|
|
|
.sparse-switch
|
|
|
|
-0x71f43197 -> :sswitch_10
|
|
|
|
-0x6816e562 -> :sswitch_f
|
|
|
|
-0x5e746088 -> :sswitch_e
|
|
|
|
-0x499abd20 -> :sswitch_d
|
|
|
|
-0x4824902f -> :sswitch_c
|
|
|
|
-0x478c367b -> :sswitch_b
|
|
|
|
-0x2a0e7f08 -> :sswitch_a
|
|
|
|
-0x1c243d09 -> :sswitch_9
|
|
|
|
-0x81790f4 -> :sswitch_8
|
|
|
|
0x17dc7 -> :sswitch_7
|
|
|
|
0x1b9e5 -> :sswitch_6
|
|
|
|
0x5c24b9c -> :sswitch_5
|
|
|
|
0x32428528 -> :sswitch_4
|
|
|
|
0x476a8d61 -> :sswitch_3
|
|
|
|
0x66cb5d55 -> :sswitch_2
|
|
|
|
0x6898fabf -> :sswitch_1
|
|
|
|
0x77fa5dd4 -> :sswitch_0
|
|
|
|
.end sparse-switch
|
|
|
|
.end method
|