211 lines
6.0 KiB
Smali
211 lines
6.0 KiB
Smali
.class public Landroidx/fragment/app/FragmentManager$l;
|
|
.super Lb/a;
|
|
.source "FragmentManager.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/fragment/app/FragmentManager;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "l"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lb/a<",
|
|
"Landroidx/activity/result/IntentSenderRequest;",
|
|
"Landroidx/activity/result/ActivityResult;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lb/a;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic a(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
|
.locals 0
|
|
.param p1 # Landroid/content/Context;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
check-cast p2, Landroidx/activity/result/IntentSenderRequest;
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroidx/fragment/app/FragmentManager$l;->d(Landroid/content/Context;Landroidx/activity/result/IntentSenderRequest;)Landroid/content/Intent;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public bridge synthetic c(ILandroid/content/Intent;)Ljava/lang/Object;
|
|
.locals 0
|
|
.param p2 # Landroid/content/Intent;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1, p2}, Landroidx/fragment/app/FragmentManager$l;->e(ILandroid/content/Intent;)Landroidx/activity/result/ActivityResult;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public d(Landroid/content/Context;Landroidx/activity/result/IntentSenderRequest;)Landroid/content/Intent;
|
|
.locals 3
|
|
.param p1 # Landroid/content/Context;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance p1, Landroid/content/Intent;
|
|
|
|
const-string v0, "androidx.activity.result.contract.action.INTENT_SENDER_REQUEST"
|
|
|
|
invoke-direct {p1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
invoke-virtual {p2}, Landroidx/activity/result/IntentSenderRequest;->b()Landroid/content/Intent;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v1, "androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE"
|
|
|
|
.line 3
|
|
invoke-virtual {v0, v1}, Landroid/content/Intent;->getBundleExtra(Ljava/lang/String;)Landroid/os/Bundle;
|
|
|
|
move-result-object v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 4
|
|
invoke-virtual {p1, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;
|
|
|
|
.line 5
|
|
invoke-virtual {v0, v1}, Landroid/content/Intent;->removeExtra(Ljava/lang/String;)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const-string v2, "androidx.fragment.extra.ACTIVITY_OPTIONS_BUNDLE"
|
|
|
|
.line 6
|
|
invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 7
|
|
new-instance v0, Landroidx/activity/result/IntentSenderRequest$b;
|
|
|
|
invoke-virtual {p2}, Landroidx/activity/result/IntentSenderRequest;->e()Landroid/content/IntentSender;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Landroidx/activity/result/IntentSenderRequest$b;-><init>(Landroid/content/IntentSender;)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 8
|
|
invoke-virtual {v0, v1}, Landroidx/activity/result/IntentSenderRequest$b;->b(Landroid/content/Intent;)Landroidx/activity/result/IntentSenderRequest$b;
|
|
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
invoke-virtual {p2}, Landroidx/activity/result/IntentSenderRequest;->d()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p2}, Landroidx/activity/result/IntentSenderRequest;->c()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {v0, v1, p2}, Landroidx/activity/result/IntentSenderRequest$b;->c(II)Landroidx/activity/result/IntentSenderRequest$b;
|
|
|
|
move-result-object p2
|
|
|
|
.line 10
|
|
invoke-virtual {p2}, Landroidx/activity/result/IntentSenderRequest$b;->a()Landroidx/activity/result/IntentSenderRequest;
|
|
|
|
move-result-object p2
|
|
|
|
:cond_0
|
|
const-string v0, "androidx.activity.result.contract.extra.INTENT_SENDER_REQUEST"
|
|
|
|
.line 11
|
|
invoke-virtual {p1, v0, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
|
|
|
|
const/4 p2, 0x2
|
|
|
|
.line 12
|
|
invoke-static {p2}, Landroidx/fragment/app/FragmentManager;->T0(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 13
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v0, "CreateIntent created the following intent: "
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v0, "FragmentManager"
|
|
|
|
invoke-static {v0, p2}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
:cond_1
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public e(ILandroid/content/Intent;)Landroidx/activity/result/ActivityResult;
|
|
.locals 1
|
|
.param p2 # Landroid/content/Intent;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/activity/result/ActivityResult;
|
|
|
|
invoke-direct {v0, p1, p2}, Landroidx/activity/result/ActivityResult;-><init>(ILandroid/content/Intent;)V
|
|
|
|
return-object v0
|
|
.end method
|