Downloading updates in the background slows down system UI
- Device OS and version: OxygenOS 3.2.7 (Android 6.0.1)
- Device model/manufacturer: OnePlus3
- F-Droid version (in the About screen): 0.101
What did you do? (clear steps if possible)
I've enabled the options as follows:
- only with WiFi
- download updates automatically;
- notify about updates.
What did you expect to see?
Updates should be downloaded in the background and then I should be presented with option to update those.
What did you see instead?
While notifications do work, when the download is slow (or stops) it has a tremendous impact on the system UI - it slows down to a crawl (waking up is about 15s or more, showing pin pad another dozen of seconds, etc) and if I manage to kill (force stop) f-droid at that time everything goes back to normal, but if it continues then the only option is to reboot the device because it's completely unresponsive.
As I said - it happens if the particular download is slow (and is possibly related if there are more than one update download pending) - for example yesterday I open f-droid and it downloaded updates and started to download them in the background (total of 4 or 5) and then the device slowed a bit. One of the downloads got stuck at about 700KB and then the device became veeeery slow. Canceling from the notification (if possible to pull down the notification list) didn't work. If I disable notifications (either in system or in the application) and/or download updates manually one by one (still - there is no option to cancel it from the application card where you can start the app/delete it or start update) then it looks to be working ok, so maybe there is a problem with do many notification events being fired?