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

26 lines
652 B
Java

package o;
import android.content.Context;
import android.content.pm.PackageManager;
/* loaded from: classes3.dex */
public final class TXt {
public static String e(String str) {
Context context = gHQ.e;
if (context == null) {
return "";
}
try {
return context.getPackageManager().getPackageInfo(str, 0).versionName;
} catch (PackageManager.NameNotFoundException e) {
e.getMessage();
return "";
} catch (Exception e2) {
e2.getMessage();
return "";
} catch (Throwable unused) {
return "";
}
}
}