mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
186 lines
5.6 KiB
Smali
186 lines
5.6 KiB
Smali
.class Landroidx/fragment/app/FragmentManager$FragmentIntentSenderContract;
|
|
.super Landroidx/activity/result/contract/ActivityResultContract;
|
|
.source "FragmentManager.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/fragment/app/FragmentManager;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x8
|
|
name = "FragmentIntentSenderContract"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/activity/result/contract/ActivityResultContract<",
|
|
"Landroidx/activity/result/IntentSenderRequest;",
|
|
"Landroidx/activity/result/ActivityResult;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 3610
|
|
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public createIntent(Landroid/content/Context;Landroidx/activity/result/IntentSenderRequest;)Landroid/content/Intent;
|
|
.locals 2
|
|
|
|
.line 3616
|
|
new-instance p0, Landroid/content/Intent;
|
|
|
|
const-string p1, "androidx.activity.result.contract.action.INTENT_SENDER_REQUEST"
|
|
|
|
invoke-direct {p0, p1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 3617
|
|
invoke-virtual {p2}, Landroidx/activity/result/IntentSenderRequest;->getFillInIntent()Landroid/content/Intent;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const-string v0, "androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE"
|
|
|
|
.line 3619
|
|
invoke-virtual {p1, v0}, Landroid/content/Intent;->getBundleExtra(Ljava/lang/String;)Landroid/os/Bundle;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 3621
|
|
invoke-virtual {p0, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;
|
|
|
|
.line 3622
|
|
invoke-virtual {p1, v0}, Landroid/content/Intent;->removeExtra(Ljava/lang/String;)V
|
|
|
|
const-string v0, "androidx.fragment.extra.ACTIVITY_OPTIONS_BUNDLE"
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 3623
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 3624
|
|
new-instance p1, Landroidx/activity/result/IntentSenderRequest$Builder;
|
|
|
|
invoke-virtual {p2}, Landroidx/activity/result/IntentSenderRequest;->getIntentSender()Landroid/content/IntentSender;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Landroidx/activity/result/IntentSenderRequest$Builder;-><init>(Landroid/content/IntentSender;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 3625
|
|
invoke-virtual {p1, v0}, Landroidx/activity/result/IntentSenderRequest$Builder;->setFillInIntent(Landroid/content/Intent;)Landroidx/activity/result/IntentSenderRequest$Builder;
|
|
|
|
move-result-object p1
|
|
|
|
.line 3626
|
|
invoke-virtual {p2}, Landroidx/activity/result/IntentSenderRequest;->getFlagsValues()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p2}, Landroidx/activity/result/IntentSenderRequest;->getFlagsMask()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p1, v0, p2}, Landroidx/activity/result/IntentSenderRequest$Builder;->setFlags(II)Landroidx/activity/result/IntentSenderRequest$Builder;
|
|
|
|
move-result-object p1
|
|
|
|
.line 3627
|
|
invoke-virtual {p1}, Landroidx/activity/result/IntentSenderRequest$Builder;->build()Landroidx/activity/result/IntentSenderRequest;
|
|
|
|
move-result-object p2
|
|
|
|
:cond_0
|
|
const-string p1, "androidx.activity.result.contract.extra.INTENT_SENDER_REQUEST"
|
|
|
|
.line 3631
|
|
invoke-virtual {p0, p1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
|
|
|
|
const/4 p1, 0x2
|
|
|
|
.line 3632
|
|
invoke-static {p1}, Landroidx/fragment/app/FragmentManager;->isLoggingEnabled(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 3633
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
const-string p2, "CreateIntent created the following intent: "
|
|
|
|
invoke-direct {p1, p2}, 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 p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "FragmentManager"
|
|
|
|
invoke-static {p2, p1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
:cond_1
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
|
.locals 0
|
|
|
|
.line 3610
|
|
check-cast p2, Landroidx/activity/result/IntentSenderRequest;
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroidx/fragment/app/FragmentManager$FragmentIntentSenderContract;->createIntent(Landroid/content/Context;Landroidx/activity/result/IntentSenderRequest;)Landroid/content/Intent;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public parseResult(ILandroid/content/Intent;)Landroidx/activity/result/ActivityResult;
|
|
.locals 0
|
|
|
|
.line 3641
|
|
new-instance p0, Landroidx/activity/result/ActivityResult;
|
|
|
|
invoke-direct {p0, p1, p2}, Landroidx/activity/result/ActivityResult;-><init>(ILandroid/content/Intent;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
.line 3610
|
|
invoke-virtual {p0, p1, p2}, Landroidx/fragment/app/FragmentManager$FragmentIntentSenderContract;->parseResult(ILandroid/content/Intent;)Landroidx/activity/result/ActivityResult;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|