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

Commit 8f6c2ff2 authored by Sooraj S's avatar Sooraj S 👽
Browse files

[DNM] updater: compare Release Version

parent 048e7282
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -99,8 +99,8 @@ public class Utils {
    }

    public static boolean isCompatible(UpdateBaseInfo update) {
        int[] updateVersionParts = parseSemVer(update.getVersion());
        Log.d(TAG, update.getVersion() + " update.getVersion()");
        int[] updateVersionParts = parseSemVer(update.getReleaseVersion());
        Log.d(TAG, update.getReleaseVersion() + " update.getReleaseVersion");
        
        int updateMajorVersion = updateVersionParts[0];
        int updateMinorVersion = updateVersionParts[1];