mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
50 lines
1.9 KiB
Java
50 lines
1.9 KiB
Java
package androidx.compose.ui.window;
|
|
|
|
import kotlin.Metadata;
|
|
import kotlin.NoWhenBranchMatchedException;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* compiled from: SecureFlagPolicy.android.kt */
|
|
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u000b\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\u0014\u0010\u0000\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u0001H\u0000¨\u0006\u0004"}, d2 = {"shouldApplySecureFlag", "", "Landroidx/compose/ui/window/SecureFlagPolicy;", "isSecureFlagSetOnParent", "ui_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class SecureFlagPolicy_androidKt {
|
|
|
|
/* compiled from: SecureFlagPolicy.android.kt */
|
|
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public /* synthetic */ class WhenMappings {
|
|
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
|
|
|
|
static {
|
|
int[] iArr = new int[SecureFlagPolicy.values().length];
|
|
try {
|
|
iArr[SecureFlagPolicy.SecureOff.ordinal()] = 1;
|
|
} catch (NoSuchFieldError unused) {
|
|
}
|
|
try {
|
|
iArr[SecureFlagPolicy.SecureOn.ordinal()] = 2;
|
|
} catch (NoSuchFieldError unused2) {
|
|
}
|
|
try {
|
|
iArr[SecureFlagPolicy.Inherit.ordinal()] = 3;
|
|
} catch (NoSuchFieldError unused3) {
|
|
}
|
|
$EnumSwitchMapping$0 = iArr;
|
|
}
|
|
}
|
|
|
|
public static final boolean shouldApplySecureFlag(SecureFlagPolicy secureFlagPolicy, boolean z) {
|
|
Intrinsics.checkNotNullParameter(secureFlagPolicy, "<this>");
|
|
int i = WhenMappings.$EnumSwitchMapping$0[secureFlagPolicy.ordinal()];
|
|
if (i == 1) {
|
|
return false;
|
|
}
|
|
if (i == 2) {
|
|
return true;
|
|
}
|
|
if (i == 3) {
|
|
return z;
|
|
}
|
|
throw new NoWhenBranchMatchedException();
|
|
}
|
|
}
|