Files
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

45 lines
1.0 KiB
Java

package com.fyber.inneractive.sdk.config.enums;
import android.text.TextUtils;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes2.dex */
public enum Orientation {
LANDSCAPE("landscape", false),
PORTRAIT("portrait", false),
USER("user", true),
NONE("none", true);
private static final Map<String, Orientation> CONSTANTS = new HashMap();
public boolean allowOrientationChange;
private final String value;
static {
for (Orientation orientation : values()) {
CONSTANTS.put(orientation.value, orientation);
}
}
Orientation(String str, boolean z) {
this.value = str;
this.allowOrientationChange = z;
}
public static Orientation fromValue(String str) {
if (TextUtils.isEmpty(str)) {
return null;
}
return CONSTANTS.get(str);
}
@Override // java.lang.Enum
public String toString() {
return this.value;
}
public String value() {
return this.value;
}
}