Rabbit-R1/android (non root)/java/sources/androidx/compose/ui/res/Resources_androidKt.java
2024-05-21 17:08:36 -04:00

38 lines
2.2 KiB
Java

package androidx.compose.ui.res;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import androidx.compose.runtime.Composer;
import androidx.compose.runtime.ComposerKt;
import androidx.compose.runtime.ProvidableCompositionLocal;
import androidx.compose.ui.platform.AndroidCompositionLocals_androidKt;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: Resources.android.kt */
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\r\u0010\u0000\u001a\u00020\u0001H\u0001¢\u0006\u0002\u0010\u0002¨\u0006\u0003"}, d2 = {"resources", "Landroid/content/res/Resources;", "(Landroidx/compose/runtime/Composer;I)Landroid/content/res/Resources;", "ui_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class Resources_androidKt {
public static final Resources resources(Composer composer, int i) {
ComposerKt.sourceInformationMarkerStart(composer, 1554054999, "C(resources)31@1102L7,32@1134L7:Resources.android.kt#ccshc7");
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(1554054999, i, -1, "androidx.compose.ui.res.resources (Resources.android.kt:30)");
}
ProvidableCompositionLocal<Configuration> localConfiguration = AndroidCompositionLocals_androidKt.getLocalConfiguration();
ComposerKt.sourceInformationMarkerStart(composer, 2023513938, "CC:CompositionLocal.kt#9igjgp");
composer.consume(localConfiguration);
ComposerKt.sourceInformationMarkerEnd(composer);
ProvidableCompositionLocal<Context> localContext = AndroidCompositionLocals_androidKt.getLocalContext();
ComposerKt.sourceInformationMarkerStart(composer, 2023513938, "CC:CompositionLocal.kt#9igjgp");
Object consume = composer.consume(localContext);
ComposerKt.sourceInformationMarkerEnd(composer);
Resources resources = ((Context) consume).getResources();
Intrinsics.checkNotNullExpressionValue(resources, "LocalContext.current.resources");
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
ComposerKt.sourceInformationMarkerEnd(composer);
return resources;
}
}