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