fwgslib: certcheck: remove BuildConfig.java dependency
This commit is contained in:
parent
24632c0e69
commit
6ad205a619
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ import java.util.List;
|
||||||
import java.security.MessageDigest;
|
import java.security.MessageDigest;
|
||||||
|
|
||||||
import in.celest.xash3d.XashConfig; // change pkgname if needed
|
import in.celest.xash3d.XashConfig; // change pkgname if needed
|
||||||
import in.celest.xash3d.hl.BuildConfig; // change pkgname if needed
|
// import in.celest.xash3d.hl.BuildConfig; // change pkgname if needed
|
||||||
|
|
||||||
public class CertCheck
|
public class CertCheck
|
||||||
{
|
{
|
||||||
|
@ -30,7 +30,7 @@ public class CertCheck
|
||||||
|
|
||||||
public static boolean dumbAntiPDALifeCheck( Context context )
|
public static boolean dumbAntiPDALifeCheck( Context context )
|
||||||
{
|
{
|
||||||
if( !XashConfig.CHECK_SIGNATURES || BuildConfig.DEBUG )
|
if( !XashConfig.CHECK_SIGNATURES /* || BuildConfig.DEBUG */ )
|
||||||
return false; // disable checking for debug builds
|
return false; // disable checking for debug builds
|
||||||
|
|
||||||
final String sig;
|
final String sig;
|
||||||
|
|
Loading…
Add table
Reference in a new issue