what-the-bank/sources/o/UeV.java

39 lines
1.2 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Intent;
import android.os.Bundle;
import java.util.EnumMap;
import java.util.Map;
import java.util.regex.Pattern;
/* loaded from: classes2.dex */
public final class UeV {
static {
Pattern.compile(",");
}
public static Map<CGg, Object> NM_(Intent intent) {
Bundle extras = intent.getExtras();
if (extras == null || extras.isEmpty()) {
return null;
}
EnumMap enumMap = new EnumMap(CGg.class);
for (CGg cGg : CGg.values()) {
if (cGg != CGg.CHARACTER_SET && cGg != CGg.NEED_RESULT_POINT_CALLBACK && cGg != CGg.POSSIBLE_FORMATS) {
String name = cGg.name();
if (extras.containsKey(name)) {
if (cGg.valueType.equals(Void.class)) {
enumMap.put((EnumMap) cGg, (CGg) Boolean.TRUE);
} else {
Object obj = extras.get(name);
if (cGg.valueType.isInstance(obj)) {
enumMap.put((EnumMap) cGg, (CGg) obj);
}
}
}
}
}
return enumMap;
}
}