2019-12-06 03:29:40 +00:00
|
|
|
.class public Landroidx/activity/OnBackPressedDispatcher$OnBackPressedCancellable;
|
2019-10-07 23:23:22 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "OnBackPressedDispatcher.java"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Landroidx/activity/Cancellable;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Landroidx/activity/OnBackPressedDispatcher;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
2019-12-06 03:29:40 +00:00
|
|
|
accessFlags = 0x1
|
2019-10-07 23:23:22 +00:00
|
|
|
name = "OnBackPressedCancellable"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final mOnBackPressedCallback:Landroidx/activity/OnBackPressedCallback;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic this$0:Landroidx/activity/OnBackPressedDispatcher;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>(Landroidx/activity/OnBackPressedDispatcher;Landroidx/activity/OnBackPressedCallback;)V
|
2019-10-07 23:23:22 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Landroidx/activity/OnBackPressedDispatcher$OnBackPressedCancellable;->this$0:Landroidx/activity/OnBackPressedDispatcher;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-object p2, p0, Landroidx/activity/OnBackPressedDispatcher$OnBackPressedCancellable;->mOnBackPressedCallback:Landroidx/activity/OnBackPressedCallback;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public cancel()V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, Landroidx/activity/OnBackPressedDispatcher$OnBackPressedCancellable;->this$0:Landroidx/activity/OnBackPressedDispatcher;
|
|
|
|
|
|
|
|
iget-object v0, v0, Landroidx/activity/OnBackPressedDispatcher;->mOnBackPressedCallbacks:Ljava/util/ArrayDeque;
|
|
|
|
|
|
|
|
iget-object v1, p0, Landroidx/activity/OnBackPressedDispatcher$OnBackPressedCancellable;->mOnBackPressedCallback:Landroidx/activity/OnBackPressedCallback;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/ArrayDeque;->remove(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
iget-object v0, p0, Landroidx/activity/OnBackPressedDispatcher$OnBackPressedCancellable;->mOnBackPressedCallback:Landroidx/activity/OnBackPressedCallback;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Landroidx/activity/OnBackPressedCallback;->removeCancellable(Landroidx/activity/Cancellable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|