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

Have a notification displayed when there is not enough space and App Lounge has crashed for this reason

  • /e/ version:
  • Device model(s):
  • Developer mode enabled: yes/no
  • Device rooted: yes/no
  • Trackers blocker enabled: yes/no

Summary

If the storage is almost filled up, App Lounge might not work as expected & crash due to low storage & it throws android.database.sqlite.SQLiteFullException. (Ref: #7102 (comment 445824))

The problem

Steps to reproduce

— Have some app which can be updated via App Lounge — Fill up the device storage (let 1.1G free space, for example). — open update page.

What is the current behavior?

App crashed without any notification.

What is the expected correct behavior?

App Lounge should show a notification saying:

  • 🇬🇧 English: Please free up some space on your phone so App Lounge can work properly.
  • 🇫🇷 French: Merci de libérer de l'espace sur votre téléphone pour qu'App Lounge puisse fonctionner correctement.
  • 🇮🇹 Italian: Ti invitiamo a liberare un pò di spazio sul telefono in modo che App Lounge possa funzionare correttamente.
  • 🇩🇪 German: Bitte etwas Platz auf dem Telefon freimachen, damit die App Lounge ordnungsgemäß funktionieren kann.
  • 🇪🇸 Spanish: Por favor, libera algo de espacio en tu teléfono para que App Lounge funcione correctamente.

A tap on the notification opens com.android.storagemanager/.deletionhelper.DeletionHelperActivity

Technical information

Relevant logs (adb logcat)

Relevant screenshots

Solutions

Workaround

Possible fixes

/cc @rhunault @aude.m

Edited by Aude M