
I wrestled with this a bunch, it seems quite difficult to make the Cancel button on the notification responsive. This collection of minor changes made it more reliable, but its still kind of flaky. I think the problem might be related to the fact that it is creating a whole new Notification instance, with the accompanying Intent and PendingIntent instances, for every single download progress update. closes #652 https://gitlab.com/fdroid/fdroidclient/issues/652