Rabbit-R1/original r1/smali/smali_classes2/androidx/fragment/app/FragmentManager$9.smali
2024-05-21 17:08:36 -04:00

149 lines
4.4 KiB
Smali

.class Landroidx/fragment/app/FragmentManager$9;
.super Ljava/lang/Object;
.source "FragmentManager.java"
# interfaces
.implements Landroidx/activity/result/ActivityResultCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/fragment/app/FragmentManager;->attachController(Landroidx/fragment/app/FragmentHostCallback;Landroidx/fragment/app/FragmentContainer;Landroidx/fragment/app/Fragment;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroidx/activity/result/ActivityResultCallback<",
"Landroidx/activity/result/ActivityResult;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Landroidx/fragment/app/FragmentManager;
# direct methods
.method constructor <init>(Landroidx/fragment/app/FragmentManager;)V
.locals 0
iput-object p1, p0, Landroidx/fragment/app/FragmentManager$9;->this$0:Landroidx/fragment/app/FragmentManager;
.line 2763
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onActivityResult(Landroidx/activity/result/ActivityResult;)V
.locals 3
iget-object v0, p0, Landroidx/fragment/app/FragmentManager$9;->this$0:Landroidx/fragment/app/FragmentManager;
.line 2766
iget-object v0, v0, Landroidx/fragment/app/FragmentManager;->mLaunchedFragments:Ljava/util/ArrayDeque;
invoke-virtual {v0}, Ljava/util/ArrayDeque;->pollFirst()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroidx/fragment/app/FragmentManager$LaunchedFragmentInfo;
const-string v1, "FragmentManager"
if-nez v0, :cond_0
.line 2768
new-instance p1, Ljava/lang/StringBuilder;
const-string v0, "No IntentSenders were started for "
invoke-direct {p1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-static {v1, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
return-void
.line 2771
:cond_0
iget-object v2, v0, Landroidx/fragment/app/FragmentManager$LaunchedFragmentInfo;->mWho:Ljava/lang/String;
.line 2772
iget v0, v0, Landroidx/fragment/app/FragmentManager$LaunchedFragmentInfo;->mRequestCode:I
iget-object p0, p0, Landroidx/fragment/app/FragmentManager$9;->this$0:Landroidx/fragment/app/FragmentManager;
.line 2773
invoke-static {p0}, Landroidx/fragment/app/FragmentManager;->access$200(Landroidx/fragment/app/FragmentManager;)Landroidx/fragment/app/FragmentStore;
move-result-object p0
invoke-virtual {p0, v2}, Landroidx/fragment/app/FragmentStore;->findFragmentByWho(Ljava/lang/String;)Landroidx/fragment/app/Fragment;
move-result-object p0
if-nez p0, :cond_1
.line 2778
new-instance p0, Ljava/lang/StringBuilder;
const-string p1, "Intent Sender result delivered for unknown Fragment "
invoke-direct {p0, p1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-static {v1, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
return-void
.line 2782
:cond_1
invoke-virtual {p1}, Landroidx/activity/result/ActivityResult;->getResultCode()I
move-result v1
.line 2783
invoke-virtual {p1}, Landroidx/activity/result/ActivityResult;->getData()Landroid/content/Intent;
move-result-object p1
.line 2782
invoke-virtual {p0, v0, v1, p1}, Landroidx/fragment/app/Fragment;->onActivityResult(IILandroid/content/Intent;)V
return-void
.end method
.method public bridge synthetic onActivityResult(Ljava/lang/Object;)V
.locals 0
.line 2763
check-cast p1, Landroidx/activity/result/ActivityResult;
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentManager$9;->onActivityResult(Landroidx/activity/result/ActivityResult;)V
return-void
.end method