actually remove Updates entries when they are swiped away

This commit is contained in:
Hans-Christoph Steiner 2018-03-20 12:14:29 +01:00
parent 52d09e6418
commit 7c1e2ee09c
2 changed files with 1 additions and 5 deletions

View File

@ -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);

View File

@ -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;