Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4dd3c379 authored by Geremy Condra's avatar Geremy Condra Committed by Android (Google) Code Review
Browse files

Merge "Remove logging for old version mismatches." into jb-mr1-dev

parents b6610d82 0967a9ed
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -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");