The `else if` does (or pretend to) the following:

- If we are handling an activity (like sms, or any other 3rd party apps) dont call.
- If we have a mmi don't call as well
- If we do have telephony api (we could be in a tabled), then perform the call.

The first two cases are handled in a separate function, if you check the diff is legacy code moved from `contacts.js` to here, the only place used.