2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/discord/app/AppPermissions;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "AppPermissions.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lcom/discord/app/AppPermissions$Requests;,
|
|
|
|
Lcom/discord/app/AppPermissions$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-07-27 00:12:07 +00:00
|
|
|
.field private static final uG:Ljava/util/HashMap;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/HashMap<",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"[",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-07-27 00:12:07 +00:00
|
|
|
.field private static final uH:I = 0xd2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-07-27 00:12:07 +00:00
|
|
|
.field private static final uI:I = 0xd3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-07-27 00:12:07 +00:00
|
|
|
.field private static final uJ:I = 0xde
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-07-27 00:12:07 +00:00
|
|
|
.field private static final uK:I = 0xd5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
.field public static final uL:Lcom/discord/app/AppPermissions$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field private final fragment:Landroidx/fragment/app/Fragment;
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
.field private final uF:Ljava/util/HashMap;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/HashMap<",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/app/AppPermissions$a;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/app/AppPermissions$a;-><init>(B)V
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sput-object v0, Lcom/discord/app/AppPermissions;->uL:Lcom/discord/app/AppPermissions$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sput-object v0, Lcom/discord/app/AppPermissions;->uG:Ljava/util/HashMap;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v0, 0xd2
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sput v0, Lcom/discord/app/AppPermissions;->uH:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v0, 0xd3
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sput v0, Lcom/discord/app/AppPermissions;->uI:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v0, 0xde
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sput v0, Lcom/discord/app/AppPermissions;->uJ:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/16 v0, 0xd5
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sput v0, Lcom/discord/app/AppPermissions;->uK:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget-object v0, Lcom/discord/app/AppPermissions;->uG:Ljava/util/HashMap;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget v2, Lcom/discord/app/AppPermissions;->uI:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
new-array v4, v3, [Ljava/lang/String;
|
|
|
|
|
|
|
|
const-string v5, "android.permission.RECORD_AUDIO"
|
|
|
|
|
|
|
|
aput-object v5, v4, v1
|
|
|
|
|
|
|
|
invoke-interface {v0, v2, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget-object v0, Lcom/discord/app/AppPermissions;->uG:Ljava/util/HashMap;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget v2, Lcom/discord/app/AppPermissions;->uH:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const/4 v4, 0x2
|
|
|
|
|
|
|
|
new-array v6, v4, [Ljava/lang/String;
|
|
|
|
|
|
|
|
aput-object v5, v6, v1
|
|
|
|
|
|
|
|
const-string v5, "android.permission.CAMERA"
|
|
|
|
|
|
|
|
aput-object v5, v6, v3
|
|
|
|
|
|
|
|
invoke-interface {v0, v2, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget-object v0, Lcom/discord/app/AppPermissions;->uG:Ljava/util/HashMap;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget v2, Lcom/discord/app/AppPermissions;->uJ:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
const/4 v6, 0x3
|
|
|
|
|
|
|
|
new-array v6, v6, [Ljava/lang/String;
|
|
|
|
|
|
|
|
aput-object v5, v6, v1
|
|
|
|
|
|
|
|
const-string v5, "android.permission.READ_EXTERNAL_STORAGE"
|
|
|
|
|
|
|
|
aput-object v5, v6, v3
|
|
|
|
|
|
|
|
const-string v5, "android.permission.WRITE_EXTERNAL_STORAGE"
|
|
|
|
|
|
|
|
aput-object v5, v6, v4
|
|
|
|
|
|
|
|
invoke-interface {v0, v2, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget-object v0, Lcom/discord/app/AppPermissions;->uG:Ljava/util/HashMap;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v0, Ljava/util/Map;
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget v2, Lcom/discord/app/AppPermissions;->uK:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
new-array v3, v3, [Ljava/lang/String;
|
|
|
|
|
|
|
|
aput-object v5, v3, v1
|
|
|
|
|
|
|
|
invoke-interface {v0, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Landroidx/fragment/app/Fragment;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "fragment"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/app/AppPermissions;->fragment:Landroidx/fragment/app/Fragment;
|
|
|
|
|
|
|
|
new-instance p1, Ljava/util/HashMap;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/util/HashMap;-><init>()V
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/app/AppPermissions;->uF:Ljava/util/HashMap;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic a(Lcom/discord/app/AppPermissions;)Landroidx/fragment/app/Fragment;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iget-object p0, p0, Lcom/discord/app/AppPermissions;->fragment:Landroidx/fragment/app/Fragment;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final declared-synchronized a(ILrx/functions/Action0;)V
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
new-instance v0, Lcom/discord/app/AppPermissions$c;
|
|
|
|
|
|
|
|
invoke-direct {v0, p2}, Lcom/discord/app/AppPermissions$c;-><init>(Lrx/functions/Action0;)V
|
|
|
|
|
|
|
|
check-cast v0, Lkotlin/jvm/functions/Function0;
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget-object p2, Lcom/discord/app/AppPermissions;->uG:Ljava/util/HashMap;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {p2, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
check-cast p2, [Ljava/lang/String;
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:try_start_1
|
|
|
|
const-string v1, "PERMISSION_GROUPS[requestCode] ?: return"
|
|
|
|
|
|
|
|
invoke-static {p2, v1}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/app/AppPermissions;->fragment:Landroidx/fragment/app/Fragment;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
new-instance v2, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
array-length v3, p2
|
|
|
|
|
|
|
|
invoke-direct {v2, v3}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
|
|
|
|
check-cast v2, Ljava/util/Collection;
|
|
|
|
|
|
|
|
array-length v3, p2
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v4, v3, :cond_1
|
|
|
|
|
|
|
|
aget-object v5, p2, v4
|
|
|
|
|
|
|
|
invoke-static {v1, v5}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-interface {v2, v5}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
check-cast v2, Ljava/util/List;
|
|
|
|
|
|
|
|
check-cast v2, Ljava/util/Collection;
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
invoke-static {v2}, Lkotlin/a/m;->h(Ljava/util/Collection;)[I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-static {v1}, Lcom/discord/app/AppPermissions;->b([I)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-ne v1, v2, :cond_2
|
|
|
|
|
|
|
|
invoke-interface {v0}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:try_start_2
|
2019-07-27 00:12:07 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/app/AppPermissions;->uF:Ljava/util/HashMap;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast v1, Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-interface {v1, v2, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/app/AppPermissions;->fragment:Landroidx/fragment/app/Fragment;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p2, p1}, Landroidx/fragment/app/Fragment;->requestPermissions([Ljava/lang/String;I)V
|
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
goto :goto_1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static b([I)Z
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
if-ge v2, v0, :cond_2
|
|
|
|
|
|
|
|
aget v4, p0, v2
|
|
|
|
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-nez v3, :cond_1
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return v3
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final declared-synchronized a(I[I)V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "grantResults"
|
|
|
|
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/app/AppPermissions$b;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/app/AppPermissions$b;-><init>(Lcom/discord/app/AppPermissions;)V
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/app/AppPermissions;->uF:Ljava/util/HashMap;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
check-cast v1, Lkotlin/jvm/functions/Function0;
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget v2, Lcom/discord/app/AppPermissions;->uI:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne p1, v2, :cond_0
|
|
|
|
|
2019-07-27 02:12:09 +00:00
|
|
|
const p1, 0x7f120cf9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/app/AppPermissions$b;->x(I)Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-07-27 00:12:07 +00:00
|
|
|
sget v2, Lcom/discord/app/AppPermissions;->uJ:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne p1, v2, :cond_1
|
|
|
|
|
2019-07-27 02:12:09 +00:00
|
|
|
const p1, 0x7f120cf7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/app/AppPermissions$b;->x(I)Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2019-07-27 00:12:07 +00:00
|
|
|
sget v2, Lcom/discord/app/AppPermissions;->uK:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne p1, v2, :cond_2
|
|
|
|
|
2019-07-27 02:12:09 +00:00
|
|
|
const p1, 0x7f120cf8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/app/AppPermissions$b;->x(I)Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-static {p2}, Lcom/discord/app/AppPermissions;->b([I)Z
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
|
|
|
|
invoke-interface {v1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final requestMedia(Lrx/functions/Action0;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget v0, Lcom/discord/app/AppPermissions;->uJ:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, v0, p1}, Lcom/discord/app/AppPermissions;->a(ILrx/functions/Action0;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final requestMediaDownload(Lrx/functions/Action0;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget v0, Lcom/discord/app/AppPermissions;->uK:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, v0, p1}, Lcom/discord/app/AppPermissions;->a(ILrx/functions/Action0;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final requestMicrophone(Lrx/functions/Action0;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget v0, Lcom/discord/app/AppPermissions;->uI:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, v0, p1}, Lcom/discord/app/AppPermissions;->a(ILrx/functions/Action0;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final requestVideoCallPermissions(Lrx/functions/Action0;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-07-27 00:12:07 +00:00
|
|
|
sget v0, Lcom/discord/app/AppPermissions;->uH:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, v0, p1}, Lcom/discord/app/AppPermissions;->a(ILrx/functions/Action0;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|