summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/fragment
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-11-16 21:12:11 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2013-11-16 21:12:11 +0100
commitef922d018c50a9594d4994282695a68a6e40b00f (patch)
treeab9840fd042778962e169567fa5212244ff0756b /src/de/danoeh/antennapod/fragment
parent85975df9fb14deab100b54f9d6bdfa193535c204 (diff)
downloadAntennaPod-ef922d018c50a9594d4994282695a68a6e40b00f.zip
Updated dependency version numbers, removed workaround for actionmode bug
Diffstat (limited to 'src/de/danoeh/antennapod/fragment')
-rw-r--r--src/de/danoeh/antennapod/fragment/FeedlistFragment.java14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/de/danoeh/antennapod/fragment/FeedlistFragment.java b/src/de/danoeh/antennapod/fragment/FeedlistFragment.java
index ed607b279..d0e07b194 100644
--- a/src/de/danoeh/antennapod/fragment/FeedlistFragment.java
+++ b/src/de/danoeh/antennapod/fragment/FeedlistFragment.java
@@ -244,19 +244,11 @@ public class FeedlistFragment extends Fragment implements
return true;
}
- private boolean actionModeDestroyWorkaround = false; // TODO remove this workaround
- private boolean skipWorkAround = Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH;
-
@Override
public void onDestroyActionMode(ActionMode mode) {
- if (skipWorkAround || actionModeDestroyWorkaround) {
- mActionMode = null;
- selectedFeed = null;
- fla.setSelectedItemIndex(FeedlistAdapter.SELECTION_NONE);
- actionModeDestroyWorkaround = false;
- } else {
- actionModeDestroyWorkaround = true;
- }
+ mActionMode = null;
+ selectedFeed = null;
+ fla.setSelectedItemIndex(FeedlistAdapter.SELECTION_NONE);
}
@Override