small change to make android studio recognize a honeycomb-only block

This commit is contained in:
Vincent Breitmoser 2014-08-20 23:09:20 +02:00
parent dcf268bcb2
commit 9c9fc5330a

View File

@ -292,8 +292,10 @@ public class KeyListFragment extends LoaderFragment
mStickyList.setEmptyView(getActivity().findViewById(R.id.key_list_empty)); mStickyList.setEmptyView(getActivity().findViewById(R.id.key_list_empty));
// end action mode, if any // end action mode, if any
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB && mActionMode != null) { if (mActionMode != null) {
mActionMode.finish(); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
mActionMode.finish();
}
} }
// The list should now be shown. // The list should now be shown.