commit | c869dd17deec2b09bfd028e3fb2c65887e322717 | [log] [tgz] |
---|---|---|
author | Santos Cordon <santoscordon@google.com> | Wed Aug 27 15:12:20 2014 -0700 |
committer | Santos Cordon <santoscordon@google.com> | Wed Aug 27 22:47:42 2014 +0000 |
tree | 221252c9f3375594dcfee955f2af1d71c0114fbb | |
parent | 8aa5809f1a8bf12899454f9562a861e725c577ad [diff] |
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