Add prototype of terminate() which supports override terminate reason code.
authorTyler Gunn <tgunn@google.com>
Thu, 11 Aug 2016 20:16:54 +0000 (13:16 -0700)
committerTyler Gunn <tgunn@google.com>
Thu, 11 Aug 2016 20:16:54 +0000 (13:16 -0700)
commit25a72fccf3313ab46a1dd03096f8944a96499406
treeabd8a8f51b5891b83c4117a704770fc6e4e65d28
parentafb53c826d0f4614311a93d24a9bf8fe2b0a51a5
Add prototype of terminate() which supports override terminate reason code.

When ImsCall#termiante(int) is called with a reason code, the modem will
only actually disconnect the call for some disconnect reasons.

Adding an override of that method which allows the caller to specify an
override which is reported as the actual disconnect reason in the
onCallSessionTerminated callback in ImsPhoneCallTracker.

Bug: 30702393
Change-Id: I006046c03630e9d010424591f3bbb7d46da3a76f
src/java/com/android/ims/ImsCall.java