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

Skip to content

Updater detect 0.10 as an older version

  • /e/ version: 0.10
  • Device model: dreamlte
  • When it started to occur:
  • Reproducible with the last /e/ version:
  • Reproducible with LineageOS:

Summary

When we set version number to 0.10, Android Pie detects this version number as older than the previous one (which was 0.9). Consequently, the update isn't visible and can be downloaded/installed.

  • The device is unusable
  • The bug is the source of a data loss or a big waste of time
  • The bug concerns a third party app
  • The bug concerns security
  • The bug concerns privacy

The problem

Steps to reproduce

  1. Install a 0.9 test version
  2. Build a 0.10, publish it
  3. Refresh the update list in the updater

What is the current behavior?

We can't see the update. In the logcat, it is detected as

What is the expected correct behavior?

Being able to install the update

Technical informations

Relevant logs (adb logcat)

Relevant screenshots

Solutions

Workaround

Possible fixes

Probably something to do with this this lines: https://gitlab.e.foundation/e/os/android_packages_apps_Updater/-/blob/v1-pie/src/org/lineageos/updater/misc/Utils.java#L99