apkfuckery/com.discord/smali/androidx/activity/OnBackPressedDispatcherKt$addCallback$callback$1.smali

47 lines
1.5 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Landroidx/activity/OnBackPressedDispatcherKt$addCallback$callback$1;
.super Landroidx/activity/OnBackPressedCallback;
.source "OnBackPressedDispatcher.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/activity/OnBackPressedDispatcherKt;->addCallback(Landroidx/activity/OnBackPressedDispatcher;Landroidx/lifecycle/LifecycleOwner;ZLkotlin/jvm/functions/Function1;)Landroidx/activity/OnBackPressedCallback;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field public final synthetic $enabled:Z
.field public final synthetic $onBackPressed:Lkotlin/jvm/functions/Function1;
# direct methods
.method public constructor <init>(Lkotlin/jvm/functions/Function1;ZZ)V
.locals 0
iput-object p1, p0, Landroidx/activity/OnBackPressedDispatcherKt$addCallback$callback$1;->$onBackPressed:Lkotlin/jvm/functions/Function1;
iput-boolean p2, p0, Landroidx/activity/OnBackPressedDispatcherKt$addCallback$callback$1;->$enabled:Z
invoke-direct {p0, p3}, Landroidx/activity/OnBackPressedCallback;-><init>(Z)V
return-void
.end method
# virtual methods
.method public handleOnBackPressed()V
.locals 1
iget-object v0, p0, Landroidx/activity/OnBackPressedDispatcherKt$addCallback$callback$1;->$onBackPressed:Lkotlin/jvm/functions/Function1;
invoke-interface {v0, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method