Reset IMS Capabilities when IMS disconnects
authorBrad Ebinger <breadley@google.com>
Wed, 10 May 2017 22:54:49 +0000 (15:54 -0700)
committerBrad Ebinger <breadley@google.com>
Wed, 10 May 2017 22:58:06 +0000 (22:58 +0000)
commit21174cff5010593d3108c7bdfa31d7b657008ad0
tree663f11db2478465f6e39374a38061908b2c14ea8
parent87056c26aaca5063bd21e8d5acce229d34dc3840
Reset IMS Capabilities when IMS disconnects

When IMS deregisters, reset the IMS capabilities
to false so we do not accidently return the wrong
result for TelephonyManager.isVolteAvailable()
if the ImsService does not set the capabilities to
false before deregistering.

Test: Telephony Unit Tests
Bug: 36374918
Change-Id: I42b066f8a97770f23d71a0c646f384f7cbfdb57b
src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java