I don't think this will ever happen. `BaseActivity.getActivityid()` will initialize the `activityid` if it hasn't been already. It would make more sense to check if `ApiCall.mActivityid` is `-1` which would mean that no activity would ever receive the event but it will always get set in `Api.call()`.

I'll remove the check. Good catch.