package b.a.o; import android.content.Context; import android.content.res.Resources; import androidx.core.os.ConfigurationCompat; import d0.z.d.m; import d0.z.d.o; import java.util.Locale; import kotlin.jvm.functions.Function1; /* compiled from: LocaleProvider.kt */ public final class a { public static Function1 a = C0031a.j; /* renamed from: b reason: collision with root package name */ public static final a f248b = null; /* compiled from: LocaleProvider.kt */ /* renamed from: b.a.o.a$a reason: collision with other inner class name */ public static final class C0031a extends o implements Function1 { public static final C0031a j = new C0031a(); public C0031a() { super(1); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public Locale invoke(Context context) { Context context2 = context; m.checkParameterIsNotNull(context2, "context"); Resources resources = context2.getResources(); m.checkExpressionValueIsNotNull(resources, "context.resources"); Locale locale = ConfigurationCompat.getLocales(resources.getConfiguration()).get(0); m.checkExpressionValueIsNotNull(locale, "ConfigurationCompat.getL…sources.configuration)[0]"); return locale; } } }