Notify ImsService Status Callbacks correctly
authorBrad Ebinger <breadley@google.com>
Sat, 6 May 2017 00:45:36 +0000 (17:45 -0700)
committerBrad Ebinger <breadley@google.com>
Wed, 10 May 2017 16:40:41 +0000 (16:40 +0000)
commit7bccdcbcf8619b3629032481d456aefc4871fb81
tree788f8b90090cde4a547760f3bafa2bb681ee1e0d
parent44ae5a46185f96ece6251126ee5eb4e0c266207a
Notify ImsService Status Callbacks correctly

Adds support in the ImsServiceController for multiple
Feature listeners for one feature. Also adds support for
signaling the ImsFeature to remove the binder callback when
the feature is removed.

Stops Phone from listening to IMS_SERVUICE_UP/DOWN when
using the ImsResolver.

Bug: 38001858
Test: Unit Tests
Merged-In: I920605b32160fdce9fcd3b4c0100804d3590397f
Change-Id: I920605b32160fdce9fcd3b4c0100804d3590397f
src/java/com/android/internal/telephony/Phone.java
src/java/com/android/internal/telephony/ims/ImsServiceController.java
tests/telephonytests/src/android/telephony/ims/ImsFeatureTest.java
tests/telephonytests/src/android/telephony/ims/ImsServiceTest.java
tests/telephonytests/src/com/android/internal/telephony/ims/TestImsServiceControllerAdapter.java