132 lines
3.3 KiB
Smali
132 lines
3.3 KiB
Smali
.class public Landroidx/fragment/app/Fragment$h;
|
|
.super Landroidx/activity/result/e;
|
|
.source "Fragment.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Landroidx/fragment/app/Fragment;->prepareCallInternal(Lb/a;Ln/a;Landroidx/activity/result/a;)Landroidx/activity/result/e;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/activity/result/e<",
|
|
"TI;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
.field public final synthetic b:Lb/a;
|
|
|
|
.field public final synthetic c:Landroidx/fragment/app/Fragment;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/fragment/app/Fragment;Ljava/util/concurrent/atomic/AtomicReference;Lb/a;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/fragment/app/Fragment$h;->c:Landroidx/fragment/app/Fragment;
|
|
|
|
iput-object p2, p0, Landroidx/fragment/app/Fragment$h;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
iput-object p3, p0, Landroidx/fragment/app/Fragment$h;->b:Lb/a;
|
|
|
|
invoke-direct {p0}, Landroidx/activity/result/e;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Lb/a;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lb/a<",
|
|
"TI;*>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/fragment/app/Fragment$h;->b:Lb/a;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public c(Ljava/lang/Object;Landroidx/core/app/c;)V
|
|
.locals 1
|
|
.param p2 # Landroidx/core/app/c;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TI;",
|
|
"Landroidx/core/app/c;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/fragment/app/Fragment$h;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/activity/result/e;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1, p2}, Landroidx/activity/result/e;->c(Ljava/lang/Object;Landroidx/core/app/c;)V
|
|
|
|
return-void
|
|
|
|
.line 3
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p2, "Operation cannot be started before fragment is in created state"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public d()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/fragment/app/Fragment$h;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/activity/result/e;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Landroidx/activity/result/e;->d()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|