36 lines
857 B
Java
36 lines
857 B
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.pm.PackageManager;
|
||
|
|
||
|
/* renamed from: o.cXM, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class C6581cXM {
|
||
|
|
||
|
/* renamed from: o.cXM$HBt */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public static final class HBt {
|
||
|
private HBt() {
|
||
|
}
|
||
|
|
||
|
public static boolean d(String str, Context context) {
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(context, "");
|
||
|
try {
|
||
|
context.getPackageManager().getPackageInfo(str, 0);
|
||
|
return true;
|
||
|
} catch (PackageManager.NameNotFoundException unused) {
|
||
|
return false;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ HBt(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
new HBt((byte) 0);
|
||
|
}
|
||
|
}
|