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

Skip to content

improved handling event from downloadManager

Hasib Prince requested to merge 1836-improve_download_event into release-1.21-rc

Description

Improved logic when DownloadManager triggers any download event. Along with this, an edge case of the installation process is handled, the edge case is if the device is rebooted when the download is completed but reboot happens just before handling the download completed event.

An broadcast receiver is introduced to get logs about current state of the installation process. It will help to debug install-related issues. This is the adb command to trigger the broadcast.

adb shell am broadcast -a foundation.e.apps.action.APP_INSTALL_STATE --receiver-include-background

Screenshots

Technical details

Tests

Issues

backlog/-/issues/1836

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Merge request reports

Loading