Commit Graph

11 Commits

Author SHA1 Message Date
Gabriele M 47f48cff3f Fix first updates list load 2017-07-06 22:07:36 +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 eaba161d43 Replace current json only if new one is valid 2017-07-05 23:35:14 +02:00
Gabriele M 1795bd8b11 Report if a failure is following a download abort 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 520105284c Rename some constants 2017-07-04 19:05:04 +02:00
Gabriele M db3f14832a Replace 'Download' prefix with 'Updater'
These classes do more than controlling the download of the updates.
2017-07-04 19:05:04 +02:00
Gabriele M 9b3deda9fa Protect DownloadController instantiation
Enforce the use of DownloadService to create new DownloadController
instaces, but give access to the existing instances to anyone.
2017-07-03 17:41:33 +02:00
Gabriele M bda4d2b9b4 Load the updates stored in the database from DownloadController
Also, hide the distinction between local and non-local updates.
Local updates should be handled only by DownloadController.
2017-07-03 16:08:31 +02:00
Gabriele M e7511d0041 Project init 2017-07-02 18:13:34 +02:00