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:04:03 +0000 (11:04 -0800)
commit16780ffb8b0f206e476bd6b68d06af61506b4a87
treedce1075e85aeb943fd0d71bb39fb59e8a569bdba
parent7c65ad4f5175fdf9852c1bbb70c4d079aac526a2
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
Change-Id: I46f1f7237dffcdd12b66c16cd319818d1d21c101
src/java/com/android/ims/ImsManager.java