OSDN Git Service

Remove logging for old version mismatches.
authorGeremy Condra <gcondra@google.com>
Thu, 20 Sep 2012 04:22:42 +0000 (21:22 -0700)
committerGeremy Condra <gcondra@google.com>
Thu, 20 Sep 2012 04:22:42 +0000 (21:22 -0700)
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

services/java/com/android/server/updates/ConfigUpdateInstallReceiver.java

index a74a648..5da612a 100644 (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");