.class public Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents; .super Landroidx/activity/result/contract/ActivityResultContract; .source "SourceFile" # annotations .annotation build Landroidx/annotation/RequiresApi; value = 0x12 .end annotation .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/activity/result/contract/ActivityResultContracts; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "GetMultipleContents" .end annotation .annotation system Ldalvik/annotation/MemberClasses; value = { Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Landroidx/activity/result/contract/ActivityResultContract<", "Ljava/lang/String;", "Ljava/util/List<", "Landroid/net/Uri;", ">;>;" } .end annotation # static fields .field public static final Companion:Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion; # direct methods .method static constructor ()V .locals 2 new-instance v0, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion; const/4 v1, 0x0 invoke-direct {v0, v1}, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion;->(Lkotlin/jvm/internal/DefaultConstructorMarker;)V sput-object v0, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion; return-void .end method .method public constructor ()V .locals 0 .line 426 invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;->()V return-void .end method # virtual methods .method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent; .locals 0 .line 424 check-cast p2, Ljava/lang/String; invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents;->createIntent(Landroid/content/Context;Ljava/lang/String;)Landroid/content/Intent; move-result-object p1 return-object p1 .end method .method public createIntent(Landroid/content/Context;Ljava/lang/String;)Landroid/content/Intent; .locals 1 .annotation build Landroidx/annotation/CallSuper; .end annotation const-string v0, "context" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string p1, "input" invoke-static {p2, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 429 new-instance p1, Landroid/content/Intent; const-string v0, "android.intent.action.GET_CONTENT" invoke-direct {p1, v0}, Landroid/content/Intent;->(Ljava/lang/String;)V const-string v0, "android.intent.category.OPENABLE" .line 430 invoke-virtual {p1, v0}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent; move-result-object p1 .line 431 invoke-virtual {p1, p2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent; move-result-object p1 const-string p2, "android.intent.extra.ALLOW_MULTIPLE" const/4 v0, 0x1 .line 432 invoke-virtual {p1, p2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent; move-result-object p1 const-string p2, "Intent(Intent.ACTION_GET\u2026TRA_ALLOW_MULTIPLE, true)" invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V return-object p1 .end method .method public bridge synthetic getSynchronousResult(Landroid/content/Context;Ljava/lang/Object;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult; .locals 0 .line 424 check-cast p2, Ljava/lang/String; invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents;->getSynchronousResult(Landroid/content/Context;Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult; move-result-object p1 return-object p1 .end method .method public final getSynchronousResult(Landroid/content/Context;Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/content/Context;", "Ljava/lang/String;", ")", "Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult<", "Ljava/util/List<", "Landroid/net/Uri;", ">;>;" } .end annotation .line 0 const-string v0, "context" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string p1, "input" invoke-static {p2, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const/4 p1, 0x0 return-object p1 .end method .method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object; .locals 0 .line 424 invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents;->parseResult(ILandroid/content/Intent;)Ljava/util/List; move-result-object p1 return-object p1 .end method .method public final parseResult(ILandroid/content/Intent;)Ljava/util/List; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(I", "Landroid/content/Intent;", ")", "Ljava/util/List<", "Landroid/net/Uri;", ">;" } .end annotation const/4 v0, -0x1 if-ne p1, v0, :cond_0 goto :goto_0 :cond_0 const/4 p2, 0x0 :goto_0 if-eqz p2, :cond_1 sget-object p1, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion; .line 443 invoke-virtual {p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion;->getClipDataUris$activity_release(Landroid/content/Intent;)Ljava/util/List; move-result-object p1 if-eqz p1, :cond_1 goto :goto_1 :cond_1 invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List; move-result-object p1 :goto_1 return-object p1 .end method