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(); } }