Rejected calls need to call Call.hangup() instead

invoke getCall().hangup() for ringing calls instead. For calls which are
not ringing, call.hangup() already calls connection.hangup() so doing
call.hangup() is all we need to do.

Without this change, rejected calls never go to voicemail, they are
simply hung up on the other end.

Bug: 17304454
Change-Id: I1c3f77e1c85a184a1f4b7f239a89b97ff036f3f3
1 file changed