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

Skip to content

Updater: Check for available space on install/update/resume

Mohammed Althaf Thayyil requested to merge 863-s-free_space into v1-s

Description

Prompt user to clean up internal storage space when almost full to be able to proceed with the update/upgrade process

Screenshots

Technical details

  • Added dialog to inform user about low memory space.
  • Added dialog for install/download/resume
  • Using MB instead of GB for larger file. Rounded GB size does confuses users.

Tests

  1. Download an ota update
  2. Fill up phone storage with data or dummy files. To create 10gb dummy file via adb
  • adb shell fallocate -l 10G /storage/emulated/0/temp.file
  1. Tap install button in Updater app

Issues

https://gitlab.e.foundation/e/os/backlog/-/issues/863

10 commandments of code reviews

👪 ❤️ https://gitlab.e.foundation/internal/wiki/-/wikis/development/code-review

Edited by Mohammed Althaf Thayyil

Merge request reports

Loading