Rabbit-R1/android (non root)/java/sources/androidx/activity/result/PickVisualMediaRequestKt.java
2024-05-21 17:08:36 -04:00

23 lines
1.4 KiB
Java

package androidx.activity.result;
import androidx.activity.result.PickVisualMediaRequest;
import androidx.activity.result.contract.ActivityResultContracts;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: PickVisualMediaRequest.kt */
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u001a\u0010\u0010\u0000\u001a\u00020\u00012\b\b\u0002\u0010\u0002\u001a\u00020\u0003¨\u0006\u0004"}, d2 = {"PickVisualMediaRequest", "Landroidx/activity/result/PickVisualMediaRequest;", "mediaType", "Landroidx/activity/result/contract/ActivityResultContracts$PickVisualMedia$VisualMediaType;", "activity_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class PickVisualMediaRequestKt {
public static /* synthetic */ PickVisualMediaRequest PickVisualMediaRequest$default(ActivityResultContracts.PickVisualMedia.VisualMediaType visualMediaType, int i, Object obj) {
if ((i & 1) != 0) {
visualMediaType = ActivityResultContracts.PickVisualMedia.ImageAndVideo.INSTANCE;
}
return PickVisualMediaRequest(visualMediaType);
}
public static final PickVisualMediaRequest PickVisualMediaRequest(ActivityResultContracts.PickVisualMedia.VisualMediaType mediaType) {
Intrinsics.checkNotNullParameter(mediaType, "mediaType");
return new PickVisualMediaRequest.Builder().setMediaType(mediaType).build();
}
}