package X; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.text.TextUtils; import com.bytedance.covode.number.Covode; /* renamed from: X.2or reason: invalid class name and case insensitive filesystem */ public final class C69722or { static { Covode.recordClassIndex(11768); } public static boolean LIZ(String str) { Context LJ; if (TextUtils.isEmpty(str)) { return false; } if ((!str.startsWith("market://details?id=") && !str.startsWith("https://play.google.com")) || !C35629Dz0.LIZJ("com.android.vending") || (LJ = C33241D3u.LJ()) == null) { return false; } try { Intent intent = new Intent("android.intent.action.VIEW"); intent.setData(Uri.parse(str)); intent.setPackage("com.android.vending"); intent.addFlags(268435456); C21280sv.LIZ(intent, LJ); LJ.startActivity(intent); return true; } catch (Throwable unused) { return false; } } }