From 0967a9edfc29fe601c9242648b93448d710b7a97 Mon Sep 17 00:00:00 2001 From: Geremy Condra Date: Wed, 19 Sep 2012 21:22:42 -0700 Subject: [PATCH] Remove logging for old version mismatches. Since this has no security consequence and triggered by a variety of totally innocuous things it seems like log noise and so should be removed. Bug: 7198235 Change-Id: I80ed5acb378a4c42d5d223b633309bf9526dbf3d --- .../android/server/updates/ConfigUpdateInstallReceiver.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/java/com/android/server/updates/ConfigUpdateInstallReceiver.java b/services/java/com/android/server/updates/ConfigUpdateInstallReceiver.java index a74a648f3f283..5da612a35a646 100644 --- a/services/java/com/android/server/updates/ConfigUpdateInstallReceiver.java +++ b/services/java/com/android/server/updates/ConfigUpdateInstallReceiver.java @@ -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");