alexandroid/decompiled/jadx/sources/com/bugsnag/android/ThreadSendPolicy.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

50 lines
2.5 KiB
Java

package com.bugsnag.android;
import kotlin.jvm.internal.DefaultConstructorMarker;
import org.jetbrains.annotations.NotNull;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@kotlin.Metadata(bv = {1, 0, 3}, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0006\b\u0086\u0001\u0018\u0000 \u00062\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u0006B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005¨\u0006\u0007"}, d2 = {"Lcom/bugsnag/android/ThreadSendPolicy;", "", "(Ljava/lang/String;I)V", "ALWAYS", "UNHANDLED_ONLY", "NEVER", "Companion", "bugsnag-android-core_release"}, k = 1, mv = {1, 4, 2})
/* loaded from: classes6.dex */
public enum ThreadSendPolicy {
ALWAYS,
UNHANDLED_ONLY,
NEVER;
/* renamed from: Companion, reason: from kotlin metadata */
@NotNull
public static final Companion INSTANCE = new Companion(null);
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@kotlin.Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0080\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000e\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006¨\u0006\u0007"}, d2 = {"Lcom/bugsnag/android/ThreadSendPolicy$Companion;", "", "()V", "fromString", "Lcom/bugsnag/android/ThreadSendPolicy;", "str", "", "bugsnag-android-core_release"}, k = 1, mv = {1, 4, 2})
public static final class Companion {
private Companion() {
}
@NotNull
public final ThreadSendPolicy fromString(@NotNull String str) {
ThreadSendPolicy threadSendPolicy;
str.getClass();
ThreadSendPolicy[] values = ThreadSendPolicy.values();
int length = values.length;
int i = 0;
while (true) {
if (i >= length) {
threadSendPolicy = null;
break;
}
threadSendPolicy = values[i];
if (kotlin.jvm.internal.Intrinsics.areEqual(threadSendPolicy.name(), str)) {
break;
}
i++;
}
return threadSendPolicy != null ? threadSendPolicy : ThreadSendPolicy.ALWAYS;
}
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
}
}