mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-19 22:37:09 -04:00
[app] check for updates after uninstalling an app
it may happen that the uninstalled app had an update that we should remove from the UI and notifications
This commit is contained in:
@@ -640,6 +640,7 @@ public class AppDetailsActivity extends AppCompatActivity
|
||||
app.installedVersionName = null;
|
||||
onAppChanged(app);
|
||||
}
|
||||
AppUpdateStatusManager.getInstance(context).checkForUpdates();
|
||||
unregisterUninstallReceiver();
|
||||
break;
|
||||
case Installer.ACTION_UNINSTALL_INTERRUPTED:
|
||||
|
||||
@@ -101,6 +101,7 @@ public class KnownVulnAppListItemController extends AppListItemController {
|
||||
case Installer.ACTION_INSTALL_COMPLETE:
|
||||
case Installer.ACTION_UNINSTALL_COMPLETE:
|
||||
refreshUpdatesList();
|
||||
AppUpdateStatusManager.getInstance(context).checkForUpdates();
|
||||
unregisterInstallReceiver();
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user