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

33 lines
1.0 KiB
Java

package o;
import java.lang.reflect.InvocationTargetException;
/* renamed from: o.gmz, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C15311gmz {
public static boolean a() {
try {
return Class.forName("android.os.Looper").getDeclaredMethod("getMainLooper", new Class[0]).invoke(null, new Object[0]) != null;
} catch (ClassNotFoundException | IllegalAccessException | NoSuchMethodException | InvocationTargetException unused) {
return false;
}
}
public static boolean d() {
try {
Class.forName("org.greenrobot.eventbus.android.AndroidComponentsImpl");
return true;
} catch (ClassNotFoundException unused) {
return false;
}
}
public static gmB e() {
try {
return (gmB) Class.forName("org.greenrobot.eventbus.android.AndroidComponentsImpl").getConstructor(new Class[0]).newInstance(new Object[0]);
} catch (Throwable unused) {
return null;
}
}
}