am 552edb89: am 51fbaff1: Merge "DEFAULT_VERIFY_ENABLE turns verification off" into jb-mr1-dev

* commit '552edb895a17c8cd1d6b653cbe206aa612a6f43c':
  DEFAULT_VERIFY_ENABLE turns verification off
This commit is contained in:
Ben Gruver
2012-09-17 11:29:17 -07:00
committed by Android Git Automerger

View File

@@ -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;
}
/**