Update manager: Notify GeoIP type and file version

This commit is contained in:
zzz
2019-12-02 15:29:42 +00:00
parent 3a7ee4f211
commit 31e8ff8f45
5 changed files with 57 additions and 7 deletions

View File

@ -1147,13 +1147,13 @@ public class ConsoleUpdateManager implements UpdateManager, RouterApp {
return rv;
}
///////// End UpdateManager interface
/**
* Adds to installed, removes from downloaded and available
* @param id subtype for plugins, or ""
* @param version null to remove from installed
* @since public since 0.9.45
*/
private void notifyInstalled(UpdateType type, String id, String version) {
public void notifyInstalled(UpdateType type, String id, String version) {
UpdateItem ui = new UpdateItem(type, id);
if (version == null) {
_installed.remove(ui);
@ -1173,6 +1173,8 @@ public class ConsoleUpdateManager implements UpdateManager, RouterApp {
_available.remove(ui);
}
///////// End UpdateManager interface
/**
* Adds to downloaded, removes from available
*/