Rabbit-R1/android (non root)/java/sources/androidx/fragment/app/FragmentViewModelLazyKt$viewModels$3.java
2024-05-21 17:08:36 -04:00

33 lines
2 KiB
Java

package androidx.fragment.app;
import androidx.lifecycle.HasDefaultViewModelProviderFactory;
import androidx.lifecycle.ViewModelStoreOwner;
import androidx.lifecycle.viewmodel.CreationExtras;
import kotlin.Lazy;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Lambda;
/* compiled from: FragmentViewModelLazy.kt */
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001\"\n\b\u0000\u0010\u0002\u0018\u0001*\u00020\u0003H\\u0006\u0002\b\u0004"}, d2 = {"<anonymous>", "Landroidx/lifecycle/viewmodel/CreationExtras;", "VM", "Landroidx/lifecycle/ViewModel;", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 176)
/* loaded from: classes2.dex */
public final class FragmentViewModelLazyKt$viewModels$3 extends Lambda implements Function0<CreationExtras> {
final /* synthetic */ Lazy<ViewModelStoreOwner> $owner$delegate;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public FragmentViewModelLazyKt$viewModels$3(Lazy<? extends ViewModelStoreOwner> lazy) {
super(0);
this.$owner$delegate = lazy;
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final CreationExtras invoke() {
ViewModelStoreOwner m5177viewModels$lambda0;
CreationExtras defaultViewModelCreationExtras;
m5177viewModels$lambda0 = FragmentViewModelLazyKt.m5177viewModels$lambda0(this.$owner$delegate);
HasDefaultViewModelProviderFactory hasDefaultViewModelProviderFactory = m5177viewModels$lambda0 instanceof HasDefaultViewModelProviderFactory ? (HasDefaultViewModelProviderFactory) m5177viewModels$lambda0 : null;
return (hasDefaultViewModelProviderFactory == null || (defaultViewModelCreationExtras = hasDefaultViewModelProviderFactory.getDefaultViewModelCreationExtras()) == null) ? CreationExtras.Empty.INSTANCE : defaultViewModelCreationExtras;
}
}