2021-06-27 20:44:35 +00:00
|
|
|
package androidx.activity.result;
|
|
|
|
|
|
|
|
import androidx.core.app.ActivityOptionsCompat;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
2021-06-27 20:44:35 +00:00
|
|
|
import kotlin.Unit;
|
|
|
|
/* compiled from: ActivityResultLauncher.kt */
|
2022-03-07 09:34:54 +00:00
|
|
|
/* loaded from: classes.dex */
|
2021-06-27 20:44:35 +00:00
|
|
|
public final class ActivityResultLauncherKt {
|
|
|
|
public static final void launch(ActivityResultLauncher<Void> activityResultLauncher, ActivityOptionsCompat activityOptionsCompat) {
|
|
|
|
m.checkNotNullParameter(activityResultLauncher, "$this$launch");
|
|
|
|
activityResultLauncher.launch(null, activityOptionsCompat);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static /* synthetic */ void launch$default(ActivityResultLauncher activityResultLauncher, ActivityOptionsCompat activityOptionsCompat, int i, Object obj) {
|
|
|
|
if ((i & 1) != 0) {
|
|
|
|
activityOptionsCompat = null;
|
|
|
|
}
|
|
|
|
launch(activityResultLauncher, activityOptionsCompat);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static final void launchUnit(ActivityResultLauncher<Unit> activityResultLauncher, ActivityOptionsCompat activityOptionsCompat) {
|
|
|
|
m.checkNotNullParameter(activityResultLauncher, "$this$launch");
|
|
|
|
activityResultLauncher.launch(null, activityOptionsCompat);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static /* synthetic */ void launchUnit$default(ActivityResultLauncher activityResultLauncher, ActivityOptionsCompat activityOptionsCompat, int i, Object obj) {
|
|
|
|
if ((i & 1) != 0) {
|
|
|
|
activityOptionsCompat = null;
|
|
|
|
}
|
|
|
|
launchUnit(activityResultLauncher, activityOptionsCompat);
|
|
|
|
}
|
|
|
|
}
|