From 8545df9091d5556835b0c7f5c0c9049012b31596 Mon Sep 17 00:00:00 2001 From: Doug Keen Date: Fri, 12 Oct 2012 07:08:24 -0700 Subject: [PATCH] Dismissing Your Train card will now clear any active action modes --- src/com/dougkeen/bart/activities/ViewDeparturesActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/dougkeen/bart/activities/ViewDeparturesActivity.java b/src/com/dougkeen/bart/activities/ViewDeparturesActivity.java index 817e00f..e625c29 100644 --- a/src/com/dougkeen/bart/activities/ViewDeparturesActivity.java +++ b/src/com/dougkeen/bart/activities/ViewDeparturesActivity.java @@ -195,7 +195,7 @@ public class ViewDeparturesActivity extends SActivity implements @Override public void onDismiss(View view, Object token) { dismissYourTrainSelection(); - if (isYourTrainActionModeActive()) { + if (mActionMode != null) { mActionMode.finish(); } }