changed repo structure
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContract.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "SynchronousResult"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0002\u0008\u0006\u0018\u0000*\u0004\u0008\u0002\u0010\u00012\u00020\u0002B\r\u0012\u0006\u0010\u0003\u001a\u00028\u0002\u00a2\u0006\u0002\u0010\u0004R\u0013\u0010\u0003\u001a\u00028\u0002\u00a2\u0006\n\n\u0002\u0010\u0007\u001a\u0004\u0008\u0005\u0010\u0006\u00a8\u0006\u0008"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"T",
|
||||
"",
|
||||
"value",
|
||||
"(Ljava/lang/Object;)V",
|
||||
"getValue",
|
||||
"()Ljava/lang/Object;",
|
||||
"Ljava/lang/Object;",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final value:Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"TT;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 55
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;->value:Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final getValue()Ljava/lang/Object;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()TT;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.line 55
|
||||
iget-object v0, p0, Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;->value:Ljava/lang/Object;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
@@ -0,0 +1,113 @@
|
||||
.class public abstract Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContract.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<I:",
|
||||
"Ljava/lang/Object;",
|
||||
"O:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000.\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0004\u0008&\u0018\u0000*\u0004\u0008\u0000\u0010\u0001*\u0004\u0008\u0001\u0010\u00022\u00020\u0003:\u0001\u0013B\u0005\u00a2\u0006\u0002\u0010\u0004J\u001d\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00028\u0000H&\u00a2\u0006\u0002\u0010\nJ%\u0010\u000b\u001a\n\u0012\u0004\u0012\u00028\u0001\u0018\u00010\u000c2\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00028\u0000H\u0016\u00a2\u0006\u0002\u0010\rJ\u001f\u0010\u000e\u001a\u00028\u00012\u0006\u0010\u000f\u001a\u00020\u00102\u0008\u0010\u0011\u001a\u0004\u0018\u00010\u0006H&\u00a2\u0006\u0002\u0010\u0012\u00a8\u0006\u0014"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"I",
|
||||
"O",
|
||||
"",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"(Landroid/content/Context;Ljava/lang/Object;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"(ILandroid/content/Intent;)Ljava/lang/Object;",
|
||||
"SynchronousResult",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 29
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/content/Context;",
|
||||
"TI;)",
|
||||
"Landroid/content/Intent;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public getSynchronousResult(Landroid/content/Context;Ljava/lang/Object;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/content/Context;",
|
||||
"TI;)",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult<",
|
||||
"TO;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string p2, "context"
|
||||
|
||||
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public abstract parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(I",
|
||||
"Landroid/content/Intent;",
|
||||
")TO;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
@@ -0,0 +1,190 @@
|
||||
.class public Landroidx/activity/result/contract/ActivityResultContracts$CaptureVideo;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "CaptureVideo"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"Landroid/net/Uri;",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0003\u0008\u0016\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0018\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0002H\u0017J\u001e\u0010\n\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u000b2\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0002J\u001d\u0010\u000c\u001a\u00020\u00032\u0006\u0010\r\u001a\u00020\u000e2\u0008\u0010\u000f\u001a\u0004\u0018\u00010\u0006\u00a2\u0006\u0002\u0010\u0010\u00a8\u0006\u0011"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$CaptureVideo;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"Landroid/net/Uri;",
|
||||
"",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"(ILandroid/content/Intent;)Ljava/lang/Boolean;",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 346
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public createIntent(Landroid/content/Context;Landroid/net/Uri;)Landroid/content/Intent;
|
||||
.locals 1
|
||||
|
||||
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 349
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string v0, "android.media.action.VIDEO_CAPTURE"
|
||||
|
||||
invoke-direct {p1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 350
|
||||
const-string v0, "output"
|
||||
|
||||
check-cast p2, Landroid/os/Parcelable;
|
||||
|
||||
invoke-virtual {p1, v0, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "Intent(MediaStore.ACTION\u2026tore.EXTRA_OUTPUT, input)"
|
||||
|
||||
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 createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 346
|
||||
check-cast p2, Landroid/net/Uri;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$CaptureVideo;->createIntent(Landroid/content/Context;Landroid/net/Uri;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final getSynchronousResult(Landroid/content/Context;Landroid/net/Uri;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/content/Context;",
|
||||
"Landroid/net/Uri;",
|
||||
")",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult<",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.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
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
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 346
|
||||
check-cast p2, Landroid/net/Uri;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$CaptureVideo;->getSynchronousResult(Landroid/content/Context;Landroid/net/Uri;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final parseResult(ILandroid/content/Intent;)Ljava/lang/Boolean;
|
||||
.locals 0
|
||||
|
||||
const/4 p2, -0x1
|
||||
|
||||
if-ne p1, p2, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
.line 360
|
||||
:goto_0
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 346
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$CaptureVideo;->parseResult(ILandroid/content/Intent;)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,232 @@
|
||||
.class public Landroidx/activity/result/contract/ActivityResultContracts$CreateDocument;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "CreateDocument"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"Ljava/lang/String;",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||||
value = "SMAP\nActivityResultContracts.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ActivityResultContracts.kt\nandroidx/activity/result/contract/ActivityResultContracts$CreateDocument\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,959:1\n1#2:960\n*E\n"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\u0008\u0017\u0018\u00002\u0010\u0012\u0004\u0012\u00020\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u00030\u0001B\u0007\u0008\u0017\u00a2\u0006\u0002\u0010\u0004B\r\u0012\u0006\u0010\u0005\u001a\u00020\u0002\u00a2\u0006\u0002\u0010\u0006J\u0018\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u0002H\u0017J \u0010\u000c\u001a\u000c\u0012\u0006\u0012\u0004\u0018\u00010\u0003\u0018\u00010\r2\u0006\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u0002J\u001a\u0010\u000e\u001a\u0004\u0018\u00010\u00032\u0006\u0010\u000f\u001a\u00020\u00102\u0008\u0010\u0011\u001a\u0004\u0018\u00010\u0008R\u000e\u0010\u0005\u001a\u00020\u0002X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0012"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$CreateDocument;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"",
|
||||
"Landroid/net/Uri;",
|
||||
"()V",
|
||||
"mimeType",
|
||||
"(Ljava/lang/String;)V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final mimeType:Ljava/lang/String;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
.annotation runtime Lkotlin/Deprecated;
|
||||
message = "Using a wildcard mime type with CreateDocument is not recommended as it breaks the automatic handling of file extensions. Instead, specify the mime type by using the constructor that takes an concrete mime type (e.g.., CreateDocument(\"image/png\"))."
|
||||
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
||||
expression = "CreateDocument(\"todo/todo\")"
|
||||
imports = {}
|
||||
.end subannotation
|
||||
.end annotation
|
||||
|
||||
.line 593
|
||||
const-string v0, "*/*"
|
||||
|
||||
invoke-direct {p0, v0}, Landroidx/activity/result/contract/ActivityResultContracts$CreateDocument;-><init>(Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "mimeType"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 584
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
.line 583
|
||||
iput-object p1, p0, Landroidx/activity/result/contract/ActivityResultContracts$CreateDocument;->mimeType:Ljava/lang/String;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 581
|
||||
check-cast p2, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$CreateDocument;->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
|
||||
|
||||
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 597
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string v0, "android.intent.action.CREATE_DOCUMENT"
|
||||
|
||||
invoke-direct {p1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 598
|
||||
iget-object v0, p0, Landroidx/activity/result/contract/ActivityResultContracts$CreateDocument;->mimeType:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
.line 599
|
||||
const-string v0, "android.intent.extra.TITLE"
|
||||
|
||||
invoke-virtual {p1, v0, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "Intent(Intent.ACTION_CRE\u2026ntent.EXTRA_TITLE, input)"
|
||||
|
||||
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 581
|
||||
check-cast p2, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$CreateDocument;->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<",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.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
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final parseResult(ILandroid/content/Intent;)Landroid/net/Uri;
|
||||
.locals 2
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object p2, v1
|
||||
|
||||
:goto_0
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
.line 608
|
||||
invoke-virtual {p2}, Landroid/content/Intent;->getData()Landroid/net/Uri;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:cond_1
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 581
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$CreateDocument;->parseResult(ILandroid/content/Intent;)Landroid/net/Uri;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,199 @@
|
||||
.class public Landroidx/activity/result/contract/ActivityResultContracts$GetContent;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "GetContent"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"Ljava/lang/String;",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||||
value = "SMAP\nActivityResultContracts.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ActivityResultContracts.kt\nandroidx/activity/result/contract/ActivityResultContracts$GetContent\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,959:1\n1#2:960\n*E\n"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\u0008\u0016\u0018\u00002\u0010\u0012\u0004\u0012\u00020\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u00030\u0001B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0018\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0002H\u0017J \u0010\n\u001a\u000c\u0012\u0006\u0012\u0004\u0018\u00010\u0003\u0018\u00010\u000b2\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0002J\u001a\u0010\u000c\u001a\u0004\u0018\u00010\u00032\u0006\u0010\r\u001a\u00020\u000e2\u0008\u0010\u000f\u001a\u0004\u0018\u00010\u0006\u00a8\u0006\u0010"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$GetContent;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"",
|
||||
"Landroid/net/Uri;",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 394
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 394
|
||||
check-cast p2, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$GetContent;->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
|
||||
|
||||
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 397
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string v0, "android.intent.action.GET_CONTENT"
|
||||
|
||||
invoke-direct {p1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 398
|
||||
const-string v0, "android.intent.category.OPENABLE"
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
.line 399
|
||||
invoke-virtual {p1, p2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "Intent(Intent.ACTION_GET\u2026 .setType(input)"
|
||||
|
||||
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 394
|
||||
check-cast p2, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$GetContent;->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<",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.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
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final parseResult(ILandroid/content/Intent;)Landroid/net/Uri;
|
||||
.locals 2
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object p2, v1
|
||||
|
||||
:goto_0
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
.line 408
|
||||
invoke-virtual {p2}, Landroid/content/Intent;->getData()Landroid/net/Uri;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:cond_1
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 394
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$GetContent;->parseResult(ILandroid/content/Intent;)Landroid/net/Uri;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,158 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0008\u0081\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0017\u0010\u0003\u001a\u0008\u0012\u0004\u0012\u00020\u00050\u0004*\u00020\u0006H\u0000\u00a2\u0006\u0002\u0008\u0007\u00a8\u0006\u0008"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion;",
|
||||
"",
|
||||
"()V",
|
||||
"getClipDataUris",
|
||||
"",
|
||||
"Landroid/net/Uri;",
|
||||
"Landroid/content/Intent;",
|
||||
"getClipDataUris$activity_release",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 446
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final getClipDataUris$activity_release(Landroid/content/Intent;)Ljava/util/List;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/content/Intent;",
|
||||
")",
|
||||
"Ljava/util/List<",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "<this>"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 451
|
||||
new-instance v0, Ljava/util/LinkedHashSet;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
||||
|
||||
.line 452
|
||||
invoke-virtual {p1}, Landroid/content/Intent;->getData()Landroid/net/Uri;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
.line 453
|
||||
invoke-virtual {v0, v1}, Ljava/util/LinkedHashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
.line 455
|
||||
:cond_0
|
||||
invoke-virtual {p1}, Landroid/content/Intent;->getClipData()Landroid/content/ClipData;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-nez p1, :cond_1
|
||||
|
||||
.line 456
|
||||
invoke-virtual {v0}, Ljava/util/LinkedHashSet;->isEmpty()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
.line 457
|
||||
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_1
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
.line 459
|
||||
invoke-virtual {p1}, Landroid/content/ClipData;->getItemCount()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_3
|
||||
|
||||
.line 460
|
||||
invoke-virtual {p1, v2}, Landroid/content/ClipData;->getItemAt(I)Landroid/content/ClipData$Item;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3}, Landroid/content/ClipData$Item;->getUri()Landroid/net/Uri;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-eqz v3, :cond_2
|
||||
|
||||
.line 462
|
||||
invoke-virtual {v0, v3}, Ljava/util/LinkedHashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:cond_2
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 466
|
||||
:cond_3
|
||||
new-instance p1, Ljava/util/ArrayList;
|
||||
|
||||
check-cast v0, Ljava/util/Collection;
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
||||
|
||||
check-cast p1, Ljava/util/List;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,252 @@
|
||||
.class public Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.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
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0003\u0008\u0017\u0018\u0000 \u00122\u0019\u0012\u0004\u0012\u00020\u0002\u0012\u000f\u0012\r\u0012\t\u0012\u00070\u0004\u00a2\u0006\u0002\u0008\u00050\u00030\u0001:\u0001\u0012B\u0005\u00a2\u0006\u0002\u0010\u0006J\u0018\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u0002H\u0017J$\u0010\u000c\u001a\u0010\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u00040\u0003\u0018\u00010\r2\u0006\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u0002J\u001e\u0010\u000e\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u00032\u0006\u0010\u000f\u001a\u00020\u00102\u0008\u0010\u0011\u001a\u0004\u0018\u00010\u0008\u00a8\u0006\u0013"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"",
|
||||
"",
|
||||
"Landroid/net/Uri;",
|
||||
"Lkotlin/jvm/JvmSuppressWildcards;",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"Companion",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final Companion:Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()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;-><init>(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 <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 426
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()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
|
||||
|
||||
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;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 430
|
||||
const-string v0, "android.intent.category.OPENABLE"
|
||||
|
||||
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
|
||||
|
||||
.line 432
|
||||
const-string p2, "android.intent.extra.ALLOW_MULTIPLE"
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
.line 443
|
||||
sget-object p1, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion;
|
||||
|
||||
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
|
||||
@@ -0,0 +1,206 @@
|
||||
.class public Landroidx/activity/result/contract/ActivityResultContracts$OpenDocument;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "OpenDocument"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"[",
|
||||
"Ljava/lang/String;",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||||
value = "SMAP\nActivityResultContracts.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ActivityResultContracts.kt\nandroidx/activity/result/contract/ActivityResultContracts$OpenDocument\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,959:1\n1#2:960\n*E\n"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0011\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0002\u0008\u0017\u0018\u00002\u0016\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u00030\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u00040\u0001B\u0005\u00a2\u0006\u0002\u0010\u0005J#\u0010\u0006\u001a\u00020\u00072\u0006\u0010\u0008\u001a\u00020\t2\u000c\u0010\n\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u0002H\u0017\u00a2\u0006\u0002\u0010\u000bJ+\u0010\u000c\u001a\u000c\u0012\u0006\u0012\u0004\u0018\u00010\u0004\u0018\u00010\r2\u0006\u0010\u0008\u001a\u00020\t2\u000c\u0010\n\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u0002\u00a2\u0006\u0002\u0010\u000eJ\u001a\u0010\u000f\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0010\u001a\u00020\u00112\u0008\u0010\u0012\u001a\u0004\u0018\u00010\u0007\u00a8\u0006\u0013"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$OpenDocument;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"",
|
||||
"",
|
||||
"Landroid/net/Uri;",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"(Landroid/content/Context;[Ljava/lang/String;)Landroid/content/Intent;",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"(Landroid/content/Context;[Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 483
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 482
|
||||
check-cast p2, [Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$OpenDocument;->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
|
||||
|
||||
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 486
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string v0, "android.intent.action.OPEN_DOCUMENT"
|
||||
|
||||
invoke-direct {p1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 487
|
||||
const-string v0, "android.intent.extra.MIME_TYPES"
|
||||
|
||||
invoke-virtual {p1, v0, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
.line 488
|
||||
const-string p2, "*/*"
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "Intent(Intent.ACTION_OPE\u2026 .setType(\"*/*\")"
|
||||
|
||||
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 482
|
||||
check-cast p2, [Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$OpenDocument;->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<",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.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
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final parseResult(ILandroid/content/Intent;)Landroid/net/Uri;
|
||||
.locals 2
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object p2, v1
|
||||
|
||||
:goto_0
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
.line 497
|
||||
invoke-virtual {p2}, Landroid/content/Intent;->getData()Landroid/net/Uri;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:cond_1
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 482
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$OpenDocument;->parseResult(ILandroid/content/Intent;)Landroid/net/Uri;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,191 @@
|
||||
.class public Landroidx/activity/result/contract/ActivityResultContracts$OpenDocumentTree;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "OpenDocumentTree"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"Landroid/net/Uri;",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||||
value = "SMAP\nActivityResultContracts.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ActivityResultContracts.kt\nandroidx/activity/result/contract/ActivityResultContracts$OpenDocumentTree\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,959:1\n1#2:960\n*E\n"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\u0008\u0017\u0018\u00002\u0012\u0012\u0006\u0012\u0004\u0018\u00010\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0003J\u001a\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u00072\u0008\u0010\u0008\u001a\u0004\u0018\u00010\u0002H\u0017J\"\u0010\t\u001a\u000c\u0012\u0006\u0012\u0004\u0018\u00010\u0002\u0018\u00010\n2\u0006\u0010\u0006\u001a\u00020\u00072\u0008\u0010\u0008\u001a\u0004\u0018\u00010\u0002J\u001a\u0010\u000b\u001a\u0004\u0018\u00010\u00022\u0006\u0010\u000c\u001a\u00020\r2\u0008\u0010\u000e\u001a\u0004\u0018\u00010\u0005\u00a8\u0006\u000f"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$OpenDocumentTree;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"Landroid/net/Uri;",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 551
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public createIntent(Landroid/content/Context;Landroid/net/Uri;)Landroid/content/Intent;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 554
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string v0, "android.intent.action.OPEN_DOCUMENT_TREE"
|
||||
|
||||
invoke-direct {p1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 555
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v1, 0x1a
|
||||
|
||||
if-lt v0, v1, :cond_0
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
.line 556
|
||||
const-string v0, "android.provider.extra.INITIAL_URI"
|
||||
|
||||
check-cast p2, Landroid/os/Parcelable;
|
||||
|
||||
invoke-virtual {p1, v0, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
|
||||
|
||||
:cond_0
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 550
|
||||
check-cast p2, Landroid/net/Uri;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$OpenDocumentTree;->createIntent(Landroid/content/Context;Landroid/net/Uri;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final getSynchronousResult(Landroid/content/Context;Landroid/net/Uri;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/content/Context;",
|
||||
"Landroid/net/Uri;",
|
||||
")",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult<",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string p2, "context"
|
||||
|
||||
invoke-static {p1, p2}, 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 getSynchronousResult(Landroid/content/Context;Ljava/lang/Object;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
.locals 0
|
||||
|
||||
.line 550
|
||||
check-cast p2, Landroid/net/Uri;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$OpenDocumentTree;->getSynchronousResult(Landroid/content/Context;Landroid/net/Uri;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final parseResult(ILandroid/content/Intent;)Landroid/net/Uri;
|
||||
.locals 2
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object p2, v1
|
||||
|
||||
:goto_0
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
.line 567
|
||||
invoke-virtual {p2}, Landroid/content/Intent;->getData()Landroid/net/Uri;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:cond_1
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 550
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$OpenDocumentTree;->parseResult(ILandroid/content/Intent;)Landroid/net/Uri;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,234 @@
|
||||
.class public Landroidx/activity/result/contract/ActivityResultContracts$OpenMultipleDocuments;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "OpenMultipleDocuments"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"[",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/util/List<",
|
||||
"Landroid/net/Uri;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0011\n\u0002\u0010\u000e\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0002\u0008\u0017\u0018\u00002\u001f\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u00030\u0002\u0012\u000f\u0012\r\u0012\t\u0012\u00070\u0005\u00a2\u0006\u0002\u0008\u00060\u00040\u0001B\u0005\u00a2\u0006\u0002\u0010\u0007J#\u0010\u0008\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\u000b2\u000c\u0010\u000c\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u0002H\u0017\u00a2\u0006\u0002\u0010\rJ/\u0010\u000e\u001a\u0010\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u00050\u0004\u0018\u00010\u000f2\u0006\u0010\n\u001a\u00020\u000b2\u000c\u0010\u000c\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u0002\u00a2\u0006\u0002\u0010\u0010J\u001e\u0010\u0011\u001a\u0008\u0012\u0004\u0012\u00020\u00050\u00042\u0006\u0010\u0012\u001a\u00020\u00132\u0008\u0010\u0014\u001a\u0004\u0018\u00010\t\u00a8\u0006\u0015"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$OpenMultipleDocuments;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"Landroid/net/Uri;",
|
||||
"Lkotlin/jvm/JvmSuppressWildcards;",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"(Landroid/content/Context;[Ljava/lang/String;)Landroid/content/Intent;",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"(Landroid/content/Context;[Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 514
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 512
|
||||
check-cast p2, [Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$OpenMultipleDocuments;->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
|
||||
|
||||
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 517
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string v0, "android.intent.action.OPEN_DOCUMENT"
|
||||
|
||||
invoke-direct {p1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 518
|
||||
const-string v0, "android.intent.extra.MIME_TYPES"
|
||||
|
||||
invoke-virtual {p1, v0, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
.line 519
|
||||
const-string p2, "android.intent.extra.ALLOW_MULTIPLE"
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-virtual {p1, p2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
.line 520
|
||||
const-string p2, "*/*"
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "Intent(Intent.ACTION_OPE\u2026 .setType(\"*/*\")"
|
||||
|
||||
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 512
|
||||
check-cast p2, [Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$OpenMultipleDocuments;->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
|
||||
|
||||
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 512
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$OpenMultipleDocuments;->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
|
||||
|
||||
.line 531
|
||||
sget-object p1, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion;
|
||||
|
||||
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
|
||||
@@ -0,0 +1,147 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$PickContact;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "PickContact"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"Ljava/lang/Void;",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||||
value = "SMAP\nActivityResultContracts.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ActivityResultContracts.kt\nandroidx/activity/result/contract/ActivityResultContracts$PickContact\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,959:1\n1#2:960\n*E\n"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0002\u0018\u00002\u0012\u0012\u0006\u0012\u0004\u0018\u00010\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u00030\u0001B\u0005\u00a2\u0006\u0002\u0010\u0004J\u001a\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00082\u0008\u0010\t\u001a\u0004\u0018\u00010\u0002H\u0016J\u001c\u0010\n\u001a\u0004\u0018\u00010\u00032\u0006\u0010\u000b\u001a\u00020\u000c2\u0008\u0010\r\u001a\u0004\u0018\u00010\u0006H\u0016\u00a8\u0006\u000e"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickContact;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"Ljava/lang/Void;",
|
||||
"Landroid/net/Uri;",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 372
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 372
|
||||
check-cast p2, Ljava/lang/Void;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$PickContact;->createIntent(Landroid/content/Context;Ljava/lang/Void;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public createIntent(Landroid/content/Context;Ljava/lang/Void;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
const-string p2, "context"
|
||||
|
||||
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 374
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string p2, "android.intent.action.PICK"
|
||||
|
||||
invoke-direct {p1, p2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
const-string p2, "vnd.android.cursor.dir/contact"
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "Intent(Intent.ACTION_PIC\u2026ct.Contacts.CONTENT_TYPE)"
|
||||
|
||||
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public parseResult(ILandroid/content/Intent;)Landroid/net/Uri;
|
||||
.locals 2
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object p2, v1
|
||||
|
||||
:goto_0
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
.line 378
|
||||
invoke-virtual {p2}, Landroid/content/Intent;->getData()Landroid/net/Uri;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:cond_1
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 372
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$PickContact;->parseResult(ILandroid/content/Intent;)Landroid/net/Uri;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,83 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\u0008\u0080\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\r\u0010\u0003\u001a\u00020\u0004H\u0001\u00a2\u0006\u0002\u0008\u0005\u00a8\u0006\u0006"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia$Companion;",
|
||||
"",
|
||||
"()V",
|
||||
"getMaxItems",
|
||||
"",
|
||||
"getMaxItems$activity_release",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 940
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia$Companion;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final getMaxItems$activity_release()I
|
||||
.locals 1
|
||||
|
||||
.line 951
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isSystemPickerAvailable$activity_release()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
.line 952
|
||||
invoke-static {}, Landroid/provider/MediaStore;->getPickImagesMaxLimit()I
|
||||
|
||||
move-result v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const v0, 0x7fffffff
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
@@ -0,0 +1,530 @@
|
||||
.class public Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "PickMultipleVisualMedia"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia$Companion;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"Landroidx/activity/result/PickVisualMediaRequest;",
|
||||
"Ljava/util/List<",
|
||||
"Landroid/net/Uri;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u00008\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0005\u0008\u0017\u0018\u0000 \u00132\u0019\u0012\u0004\u0012\u00020\u0002\u0012\u000f\u0012\r\u0012\t\u0012\u00070\u0004\u00a2\u0006\u0002\u0008\u00050\u00030\u0001:\u0001\u0013B\u000f\u0012\u0008\u0008\u0002\u0010\u0006\u001a\u00020\u0007\u00a2\u0006\u0002\u0010\u0008J\u0018\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u000c2\u0006\u0010\r\u001a\u00020\u0002H\u0017J)\u0010\u000e\u001a\u0015\u0012\u000f\u0012\r\u0012\t\u0012\u00070\u0004\u00a2\u0006\u0002\u0008\u00050\u0003\u0018\u00010\u000f2\u0006\u0010\u000b\u001a\u00020\u000c2\u0006\u0010\r\u001a\u00020\u0002J\u001e\u0010\u0010\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u00032\u0006\u0010\u0011\u001a\u00020\u00072\u0008\u0010\u0012\u001a\u0004\u0018\u00010\nR\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0014"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"Landroidx/activity/result/PickVisualMediaRequest;",
|
||||
"",
|
||||
"Landroid/net/Uri;",
|
||||
"Lkotlin/jvm/JvmSuppressWildcards;",
|
||||
"maxItems",
|
||||
"",
|
||||
"(I)V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"intent",
|
||||
"Companion",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia$Companion;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final maxItems:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia$Companion;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia$Companion;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 3
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-direct {p0, v2, v0, v1}, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;-><init>(IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(I)V
|
||||
.locals 1
|
||||
|
||||
.line 876
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
.line 875
|
||||
iput p1, p0, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;->maxItems:I
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
if-le p1, v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
.line 879
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "Max items must be higher than 1"
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
and-int/lit8 p2, p2, 0x1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
.line 875
|
||||
sget-object p1, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia$Companion;->getMaxItems$activity_release()I
|
||||
|
||||
move-result p1
|
||||
|
||||
.line 874
|
||||
:cond_0
|
||||
invoke-direct {p0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;-><init>(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public createIntent(Landroid/content/Context;Landroidx/activity/result/PickVisualMediaRequest;)Landroid/content/Intent;
|
||||
.locals 3
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "input"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 888
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isSystemPickerAvailable$activity_release()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
.line 889
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string v0, "android.provider.action.PICK_IMAGES"
|
||||
|
||||
invoke-direct {p1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 890
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {p2}, Landroidx/activity/result/PickVisualMediaRequest;->getMediaType()Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {v0, p2}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getVisualMimeType$activity_release(Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;)Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
.line 891
|
||||
iget p2, p0, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;->maxItems:I
|
||||
|
||||
invoke-static {}, Landroid/provider/MediaStore;->getPickImagesMaxLimit()I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-gt p2, v0, :cond_0
|
||||
|
||||
.line 895
|
||||
const-string p2, "android.provider.extra.PICK_IMAGES_MAX"
|
||||
|
||||
iget v0, p0, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;->maxItems:I
|
||||
|
||||
invoke-virtual {p1, p2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
.line 891
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string p2, "Max items must be less or equals MediaStore.getPickImagesMaxLimit()"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
.line 897
|
||||
:cond_1
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isSystemFallbackPickerAvailable$activity_release(Landroid/content/Context;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
const-string v1, "Required value was null."
|
||||
|
||||
const-string v2, "com.google.android.gms.provider.extra.PICK_IMAGES_MAX"
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
.line 898
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getSystemFallbackPicker$activity_release(Landroid/content/Context;)Landroid/content/pm/ResolveInfo;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
iget-object p1, p1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
|
||||
|
||||
.line 899
|
||||
new-instance v0, Landroid/content/Intent;
|
||||
|
||||
const-string v1, "androidx.activity.result.contract.action.PICK_IMAGES"
|
||||
|
||||
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 900
|
||||
iget-object v1, p1, Landroid/content/pm/ActivityInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;
|
||||
|
||||
iget-object v1, v1, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;
|
||||
|
||||
iget-object p1, p1, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
.line 901
|
||||
sget-object p1, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {p2}, Landroidx/activity/result/PickVisualMediaRequest;->getMediaType()Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getVisualMimeType$activity_release(Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {v0, p1}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
.line 902
|
||||
iget p1, p0, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;->maxItems:I
|
||||
|
||||
invoke-virtual {v0, v2, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
|
||||
|
||||
move-object p1, v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 898
|
||||
:cond_2
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
.line 904
|
||||
:cond_3
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isGmsPickerAvailable$activity_release(Landroid/content/Context;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_5
|
||||
|
||||
.line 905
|
||||
sget-object p2, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {p2, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getGmsPicker$activity_release(Landroid/content/Context;)Landroid/content/pm/ResolveInfo;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
iget-object p1, p1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
|
||||
|
||||
.line 906
|
||||
new-instance p2, Landroid/content/Intent;
|
||||
|
||||
const-string v0, "com.google.android.gms.provider.action.PICK_IMAGES"
|
||||
|
||||
invoke-direct {p2, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 907
|
||||
iget-object v0, p1, Landroid/content/pm/ActivityInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;
|
||||
|
||||
iget-object v0, v0, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;
|
||||
|
||||
iget-object p1, p1, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p2, v0, p1}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
.line 908
|
||||
iget p1, p0, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;->maxItems:I
|
||||
|
||||
invoke-virtual {p2, v2, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
|
||||
|
||||
move-object p1, p2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 905
|
||||
:cond_4
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
.line 914
|
||||
:cond_5
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string v0, "android.intent.action.OPEN_DOCUMENT"
|
||||
|
||||
invoke-direct {p1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 915
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {p2}, Landroidx/activity/result/PickVisualMediaRequest;->getMediaType()Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {v0, p2}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getVisualMimeType$activity_release(Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;)Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
.line 916
|
||||
const-string p2, "android.intent.extra.ALLOW_MULTIPLE"
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-virtual {p1, p2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
|
||||
|
||||
.line 918
|
||||
invoke-virtual {p1}, Landroid/content/Intent;->getType()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
if-nez p2, :cond_6
|
||||
|
||||
.line 921
|
||||
const-string p2, "*/*"
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
.line 922
|
||||
const-string p2, "image/*"
|
||||
|
||||
const-string v0, "video/*"
|
||||
|
||||
filled-new-array {p2, v0}, [Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string v0, "android.intent.extra.MIME_TYPES"
|
||||
|
||||
invoke-virtual {p1, v0, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
:cond_6
|
||||
:goto_0
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 873
|
||||
check-cast p2, Landroidx/activity/result/PickVisualMediaRequest;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;->createIntent(Landroid/content/Context;Landroidx/activity/result/PickVisualMediaRequest;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final getSynchronousResult(Landroid/content/Context;Landroidx/activity/result/PickVisualMediaRequest;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/content/Context;",
|
||||
"Landroidx/activity/result/PickVisualMediaRequest;",
|
||||
")",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult<",
|
||||
"Ljava/util/List<",
|
||||
"Landroid/net/Uri;",
|
||||
">;>;"
|
||||
}
|
||||
.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
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
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 873
|
||||
check-cast p2, Landroidx/activity/result/PickVisualMediaRequest;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;->getSynchronousResult(Landroid/content/Context;Landroidx/activity/result/PickVisualMediaRequest;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 873
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;->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
|
||||
|
||||
.line 937
|
||||
sget-object p1, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion;
|
||||
|
||||
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
|
||||
@@ -0,0 +1,376 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0002\u0008\u0006\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0007\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0017\u0010\n\u001a\u0004\u0018\u00010\u000b2\u0006\u0010\u000c\u001a\u00020\rH\u0001\u00a2\u0006\u0002\u0008\u000eJ\u0017\u0010\u000f\u001a\u0004\u0018\u00010\u000b2\u0006\u0010\u000c\u001a\u00020\rH\u0001\u00a2\u0006\u0002\u0008\u0010J\u0017\u0010\u0011\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0012\u001a\u00020\u0013H\u0000\u00a2\u0006\u0002\u0008\u0014J\u0015\u0010\u0015\u001a\u00020\u00162\u0006\u0010\u000c\u001a\u00020\rH\u0001\u00a2\u0006\u0002\u0008\u0017J\u0008\u0010\u0018\u001a\u00020\u0016H\u0007J\u0010\u0010\u0018\u001a\u00020\u00162\u0006\u0010\u000c\u001a\u00020\rH\u0007J\u0015\u0010\u0019\u001a\u00020\u00162\u0006\u0010\u000c\u001a\u00020\rH\u0001\u00a2\u0006\u0002\u0008\u001aJ\r\u0010\u001b\u001a\u00020\u0016H\u0001\u00a2\u0006\u0002\u0008\u001cR\u0014\u0010\u0003\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0008\n\u0000\u0012\u0004\u0008\u0005\u0010\u0002R\u0014\u0010\u0006\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0008\n\u0000\u0012\u0004\u0008\u0007\u0010\u0002R\u000e\u0010\u0008\u001a\u00020\u0004X\u0080T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\u0004X\u0080T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u001d"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;",
|
||||
"",
|
||||
"()V",
|
||||
"ACTION_SYSTEM_FALLBACK_PICK_IMAGES",
|
||||
"",
|
||||
"getACTION_SYSTEM_FALLBACK_PICK_IMAGES$annotations",
|
||||
"EXTRA_SYSTEM_FALLBACK_PICK_IMAGES_MAX",
|
||||
"getEXTRA_SYSTEM_FALLBACK_PICK_IMAGES_MAX$annotations",
|
||||
"GMS_ACTION_PICK_IMAGES",
|
||||
"GMS_EXTRA_PICK_IMAGES_MAX",
|
||||
"getGmsPicker",
|
||||
"Landroid/content/pm/ResolveInfo;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"getGmsPicker$activity_release",
|
||||
"getSystemFallbackPicker",
|
||||
"getSystemFallbackPicker$activity_release",
|
||||
"getVisualMimeType",
|
||||
"input",
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;",
|
||||
"getVisualMimeType$activity_release",
|
||||
"isGmsPickerAvailable",
|
||||
"",
|
||||
"isGmsPickerAvailable$activity_release",
|
||||
"isPhotoPickerAvailable",
|
||||
"isSystemFallbackPickerAvailable",
|
||||
"isSystemFallbackPickerAvailable$activity_release",
|
||||
"isSystemPickerAvailable",
|
||||
"isSystemPickerAvailable$activity_release",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 639
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static synthetic getACTION_SYSTEM_FALLBACK_PICK_IMAGES$annotations()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static synthetic getEXTRA_SYSTEM_FALLBACK_PICK_IMAGES_MAX$annotations()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final getGmsPicker$activity_release(Landroid/content/Context;)Landroid/content/pm/ResolveInfo;
|
||||
.locals 2
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 749
|
||||
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
.line 750
|
||||
new-instance v0, Landroid/content/Intent;
|
||||
|
||||
const-string v1, "com.google.android.gms.provider.action.PICK_IMAGES"
|
||||
|
||||
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
const/high16 v1, 0x110000
|
||||
|
||||
.line 749
|
||||
invoke-virtual {p1, v0, v1}, Landroid/content/pm/PackageManager;->resolveActivity(Landroid/content/Intent;I)Landroid/content/pm/ResolveInfo;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final getSystemFallbackPicker$activity_release(Landroid/content/Context;)Landroid/content/pm/ResolveInfo;
|
||||
.locals 2
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 735
|
||||
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
.line 736
|
||||
new-instance v0, Landroid/content/Intent;
|
||||
|
||||
const-string v1, "androidx.activity.result.contract.action.PICK_IMAGES"
|
||||
|
||||
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
const/high16 v1, 0x110000
|
||||
|
||||
.line 735
|
||||
invoke-virtual {p1, v0, v1}, Landroid/content/pm/PackageManager;->resolveActivity(Landroid/content/Intent;I)Landroid/content/pm/ResolveInfo;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final getVisualMimeType$activity_release(Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;)Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "input"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 757
|
||||
instance-of v0, p1, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageOnly;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const-string p1, "image/*"
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 758
|
||||
:cond_0
|
||||
instance-of v0, p1, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VideoOnly;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
const-string p1, "video/*"
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 759
|
||||
:cond_1
|
||||
instance-of v0, p1, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$SingleMimeType;
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
check-cast p1, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$SingleMimeType;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$SingleMimeType;->getMimeType()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 760
|
||||
:cond_2
|
||||
instance-of p1, p1, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageAndVideo;
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return-object p1
|
||||
|
||||
:cond_3
|
||||
new-instance p1, Lkotlin/NoWhenBranchMatchedException;
|
||||
|
||||
invoke-direct {p1}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final isGmsPickerAvailable$activity_release(Landroid/content/Context;)Z
|
||||
.locals 1
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 743
|
||||
invoke-virtual {p0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getGmsPicker$activity_release(Landroid/content/Context;)Landroid/content/pm/ResolveInfo;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final isPhotoPickerAvailable()Z
|
||||
.locals 1
|
||||
.annotation runtime Lkotlin/Deprecated;
|
||||
message = "This method is deprecated in favor of isPhotoPickerAvailable(context) to support the picker provided by updatable system apps"
|
||||
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
||||
expression = "isPhotoPickerAvailable(context)"
|
||||
imports = {}
|
||||
.end subannotation
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
.line 655
|
||||
invoke-virtual {p0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isSystemPickerAvailable$activity_release()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final isPhotoPickerAvailable(Landroid/content/Context;)Z
|
||||
.locals 1
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 702
|
||||
invoke-virtual {p0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isSystemPickerAvailable$activity_release()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isSystemFallbackPickerAvailable$activity_release(Landroid/content/Context;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
.line 703
|
||||
invoke-virtual {p0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isGmsPickerAvailable$activity_release(Landroid/content/Context;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
const/4 p1, 0x1
|
||||
|
||||
:goto_1
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final isSystemFallbackPickerAvailable$activity_release(Landroid/content/Context;)Z
|
||||
.locals 1
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 729
|
||||
invoke-virtual {p0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getSystemFallbackPicker$activity_release(Landroid/content/Context;)Landroid/content/pm/ResolveInfo;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final isSystemPickerAvailable$activity_release()Z
|
||||
.locals 4
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
.line 716
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v1, 0x21
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
if-lt v0, v1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 718
|
||||
:cond_0
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/16 v3, 0x1e
|
||||
|
||||
if-lt v0, v3, :cond_1
|
||||
|
||||
.line 721
|
||||
invoke-static {v3}, Landroid/os/ext/SdkExtensions;->getExtensionVersion(I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v3, 0x2
|
||||
|
||||
if-lt v0, v3, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
move v2, v1
|
||||
|
||||
:goto_0
|
||||
return v2
|
||||
.end method
|
||||
@@ -0,0 +1,63 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageAndVideo;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "ImageAndVideo"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000\u000c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0008\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002\u00a8\u0006\u0003"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageAndVideo;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;",
|
||||
"()V",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageAndVideo;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageAndVideo;
|
||||
|
||||
invoke-direct {v0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageAndVideo;-><init>()V
|
||||
|
||||
sput-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageAndVideo;->INSTANCE:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageAndVideo;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 783
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,63 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageOnly;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "ImageOnly"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000\u000c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0008\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002\u00a8\u0006\u0003"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageOnly;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;",
|
||||
"()V",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageOnly;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageOnly;
|
||||
|
||||
invoke-direct {v0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageOnly;-><init>()V
|
||||
|
||||
sput-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageOnly;->INSTANCE:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageOnly;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 773
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,72 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$SingleMimeType;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "SingleMimeType"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\u0008\u0004\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0005\u0010\u0006\u00a8\u0006\u0007"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$SingleMimeType;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;",
|
||||
"mimeType",
|
||||
"",
|
||||
"(Ljava/lang/String;)V",
|
||||
"getMimeType",
|
||||
"()Ljava/lang/String;",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final mimeType:Ljava/lang/String;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "mimeType"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 789
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$SingleMimeType;->mimeType:Ljava/lang/String;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final getMimeType()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
.line 789
|
||||
iget-object v0, p0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$SingleMimeType;->mimeType:Ljava/lang/String;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
@@ -0,0 +1,63 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VideoOnly;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "VideoOnly"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000\u000c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0008\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002\u00a8\u0006\u0003"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VideoOnly;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;",
|
||||
"()V",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final INSTANCE:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VideoOnly;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VideoOnly;
|
||||
|
||||
invoke-direct {v0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VideoOnly;-><init>()V
|
||||
|
||||
sput-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VideoOnly;->INSTANCE:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VideoOnly;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 778
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,36 @@
|
||||
.class public interface abstract Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "VisualMediaType"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u0008v\u0018\u00002\u00020\u0001\u0082\u0001\u0004\u0002\u0003\u0004\u0005\u00f8\u0001\u0000\u0082\u0002\u0006\n\u0004\u0008!0\u0001\u00a8\u0006\u0006\u00c0\u0006\u0001"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;",
|
||||
"",
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageAndVideo;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageOnly;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$SingleMimeType;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VideoOnly;",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
@@ -0,0 +1,538 @@
|
||||
.class public Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "PickVisualMedia"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageAndVideo;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$ImageOnly;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$SingleMimeType;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VideoOnly;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"Landroidx/activity/result/PickVisualMediaRequest;",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||||
value = "SMAP\nActivityResultContracts.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ActivityResultContracts.kt\nandroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,959:1\n1#2:960\n*E\n"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0008\u0008\u0017\u0018\u0000 \u00102\u0010\u0012\u0004\u0012\u00020\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u00030\u0001:\u0006\u0010\u0011\u0012\u0013\u0014\u0015B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0018\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0002H\u0017J \u0010\n\u001a\u000c\u0012\u0006\u0012\u0004\u0018\u00010\u0003\u0018\u00010\u000b2\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0002J\u001a\u0010\u000c\u001a\u0004\u0018\u00010\u00032\u0006\u0010\r\u001a\u00020\u000e2\u0008\u0010\u000f\u001a\u0004\u0018\u00010\u0006\u00a8\u0006\u0016"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"Landroidx/activity/result/PickVisualMediaRequest;",
|
||||
"Landroid/net/Uri;",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"Companion",
|
||||
"ImageAndVideo",
|
||||
"ImageOnly",
|
||||
"SingleMimeType",
|
||||
"VideoOnly",
|
||||
"VisualMediaType",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final ACTION_SYSTEM_FALLBACK_PICK_IMAGES:Ljava/lang/String; = "androidx.activity.result.contract.action.PICK_IMAGES"
|
||||
|
||||
.field public static final Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
.field public static final EXTRA_SYSTEM_FALLBACK_PICK_IMAGES_MAX:Ljava/lang/String; = "androidx.activity.result.contract.extra.PICK_IMAGES_MAX"
|
||||
|
||||
.field public static final GMS_ACTION_PICK_IMAGES:Ljava/lang/String; = "com.google.android.gms.provider.action.PICK_IMAGES"
|
||||
|
||||
.field public static final GMS_EXTRA_PICK_IMAGES_MAX:Ljava/lang/String; = "com.google.android.gms.provider.extra.PICK_IMAGES_MAX"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 638
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final getGmsPicker$activity_release(Landroid/content/Context;)Landroid/content/pm/ResolveInfo;
|
||||
.locals 1
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {v0, p0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getGmsPicker$activity_release(Landroid/content/Context;)Landroid/content/pm/ResolveInfo;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final getSystemFallbackPicker$activity_release(Landroid/content/Context;)Landroid/content/pm/ResolveInfo;
|
||||
.locals 1
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {v0, p0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getSystemFallbackPicker$activity_release(Landroid/content/Context;)Landroid/content/pm/ResolveInfo;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final isGmsPickerAvailable$activity_release(Landroid/content/Context;)Z
|
||||
.locals 1
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {v0, p0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isGmsPickerAvailable$activity_release(Landroid/content/Context;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
.method public static final isPhotoPickerAvailable()Z
|
||||
.locals 1
|
||||
.annotation runtime Lkotlin/Deprecated;
|
||||
message = "This method is deprecated in favor of isPhotoPickerAvailable(context) to support the picker provided by updatable system apps"
|
||||
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
||||
expression = "isPhotoPickerAvailable(context)"
|
||||
imports = {}
|
||||
.end subannotation
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isPhotoPickerAvailable()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public static final isPhotoPickerAvailable(Landroid/content/Context;)Z
|
||||
.locals 1
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {v0, p0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isPhotoPickerAvailable(Landroid/content/Context;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
.method public static final isSystemFallbackPickerAvailable$activity_release(Landroid/content/Context;)Z
|
||||
.locals 1
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {v0, p0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isSystemFallbackPickerAvailable$activity_release(Landroid/content/Context;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
.method public static final isSystemPickerAvailable$activity_release()Z
|
||||
.locals 1
|
||||
.annotation runtime Lkotlin/jvm/JvmStatic;
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isSystemPickerAvailable$activity_release()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public createIntent(Landroid/content/Context;Landroidx/activity/result/PickVisualMediaRequest;)Landroid/content/Intent;
|
||||
.locals 3
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "input"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 794
|
||||
sget-object v0, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isSystemPickerAvailable$activity_release()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
.line 795
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string v1, "android.provider.action.PICK_IMAGES"
|
||||
|
||||
invoke-direct {p1, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 796
|
||||
invoke-virtual {p2}, Landroidx/activity/result/PickVisualMediaRequest;->getMediaType()Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {v0, p2}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getVisualMimeType$activity_release(Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;)Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
goto/16 :goto_1
|
||||
|
||||
.line 798
|
||||
:cond_0
|
||||
invoke-virtual {v0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isSystemFallbackPickerAvailable$activity_release(Landroid/content/Context;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
const-string v2, "Required value was null."
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
.line 799
|
||||
invoke-virtual {v0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getSystemFallbackPicker$activity_release(Landroid/content/Context;)Landroid/content/pm/ResolveInfo;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object p1, p1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
|
||||
|
||||
.line 800
|
||||
new-instance v1, Landroid/content/Intent;
|
||||
|
||||
const-string v2, "androidx.activity.result.contract.action.PICK_IMAGES"
|
||||
|
||||
invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 801
|
||||
iget-object v2, p1, Landroid/content/pm/ActivityInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;
|
||||
|
||||
iget-object v2, v2, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;
|
||||
|
||||
iget-object p1, p1, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v1, v2, p1}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
.line 802
|
||||
invoke-virtual {p2}, Landroidx/activity/result/PickVisualMediaRequest;->getMediaType()Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getVisualMimeType$activity_release(Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {v1, p1}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
:goto_0
|
||||
move-object p1, v1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 799
|
||||
:cond_1
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
.line 804
|
||||
:cond_2
|
||||
invoke-virtual {v0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->isGmsPickerAvailable$activity_release(Landroid/content/Context;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_4
|
||||
|
||||
.line 805
|
||||
invoke-virtual {v0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getGmsPicker$activity_release(Landroid/content/Context;)Landroid/content/pm/ResolveInfo;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
iget-object p1, p1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
|
||||
|
||||
.line 806
|
||||
new-instance v1, Landroid/content/Intent;
|
||||
|
||||
const-string v2, "com.google.android.gms.provider.action.PICK_IMAGES"
|
||||
|
||||
invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 807
|
||||
iget-object v2, p1, Landroid/content/pm/ActivityInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;
|
||||
|
||||
iget-object v2, v2, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;
|
||||
|
||||
iget-object p1, p1, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v1, v2, p1}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
.line 808
|
||||
invoke-virtual {p2}, Landroidx/activity/result/PickVisualMediaRequest;->getMediaType()Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getVisualMimeType$activity_release(Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {v1, p1}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 805
|
||||
:cond_3
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
.line 814
|
||||
:cond_4
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string v1, "android.intent.action.OPEN_DOCUMENT"
|
||||
|
||||
invoke-direct {p1, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 815
|
||||
invoke-virtual {p2}, Landroidx/activity/result/PickVisualMediaRequest;->getMediaType()Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {v0, p2}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$Companion;->getVisualMimeType$activity_release(Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;)Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
.line 817
|
||||
invoke-virtual {p1}, Landroid/content/Intent;->getType()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
if-nez p2, :cond_5
|
||||
|
||||
.line 820
|
||||
const-string p2, "*/*"
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
.line 821
|
||||
const-string p2, "image/*"
|
||||
|
||||
const-string v0, "video/*"
|
||||
|
||||
filled-new-array {p2, v0}, [Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string v0, "android.intent.extra.MIME_TYPES"
|
||||
|
||||
invoke-virtual {p1, v0, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
:cond_5
|
||||
:goto_1
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 637
|
||||
check-cast p2, Landroidx/activity/result/PickVisualMediaRequest;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->createIntent(Landroid/content/Context;Landroidx/activity/result/PickVisualMediaRequest;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final getSynchronousResult(Landroid/content/Context;Landroidx/activity/result/PickVisualMediaRequest;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/content/Context;",
|
||||
"Landroidx/activity/result/PickVisualMediaRequest;",
|
||||
")",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult<",
|
||||
"Landroid/net/Uri;",
|
||||
">;"
|
||||
}
|
||||
.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
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
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 637
|
||||
check-cast p2, Landroidx/activity/result/PickVisualMediaRequest;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->getSynchronousResult(Landroid/content/Context;Landroidx/activity/result/PickVisualMediaRequest;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final parseResult(ILandroid/content/Intent;)Landroid/net/Uri;
|
||||
.locals 2
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object p2, v1
|
||||
|
||||
:goto_0
|
||||
if-eqz p2, :cond_2
|
||||
|
||||
.line 837
|
||||
invoke-virtual {p2}, Landroid/content/Intent;->getData()Landroid/net/Uri;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-nez p1, :cond_1
|
||||
|
||||
sget-object p1, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents$Companion;->getClipDataUris$activity_release(Landroid/content/Intent;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Lkotlin/collections/CollectionsKt;->firstOrNull(Ljava/util/List;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Landroid/net/Uri;
|
||||
|
||||
:cond_1
|
||||
move-object v1, p1
|
||||
|
||||
:cond_2
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 637
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;->parseResult(ILandroid/content/Intent;)Landroid/net/Uri;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,91 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0011\n\u0002\u0008\u0003\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u001d\u0010\u0007\u001a\u00020\u00082\u000c\u0010\t\u001a\u0008\u0012\u0004\u0012\u00020\u00040\nH\u0000\u00a2\u0006\u0004\u0008\u000b\u0010\u000cR\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\r"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions$Companion;",
|
||||
"",
|
||||
"()V",
|
||||
"ACTION_REQUEST_PERMISSIONS",
|
||||
"",
|
||||
"EXTRA_PERMISSIONS",
|
||||
"EXTRA_PERMISSION_GRANT_RESULTS",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"input",
|
||||
"",
|
||||
"createIntent$activity_release",
|
||||
"([Ljava/lang/String;)Landroid/content/Intent;",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 139
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions$Companion;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final createIntent$activity_release([Ljava/lang/String;)Landroid/content/Intent;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "input"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 173
|
||||
new-instance v0, Landroid/content/Intent;
|
||||
|
||||
const-string v1, "androidx.activity.result.contract.action.REQUEST_PERMISSIONS"
|
||||
|
||||
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
const-string v1, "androidx.activity.result.contract.extra.PERMISSIONS"
|
||||
|
||||
invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "Intent(ACTION_REQUEST_PE\u2026EXTRA_PERMISSIONS, input)"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,439 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "RequestMultiplePermissions"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions$Companion;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"[",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||||
value = "SMAP\nActivityResultContracts.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ActivityResultContracts.kt\nandroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions\n+ 2 _Arrays.kt\nkotlin/collections/ArraysKt___ArraysKt\n*L\n1#1,959:1\n12541#2,2:960\n8676#2,2:962\n9358#2,4:964\n11365#2:968\n11700#2,3:969\n*S KotlinDebug\n*F\n+ 1 ActivityResultContracts.kt\nandroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions\n*L\n188#1:960,2\n195#1:962,2\n195#1:964,4\n208#1:968\n208#1:969,3\n*E\n"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0011\n\u0002\u0010\u000e\n\u0002\u0010$\n\u0002\u0010\u000b\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0003\u0018\u0000 \u00152%\u0012\n\u0012\u0008\u0012\u0004\u0012\u00020\u00030\u0002\u0012\u0015\u0012\u0013\u0012\u0004\u0012\u00020\u0003\u0012\t\u0012\u00070\u0005\u00a2\u0006\u0002\u0008\u00060\u00040\u0001:\u0001\u0015B\u0005\u00a2\u0006\u0002\u0010\u0007J#\u0010\u0008\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\u000b2\u000c\u0010\u000c\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u0002H\u0016\u00a2\u0006\u0002\u0010\rJ7\u0010\u000e\u001a\u0016\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00050\u0004\u0018\u00010\u000f2\u0006\u0010\n\u001a\u00020\u000b2\u000c\u0010\u000c\u001a\u0008\u0012\u0004\u0012\u00020\u00030\u0002H\u0016\u00a2\u0006\u0002\u0010\u0010J&\u0010\u0011\u001a\u000e\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00050\u00042\u0006\u0010\u0012\u001a\u00020\u00132\u0008\u0010\u0014\u001a\u0004\u0018\u00010\tH\u0016\u00a8\u0006\u0016"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"Lkotlin/jvm/JvmSuppressWildcards;",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"(Landroid/content/Context;[Ljava/lang/String;)Landroid/content/Intent;",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"(Landroid/content/Context;[Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"Companion",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final ACTION_REQUEST_PERMISSIONS:Ljava/lang/String; = "androidx.activity.result.contract.action.REQUEST_PERMISSIONS"
|
||||
|
||||
.field public static final Companion:Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions$Companion;
|
||||
|
||||
.field public static final EXTRA_PERMISSIONS:Ljava/lang/String; = "androidx.activity.result.contract.extra.PERMISSIONS"
|
||||
|
||||
.field public static final EXTRA_PERMISSION_GRANT_RESULTS:Ljava/lang/String; = "androidx.activity.result.contract.extra.PERMISSION_GRANT_RESULTS"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions$Companion;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions$Companion;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 137
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 136
|
||||
check-cast p2, [Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions;->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
|
||||
|
||||
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 178
|
||||
sget-object p1, Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions$Companion;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions$Companion;->createIntent$activity_release([Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
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 136
|
||||
check-cast p2, [Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions;->getSynchronousResult(Landroid/content/Context;[Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public getSynchronousResult(Landroid/content/Context;[Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/content/Context;",
|
||||
"[",
|
||||
"Ljava/lang/String;",
|
||||
")",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult<",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "input"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 185
|
||||
array-length v0, p2
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
.line 186
|
||||
new-instance p1, Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
|
||||
invoke-static {}, Lkotlin/collections/MapsKt;->emptyMap()Ljava/util/Map;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
return-object p1
|
||||
|
||||
.line 960
|
||||
:cond_0
|
||||
array-length v0, p2
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
move v2, v1
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v0, :cond_2
|
||||
|
||||
aget-object v3, p2, v2
|
||||
|
||||
.line 189
|
||||
invoke-static {p1, v3}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
|
||||
|
||||
move-result v3
|
||||
|
||||
if-nez v3, :cond_1
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 p1, 0x0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
.line 962
|
||||
:cond_2
|
||||
array-length p1, p2
|
||||
|
||||
invoke-static {p1}, Lkotlin/collections/MapsKt;->mapCapacity(I)I
|
||||
|
||||
move-result p1
|
||||
|
||||
const/16 v0, 0x10
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/ranges/RangesKt;->coerceAtLeast(II)I
|
||||
|
||||
move-result p1
|
||||
|
||||
.line 963
|
||||
new-instance v0, Ljava/util/LinkedHashMap;
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/util/LinkedHashMap;-><init>(I)V
|
||||
|
||||
check-cast v0, Ljava/util/Map;
|
||||
|
||||
.line 964
|
||||
array-length p1, p2
|
||||
|
||||
:goto_1
|
||||
if-ge v1, p1, :cond_3
|
||||
|
||||
aget-object v2, p2, v1
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
.line 195
|
||||
invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-static {v2, v3}, Lkotlin/TuplesKt;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
.line 965
|
||||
invoke-virtual {v2}, Lkotlin/Pair;->getFirst()Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v2}, Lkotlin/Pair;->getSecond()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-interface {v0, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 195
|
||||
:cond_3
|
||||
new-instance p1, Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
|
||||
invoke-direct {p1, v0}, Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
:goto_2
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 136
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions;->parseResult(ILandroid/content/Intent;)Ljava/util/Map;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public parseResult(ILandroid/content/Intent;)Ljava/util/Map;
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(I",
|
||||
"Landroid/content/Intent;",
|
||||
")",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
if-eq p1, v0, :cond_0
|
||||
|
||||
.line 203
|
||||
invoke-static {}, Lkotlin/collections/MapsKt;->emptyMap()Ljava/util/Map;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
if-nez p2, :cond_1
|
||||
|
||||
.line 204
|
||||
invoke-static {}, Lkotlin/collections/MapsKt;->emptyMap()Ljava/util/Map;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
.line 205
|
||||
:cond_1
|
||||
const-string p1, "androidx.activity.result.contract.extra.PERMISSIONS"
|
||||
|
||||
invoke-virtual {p2, p1}, Landroid/content/Intent;->getStringArrayExtra(Ljava/lang/String;)[Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
.line 206
|
||||
const-string v0, "androidx.activity.result.contract.extra.PERMISSION_GRANT_RESULTS"
|
||||
|
||||
invoke-virtual {p2, v0}, Landroid/content/Intent;->getIntArrayExtra(Ljava/lang/String;)[I
|
||||
|
||||
move-result-object p2
|
||||
|
||||
if-eqz p2, :cond_5
|
||||
|
||||
if-nez p1, :cond_2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
.line 968
|
||||
:cond_2
|
||||
new-instance v0, Ljava/util/ArrayList;
|
||||
|
||||
array-length v1, p2
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
|
||||
|
||||
check-cast v0, Ljava/util/Collection;
|
||||
|
||||
.line 969
|
||||
array-length v1, p2
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
move v3, v2
|
||||
|
||||
:goto_0
|
||||
if-ge v3, v1, :cond_4
|
||||
|
||||
aget v4, p2, v3
|
||||
|
||||
if-nez v4, :cond_3
|
||||
|
||||
const/4 v4, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
move v4, v2
|
||||
|
||||
.line 209
|
||||
:goto_1
|
||||
invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
.line 970
|
||||
invoke-interface {v0, v4}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||||
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 971
|
||||
:cond_4
|
||||
check-cast v0, Ljava/util/List;
|
||||
|
||||
.line 211
|
||||
invoke-static {p1}, Lkotlin/collections/ArraysKt;->filterNotNull([Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Ljava/lang/Iterable;
|
||||
|
||||
check-cast v0, Ljava/lang/Iterable;
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/collections/CollectionsKt;->zip(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Ljava/lang/Iterable;
|
||||
|
||||
invoke-static {p1}, Lkotlin/collections/MapsKt;->toMap(Ljava/lang/Iterable;)Ljava/util/Map;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
.line 207
|
||||
:cond_5
|
||||
:goto_2
|
||||
invoke-static {}, Lkotlin/collections/MapsKt;->emptyMap()Ljava/util/Map;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,247 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$RequestPermission;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "RequestPermission"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||||
value = "SMAP\nActivityResultContracts.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ActivityResultContracts.kt\nandroidx/activity/result/contract/ActivityResultContracts$RequestPermission\n+ 2 _Arrays.kt\nkotlin/collections/ArraysKt___ArraysKt\n*L\n1#1,959:1\n12774#2,2:960\n*S KotlinDebug\n*F\n+ 1 ActivityResultContracts.kt\nandroidx/activity/result/contract/ActivityResultContracts$RequestPermission\n*L\n228#1:960,2\n*E\n"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0003\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0018\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0002H\u0016J \u0010\n\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u000b2\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0002H\u0016J\u001f\u0010\u000c\u001a\u00020\u00032\u0006\u0010\r\u001a\u00020\u000e2\u0008\u0010\u000f\u001a\u0004\u0018\u00010\u0006H\u0016\u00a2\u0006\u0002\u0010\u0010\u00a8\u0006\u0011"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$RequestPermission;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"",
|
||||
"",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"(ILandroid/content/Intent;)Ljava/lang/Boolean;",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 218
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 218
|
||||
check-cast p2, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$RequestPermission;->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
|
||||
|
||||
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 220
|
||||
sget-object p1, Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions$Companion;
|
||||
|
||||
filled-new-array {p2}, [Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions$Companion;->createIntent$activity_release([Ljava/lang/String;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
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 218
|
||||
check-cast p2, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$RequestPermission;->getSynchronousResult(Landroid/content/Context;Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public 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/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string v0, "context"
|
||||
|
||||
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const-string v0, "input"
|
||||
|
||||
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 237
|
||||
invoke-static {p1, p2}, Landroidx/core/content/ContextCompat;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
.line 242
|
||||
new-instance p1, Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
|
||||
const/4 p2, 0x1
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public parseResult(ILandroid/content/Intent;)Ljava/lang/Boolean;
|
||||
.locals 3
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p2, :cond_3
|
||||
|
||||
const/4 v1, -0x1
|
||||
|
||||
if-eq p1, v1, :cond_0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
.line 227
|
||||
:cond_0
|
||||
const-string p1, "androidx.activity.result.contract.extra.PERMISSION_GRANT_RESULTS"
|
||||
|
||||
invoke-virtual {p2, p1}, Landroid/content/Intent;->getIntArrayExtra(Ljava/lang/String;)[I
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
.line 960
|
||||
array-length p2, p1
|
||||
|
||||
move v1, v0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, p2, :cond_2
|
||||
|
||||
aget v2, p1, v1
|
||||
|
||||
if-nez v2, :cond_1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 228
|
||||
:cond_2
|
||||
:goto_1
|
||||
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
.line 225
|
||||
:cond_3
|
||||
:goto_2
|
||||
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 218
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$RequestPermission;->parseResult(ILandroid/content/Intent;)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,54 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0000\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0005"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult$Companion;",
|
||||
"",
|
||||
"()V",
|
||||
"EXTRA_ACTIVITY_OPTIONS_BUNDLE",
|
||||
"",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 60
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult$Companion;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,141 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "StartActivityForResult"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult$Companion;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"Landroid/content/Intent;",
|
||||
"Landroidx/activity/result/ActivityResult;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0003\u0018\u0000 \r2\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001:\u0001\rB\u0005\u00a2\u0006\u0002\u0010\u0004J\u0018\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0006\u001a\u00020\u00072\u0006\u0010\u0008\u001a\u00020\u0002H\u0016J\u001a\u0010\t\u001a\u00020\u00032\u0006\u0010\n\u001a\u00020\u000b2\u0008\u0010\u000c\u001a\u0004\u0018\u00010\u0002H\u0016\u00a8\u0006\u000e"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"Landroid/content/Intent;",
|
||||
"Landroidx/activity/result/ActivityResult;",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"Companion",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final Companion:Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult$Companion;
|
||||
|
||||
.field public static final EXTRA_ACTIVITY_OPTIONS_BUNDLE:Ljava/lang/String; = "androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult$Companion;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult$Companion;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 58
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public createIntent(Landroid/content/Context;Landroid/content/Intent;)Landroid/content/Intent;
|
||||
.locals 1
|
||||
|
||||
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
|
||||
|
||||
return-object p2
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 58
|
||||
check-cast p2, Landroid/content/Intent;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult;->createIntent(Landroid/content/Context;Landroid/content/Intent;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public parseResult(ILandroid/content/Intent;)Landroidx/activity/result/ActivityResult;
|
||||
.locals 1
|
||||
|
||||
.line 78
|
||||
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
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 58
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult;->parseResult(ILandroid/content/Intent;)Landroidx/activity/result/ActivityResult;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,56 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult$Companion;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "Companion"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0002\u0008\u0003\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0007"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult$Companion;",
|
||||
"",
|
||||
"()V",
|
||||
"ACTION_INTENT_SENDER_REQUEST",
|
||||
"",
|
||||
"EXTRA_INTENT_SENDER_REQUEST",
|
||||
"EXTRA_SEND_INTENT_EXCEPTION",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 98
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult$Companion;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,166 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "StartIntentSenderForResult"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult$Companion;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"Landroidx/activity/result/IntentSenderRequest;",
|
||||
"Landroidx/activity/result/ActivityResult;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0003\u0018\u0000 \u000e2\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001:\u0001\u000eB\u0005\u00a2\u0006\u0002\u0010\u0004J\u0018\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0002H\u0016J\u001a\u0010\n\u001a\u00020\u00032\u0006\u0010\u000b\u001a\u00020\u000c2\u0008\u0010\r\u001a\u0004\u0018\u00010\u0006H\u0016\u00a8\u0006\u000f"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"Landroidx/activity/result/IntentSenderRequest;",
|
||||
"Landroidx/activity/result/ActivityResult;",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"Companion",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final ACTION_INTENT_SENDER_REQUEST:Ljava/lang/String; = "androidx.activity.result.contract.action.INTENT_SENDER_REQUEST"
|
||||
|
||||
.field public static final Companion:Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult$Companion;
|
||||
|
||||
.field public static final EXTRA_INTENT_SENDER_REQUEST:Ljava/lang/String; = "androidx.activity.result.contract.extra.INTENT_SENDER_REQUEST"
|
||||
|
||||
.field public static final EXTRA_SEND_INTENT_EXCEPTION:Ljava/lang/String; = "androidx.activity.result.contract.extra.SEND_INTENT_EXCEPTION"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult$Companion;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult;->Companion:Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult$Companion;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 96
|
||||
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 1
|
||||
|
||||
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 123
|
||||
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 124
|
||||
const-string v0, "androidx.activity.result.contract.extra.INTENT_SENDER_REQUEST"
|
||||
|
||||
check-cast p2, Landroid/os/Parcelable;
|
||||
|
||||
invoke-virtual {p1, v0, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "Intent(ACTION_INTENT_SEN\u2026NT_SENDER_REQUEST, input)"
|
||||
|
||||
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 createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 95
|
||||
check-cast p2, Landroidx/activity/result/IntentSenderRequest;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult;->createIntent(Landroid/content/Context;Landroidx/activity/result/IntentSenderRequest;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public parseResult(ILandroid/content/Intent;)Landroidx/activity/result/ActivityResult;
|
||||
.locals 1
|
||||
|
||||
.line 130
|
||||
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
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 95
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult;->parseResult(ILandroid/content/Intent;)Landroidx/activity/result/ActivityResult;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,190 @@
|
||||
.class public Landroidx/activity/result/contract/ActivityResultContracts$TakePicture;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "TakePicture"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"Landroid/net/Uri;",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0003\u0008\u0016\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0018\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0002H\u0017J\u001e\u0010\n\u001a\n\u0012\u0004\u0012\u00020\u0003\u0018\u00010\u000b2\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0002J\u001d\u0010\u000c\u001a\u00020\u00032\u0006\u0010\r\u001a\u00020\u000e2\u0008\u0010\u000f\u001a\u0004\u0018\u00010\u0006\u00a2\u0006\u0002\u0010\u0010\u00a8\u0006\u0011"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$TakePicture;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"Landroid/net/Uri;",
|
||||
"",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"(ILandroid/content/Intent;)Ljava/lang/Boolean;",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 285
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public createIntent(Landroid/content/Context;Landroid/net/Uri;)Landroid/content/Intent;
|
||||
.locals 1
|
||||
|
||||
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 288
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string v0, "android.media.action.IMAGE_CAPTURE"
|
||||
|
||||
invoke-direct {p1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 289
|
||||
const-string v0, "output"
|
||||
|
||||
check-cast p2, Landroid/os/Parcelable;
|
||||
|
||||
invoke-virtual {p1, v0, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "Intent(MediaStore.ACTION\u2026tore.EXTRA_OUTPUT, input)"
|
||||
|
||||
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 createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 285
|
||||
check-cast p2, Landroid/net/Uri;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$TakePicture;->createIntent(Landroid/content/Context;Landroid/net/Uri;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final getSynchronousResult(Landroid/content/Context;Landroid/net/Uri;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/content/Context;",
|
||||
"Landroid/net/Uri;",
|
||||
")",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult<",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
.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
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
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 285
|
||||
check-cast p2, Landroid/net/Uri;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$TakePicture;->getSynchronousResult(Landroid/content/Context;Landroid/net/Uri;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final parseResult(ILandroid/content/Intent;)Ljava/lang/Boolean;
|
||||
.locals 0
|
||||
|
||||
const/4 p2, -0x1
|
||||
|
||||
if-ne p1, p2, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
.line 299
|
||||
:goto_0
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 285
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$TakePicture;->parseResult(ILandroid/content/Intent;)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,181 @@
|
||||
.class public Landroidx/activity/result/contract/ActivityResultContracts$TakePicturePreview;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "TakePicturePreview"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"Ljava/lang/Void;",
|
||||
"Landroid/graphics/Bitmap;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||||
value = "SMAP\nActivityResultContracts.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ActivityResultContracts.kt\nandroidx/activity/result/contract/ActivityResultContracts$TakePicturePreview\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,959:1\n1#2:960\n*E\n"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\u0008\u0016\u0018\u00002\u0012\u0012\u0006\u0012\u0004\u0018\u00010\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u00030\u0001B\u0005\u00a2\u0006\u0002\u0010\u0004J\u001a\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00082\u0008\u0010\t\u001a\u0004\u0018\u00010\u0002H\u0017J\"\u0010\n\u001a\u000c\u0012\u0006\u0012\u0004\u0018\u00010\u0003\u0018\u00010\u000b2\u0006\u0010\u0007\u001a\u00020\u00082\u0008\u0010\t\u001a\u0004\u0018\u00010\u0002J\u001a\u0010\u000c\u001a\u0004\u0018\u00010\u00032\u0006\u0010\r\u001a\u00020\u000e2\u0008\u0010\u000f\u001a\u0004\u0018\u00010\u0006\u00a8\u0006\u0010"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$TakePicturePreview;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"Ljava/lang/Void;",
|
||||
"Landroid/graphics/Bitmap;",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 258
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public bridge synthetic createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 258
|
||||
check-cast p2, Ljava/lang/Void;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$TakePicturePreview;->createIntent(Landroid/content/Context;Ljava/lang/Void;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public createIntent(Landroid/content/Context;Ljava/lang/Void;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
const-string p2, "context"
|
||||
|
||||
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
.line 261
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string p2, "android.media.action.IMAGE_CAPTURE"
|
||||
|
||||
invoke-direct {p1, p2}, Landroid/content/Intent;-><init>(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 258
|
||||
check-cast p2, Ljava/lang/Void;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$TakePicturePreview;->getSynchronousResult(Landroid/content/Context;Ljava/lang/Void;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final getSynchronousResult(Landroid/content/Context;Ljava/lang/Void;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/content/Context;",
|
||||
"Ljava/lang/Void;",
|
||||
")",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult<",
|
||||
"Landroid/graphics/Bitmap;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-string p2, "context"
|
||||
|
||||
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final parseResult(ILandroid/content/Intent;)Landroid/graphics/Bitmap;
|
||||
.locals 2
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object p2, v1
|
||||
|
||||
:goto_0
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
.line 271
|
||||
const-string p1, "data"
|
||||
|
||||
invoke-virtual {p2, p1}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
move-object v1, p1
|
||||
|
||||
check-cast v1, Landroid/graphics/Bitmap;
|
||||
|
||||
:cond_1
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 258
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$TakePicturePreview;->parseResult(ILandroid/content/Intent;)Landroid/graphics/Bitmap;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,206 @@
|
||||
.class public Landroidx/activity/result/contract/ActivityResultContracts$TakeVideo;
|
||||
.super Landroidx/activity/result/contract/ActivityResultContract;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "TakeVideo"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContract<",
|
||||
"Landroid/net/Uri;",
|
||||
"Landroid/graphics/Bitmap;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||||
value = "SMAP\nActivityResultContracts.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ActivityResultContracts.kt\nandroidx/activity/result/contract/ActivityResultContracts$TakeVideo\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,959:1\n1#2:960\n*E\n"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Deprecated;
|
||||
message = "The thumbnail bitmap is rarely returned and is not a good signal to determine\n whether the video was actually successfully captured. Use {@link CaptureVideo} instead."
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\u0008\u0017\u0018\u00002\u0010\u0012\u0004\u0012\u00020\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u00030\u0001B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0018\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0002H\u0017J \u0010\n\u001a\u000c\u0012\u0006\u0012\u0004\u0018\u00010\u0003\u0018\u00010\u000b2\u0006\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u0002J\u001a\u0010\u000c\u001a\u0004\u0018\u00010\u00032\u0006\u0010\r\u001a\u00020\u000e2\u0008\u0010\u000f\u001a\u0004\u0018\u00010\u0006\u00a8\u0006\u0010"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts$TakeVideo;",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract;",
|
||||
"Landroid/net/Uri;",
|
||||
"Landroid/graphics/Bitmap;",
|
||||
"()V",
|
||||
"createIntent",
|
||||
"Landroid/content/Intent;",
|
||||
"context",
|
||||
"Landroid/content/Context;",
|
||||
"input",
|
||||
"getSynchronousResult",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;",
|
||||
"parseResult",
|
||||
"resultCode",
|
||||
"",
|
||||
"intent",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 318
|
||||
invoke-direct {p0}, Landroidx/activity/result/contract/ActivityResultContract;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public createIntent(Landroid/content/Context;Landroid/net/Uri;)Landroid/content/Intent;
|
||||
.locals 1
|
||||
|
||||
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 321
|
||||
new-instance p1, Landroid/content/Intent;
|
||||
|
||||
const-string v0, "android.media.action.VIDEO_CAPTURE"
|
||||
|
||||
invoke-direct {p1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
||||
|
||||
.line 322
|
||||
const-string v0, "output"
|
||||
|
||||
check-cast p2, Landroid/os/Parcelable;
|
||||
|
||||
invoke-virtual {p1, v0, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "Intent(MediaStore.ACTION\u2026tore.EXTRA_OUTPUT, input)"
|
||||
|
||||
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 createIntent(Landroid/content/Context;Ljava/lang/Object;)Landroid/content/Intent;
|
||||
.locals 0
|
||||
|
||||
.line 314
|
||||
check-cast p2, Landroid/net/Uri;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$TakeVideo;->createIntent(Landroid/content/Context;Landroid/net/Uri;)Landroid/content/Intent;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final getSynchronousResult(Landroid/content/Context;Landroid/net/Uri;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroid/content/Context;",
|
||||
"Landroid/net/Uri;",
|
||||
")",
|
||||
"Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult<",
|
||||
"Landroid/graphics/Bitmap;",
|
||||
">;"
|
||||
}
|
||||
.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
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
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 314
|
||||
check-cast p2, Landroid/net/Uri;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$TakeVideo;->getSynchronousResult(Landroid/content/Context;Landroid/net/Uri;)Landroidx/activity/result/contract/ActivityResultContract$SynchronousResult;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final parseResult(ILandroid/content/Intent;)Landroid/graphics/Bitmap;
|
||||
.locals 2
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object p2, v1
|
||||
|
||||
:goto_0
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
.line 332
|
||||
const-string p1, "data"
|
||||
|
||||
invoke-virtual {p2, p1}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
move-object v1, p1
|
||||
|
||||
check-cast v1, Landroid/graphics/Bitmap;
|
||||
|
||||
:cond_1
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic parseResult(ILandroid/content/Intent;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 314
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/activity/result/contract/ActivityResultContracts$TakeVideo;->parseResult(ILandroid/content/Intent;)Landroid/graphics/Bitmap;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,74 @@
|
||||
.class public final Landroidx/activity/result/contract/ActivityResultContracts;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ActivityResultContracts.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$CaptureVideo;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$CreateDocument;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$GetContent;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$GetMultipleContents;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$OpenDocument;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$OpenDocumentTree;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$OpenMultipleDocuments;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$PickContact;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$PickMultipleVisualMedia;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$RequestMultiplePermissions;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$RequestPermission;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$StartActivityForResult;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$StartIntentSenderForResult;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$TakePicture;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$TakePicturePreview;,
|
||||
Landroidx/activity/result/contract/ActivityResultContracts$TakeVideo;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lkotlin/Metadata;
|
||||
d1 = {
|
||||
"\u0000\u000c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0013\u0018\u00002\u00020\u0001:\u0011\u0003\u0004\u0005\u0006\u0007\u0008\t\n\u000b\u000c\r\u000e\u000f\u0010\u0011\u0012\u0013B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002\u00a8\u0006\u0014"
|
||||
}
|
||||
d2 = {
|
||||
"Landroidx/activity/result/contract/ActivityResultContracts;",
|
||||
"",
|
||||
"()V",
|
||||
"CaptureVideo",
|
||||
"CreateDocument",
|
||||
"GetContent",
|
||||
"GetMultipleContents",
|
||||
"OpenDocument",
|
||||
"OpenDocumentTree",
|
||||
"OpenMultipleDocuments",
|
||||
"PickContact",
|
||||
"PickMultipleVisualMedia",
|
||||
"PickVisualMedia",
|
||||
"RequestMultiplePermissions",
|
||||
"RequestPermission",
|
||||
"StartActivityForResult",
|
||||
"StartIntentSenderForResult",
|
||||
"TakePicture",
|
||||
"TakePicturePreview",
|
||||
"TakeVideo",
|
||||
"activity_release"
|
||||
}
|
||||
k = 0x1
|
||||
mv = {
|
||||
0x1,
|
||||
0x8,
|
||||
0x0
|
||||
}
|
||||
xi = 0x30
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 49
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
Reference in New Issue
Block a user