Dismissing Your Train card will now clear any active action modes

This commit is contained in:
Doug Keen 2012-10-12 07:08:24 -07:00
parent ca60cf54c8
commit 8545df9091

View File

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