Commit Graph

11 Commits

Author SHA1 Message Date
Gabriele M e51be80f6a Initial UI work
Look and feel based on CMUpdater.
2017-07-16 22:52:45 +02:00
Gabriele M fd856dce70 Allow to disable the automatic updates check 2017-07-16 22:52:45 +02:00
Gabriele M efa829358d Remove unknwon files that are in the downloads dir
The files are supposed to be downloaded in a privileged location
that the user can't access. If the user wipes the data of the
application, the updates downloaded are not removed. Perform a
one-time cleanup so that our downloads dir doesn't grow without
control.
2017-07-08 14:07:05 +02:00
Gabriele M 6534932b20 Show "verify" for complete INCOMPLETE updates
INCOMPLETE is used for any update that isn't verified, even if the
file has been completed. This change is mostly needed to support
imported downloads, which we take as complete, but unverified.
2017-07-08 14:05:36 +02:00
Gabriele M e6a061c090 Use a single config to define the download path
There's no point in using a bool, just define the path.
2017-07-07 22:05:23 +02:00
Gabriele M 718c877687 Provide some feedback when refreshing the list
Add a progress dialog to inform the user about the ongoing operation
and show a snackbar with the result of the operation.
2017-07-05 23:35:14 +02:00
Gabriele M 7819587a22 Add a toolbar menu with back and refresh buttons
Change theme just to make the refresh button visible without
changing its color.
2017-07-05 23:35:14 +02:00
Gabriele M e245631b46 Add support for A/B (Seamless) System Updates
Loosely based on:
https://github.com/LineageOS/android_packages_apps_CMUpdater/commit/0465cb691de5acd2f459ce0687b988ddf050b354
2017-07-04 19:36:32 +02:00
Gabriele M f26cb61aa0 Check for new updates every day
Compare the previously downloaded updates list with the current one
and check if the old list includes all the updates of the new list.
If the network is not available at the time of the check, a new
check is scheduled.
2017-07-03 01:18:19 +02:00
Gabriele M 264fb5fc58 Improve notifications
Reorder the content of the notification and add the download
progress as text, the current speed and the ETA.
2017-07-02 22:44:32 +02:00
Gabriele M e7511d0041 Project init 2017-07-02 18:13:34 +02:00