Use the new PackageInstaller API for uninstall as well on API 24 and above
-
Deal with the callback / broadcast receiver better, for both install and uninstall.
-
Also set installer package name to this package if it's set to the fdroid client
-
It still won't be possible to uninstall any package available from F-Droid (so that it shows up in installed) but installed via other means.
-
This is also done in F-Droid client.