am 51fbaff1: Merge "DEFAULT_VERIFY_ENABLE turns verification off" into jb-mr1-dev
* commit '51fbaff11c195d3004f872d19f98a20fa6c44456': DEFAULT_VERIFY_ENABLE turns verification off
This commit is contained in:
@@ -5902,9 +5902,12 @@ public class PackageManagerService extends IPackageManager.Stub {
|
||||
* @return true if verification should be performed
|
||||
*/
|
||||
private boolean isVerificationEnabled() {
|
||||
if (!DEFAULT_VERIFY_ENABLE) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return android.provider.Settings.Global.getInt(mContext.getContentResolver(),
|
||||
android.provider.Settings.Global.PACKAGE_VERIFIER_ENABLE,
|
||||
DEFAULT_VERIFY_ENABLE ? 1 : 0) == 1 ? true : false;
|
||||
android.provider.Settings.Global.PACKAGE_VERIFIER_ENABLE, 1) == 1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user