Modifies ImsManager to support ImsResolver
authorBrad Ebinger <breadley@google.com>
Thu, 26 Jan 2017 19:18:21 +0000 (11:18 -0800)
committerBrad Ebinger <breadley@google.com>
Thu, 16 Feb 2017 19:14:59 +0000 (11:14 -0800)
commit14b0a9e7eed291e558d892b851454325bb1c496c
treeba3dc6cc927906e1501d10331eeca779ff44430b
parent525c3a2fdcbc9a35dd0d7248207d9b0602d8ada7
Modifies ImsManager to support ImsResolver

This change modifies the ImsManager to support both the old and
new versions of ImsService. This is done by creating the
ImsServiceProxyCompat class, which implements IMMTelFeature
and uses the old IImsService interface. ImsServiceProxy then
extends ImsServiceProxyCompat, which implements the new interface
for newer devices, which use IImsServiceController.

A callback interface has also been introduced to the ImsManager, which
takes information back from the ImsService regarding its status
(NOT_READY,INITIALIZING,READY) and uses it to ensure that we are not
operating on an ImsService that is not READY.

Test: Manual
Merged-In: I46f1f7237dffcdd12b66c16cd319818d1d21c101
Change-Id: I46f1f7237dffcdd12b66c16cd319818d1d21c101
src/java/com/android/ims/ImsManager.java