116 lines
3.2 KiB
Smali
116 lines
3.2 KiB
Smali
.class public final Lcom/discord/widgets/accessibility/AccessibilityDetectionNavigator$showAccessibilityDetectionDialog$1;
|
|
.super Lj0/n/c/i;
|
|
.source "AccessibilityDetectionNavigator.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/accessibility/AccessibilityDetectionNavigator;->showAccessibilityDetectionDialog(Lcom/discord/utilities/accessibility/AccessibilityState;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lj0/n/c/i;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Landroidx/fragment/app/FragmentActivity;",
|
|
"Ljava/lang/Boolean;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final INSTANCE:Lcom/discord/widgets/accessibility/AccessibilityDetectionNavigator$showAccessibilityDetectionDialog$1;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/discord/widgets/accessibility/AccessibilityDetectionNavigator$showAccessibilityDetectionDialog$1;
|
|
|
|
invoke-direct {v0}, Lcom/discord/widgets/accessibility/AccessibilityDetectionNavigator$showAccessibilityDetectionDialog$1;-><init>()V
|
|
|
|
sput-object v0, Lcom/discord/widgets/accessibility/AccessibilityDetectionNavigator$showAccessibilityDetectionDialog$1;->INSTANCE:Lcom/discord/widgets/accessibility/AccessibilityDetectionNavigator$showAccessibilityDetectionDialog$1;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-direct {p0, v0}, Lj0/n/c/i;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Landroidx/fragment/app/FragmentActivity;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/accessibility/AccessibilityDetectionNavigator$showAccessibilityDetectionDialog$1;->invoke(Landroidx/fragment/app/FragmentActivity;)Z
|
|
|
|
move-result p1
|
|
|
|
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final invoke(Landroidx/fragment/app/FragmentActivity;)Z
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
sget-object v1, Lf/a/a/f;->i:Lf/a/a/f$b;
|
|
|
|
invoke-virtual {p1}, Landroidx/fragment/app/FragmentActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v2, "activity.supportFragmentManager"
|
|
|
|
invoke-static {p1, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
new-instance v0, Lf/a/a/f;
|
|
|
|
invoke-direct {v0}, Lf/a/a/f;-><init>()V
|
|
|
|
const-string v1, "ALLOW_ACCESSIBILITY_DETECTION_DIALOG"
|
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/discord/app/AppDialog;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "activity"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|