
PendingInstall means that the user considers the install still in process, like when F-Droid gets killed in the background. There is unfortunately no reliable way currently to ensure that removePendingInstall() is called when the app is finally installed so we can't use it here. This reverts a small part of 1c50e2891054b629e2af6b2d0b1fc89e0b1cf18b closes fdroid/fdroidclient#1527 fdroid/fdroidclient#1532