mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-23 16:29:28 -04:00
actually remove Updates entries when they are swiped away
This commit is contained in:
@@ -370,7 +370,7 @@ public final class AppUpdateStatusManager {
|
||||
|
||||
public void removeApk(String key) {
|
||||
synchronized (appMapping) {
|
||||
AppUpdateStatus entry = appMapping.get(key);
|
||||
AppUpdateStatus entry = appMapping.remove(key);
|
||||
if (entry != null) {
|
||||
Utils.debugLog(LOGTAG, "Remove APK " + entry.apk.apkName);
|
||||
notifyRemove(entry);
|
||||
|
||||
@@ -17,10 +17,6 @@ public class DismissResult {
|
||||
this(null, false);
|
||||
}
|
||||
|
||||
public DismissResult(boolean requiresAdapterRefresh) {
|
||||
this(null, requiresAdapterRefresh);
|
||||
}
|
||||
|
||||
public DismissResult(@Nullable CharSequence message, boolean requiresAdapterRefresh) {
|
||||
this.message = message;
|
||||
this.requiresAdapterRefresh = requiresAdapterRefresh;
|
||||
|
||||
Reference in New Issue
Block a user