Rabbit-R1/switch port/java/sources/androidx/compose/runtime/StaticProvidableCompositionLocal.java
2024-05-21 17:08:36 -04:00

32 lines
2.3 KiB
Java

package androidx.compose.runtime;
import androidx.exifinterface.media.ExifInterface;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: CompositionLocal.kt */
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0000\u0018\u0000*\u0004\b\u0000\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u0002B\u0013\u0012\f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00028\u00000\u0004¢\u0006\u0002\u0010\u0005J\u001d\u0010\u0006\u001a\b\u0012\u0004\u0012\u00028\u00000\u00072\u0006\u0010\b\u001a\u00028\u0000H\u0011¢\u0006\u0004\b\t\u0010\\u0006\u000b"}, d2 = {"Landroidx/compose/runtime/StaticProvidableCompositionLocal;", ExifInterface.GPS_DIRECTION_TRUE, "Landroidx/compose/runtime/ProvidableCompositionLocal;", "defaultFactory", "Lkotlin/Function0;", "(Lkotlin/jvm/functions/Function0;)V", "provided", "Landroidx/compose/runtime/State;", "value", "provided$runtime_release", "(Ljava/lang/Object;Landroidx/compose/runtime/Composer;I)Landroidx/compose/runtime/State;", "runtime_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class StaticProvidableCompositionLocal<T> extends ProvidableCompositionLocal<T> {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public StaticProvidableCompositionLocal(Function0<? extends T> defaultFactory) {
super(defaultFactory);
Intrinsics.checkNotNullParameter(defaultFactory, "defaultFactory");
}
@Override // androidx.compose.runtime.CompositionLocal
public State<T> provided$runtime_release(T t, Composer composer, int i) {
composer.startReplaceableGroup(-1121811719);
ComposerKt.sourceInformation(composer, "C(provided):CompositionLocal.kt#9igjgp");
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(-1121811719, i, -1, "androidx.compose.runtime.StaticProvidableCompositionLocal.provided (CompositionLocal.kt:139)");
}
StaticValueHolder staticValueHolder = new StaticValueHolder(t);
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
composer.endReplaceableGroup();
return staticValueHolder;
}
}