Merge "Remove logging for old version mismatches." into jb-mr1-dev

This commit is contained in:
Geremy Condra
2012-09-20 10:33:03 -07:00
committed by Android (Google) Code Review

View File

@@ -89,8 +89,7 @@ public class ConfigUpdateInstallReceiver extends BroadcastReceiver {
// get the hash of the currently used value
String currentHash = getCurrentHash(getCurrentContent());
if (!verifyVersion(currentVersion, altVersion)) {
EventLog.writeEvent(EventLogTags.CONFIG_INSTALL_FAILED,
"New version is not greater than current version");
Slog.i(TAG, "Not installing, new version is <= current version");
} else if (!verifyPreviousHash(currentHash, altRequiredHash)) {
EventLog.writeEvent(EventLogTags.CONFIG_INSTALL_FAILED,
"Current hash did not match required value");