summaryrefslogtreecommitdiffstats
path: root/services/java
diff options
context:
space:
mode:
authorGeremy Condra <gcondra@google.com>2012-09-19 21:22:42 -0700
committerGeremy Condra <gcondra@google.com>2012-09-19 21:22:42 -0700
commit0967a9edfc29fe601c9242648b93448d710b7a97 (patch)
treec6f98a15e8c297a89c42a06aa4924084374e11bb /services/java
parent2d95a33dc3a463b197d4597b38f5ae124de25017 (diff)
downloadframeworks_base-0967a9edfc29fe601c9242648b93448d710b7a97.zip
frameworks_base-0967a9edfc29fe601c9242648b93448d710b7a97.tar.gz
frameworks_base-0967a9edfc29fe601c9242648b93448d710b7a97.tar.bz2
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
Diffstat (limited to 'services/java')
-rw-r--r--services/java/com/android/server/updates/ConfigUpdateInstallReceiver.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/java/com/android/server/updates/ConfigUpdateInstallReceiver.java b/services/java/com/android/server/updates/ConfigUpdateInstallReceiver.java
index a74a648..5da612a 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");