Skip to content

Commit 0967a9e

Browse files
committed
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
1 parent 2d95a33 commit 0967a9e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ public void run() {
8989
// get the hash of the currently used value
9090
String currentHash = getCurrentHash(getCurrentContent());
9191
if (!verifyVersion(currentVersion, altVersion)) {
92-
EventLog.writeEvent(EventLogTags.CONFIG_INSTALL_FAILED,
93-
"New version is not greater than current version");
92+
Slog.i(TAG, "Not installing, new version is <= current version");
9493
} else if (!verifyPreviousHash(currentHash, altRequiredHash)) {
9594
EventLog.writeEvent(EventLogTags.CONFIG_INSTALL_FAILED,
9695
"Current hash did not match required value");

0 commit comments

Comments
 (0)