Move caching of VoLTE provisioned value from ImsConfigImpl to ImsManager
authorPavel Zhamaitsiak <pavelz@google.com>
Fri, 3 Jun 2016 23:05:31 +0000 (16:05 -0700)
committerPavel Zhamaitsiak <pavelz@google.com>
Fri, 10 Jun 2016 00:19:14 +0000 (00:19 +0000)
commit002b20483cc581248fb1070226474c7b00a23947
tree2a274b38c2021423ef31260239a63764ca6f2844
parent9352c43df0c21f27fd29ee46770ca058c13d5e2f
Move caching of VoLTE provisioned value from ImsConfigImpl to ImsManager

ImsConfig.getVolteProvisioned() function was supposed to cache provisioned
value and return it synchronously. This CL moves this functionality to
ImsManager (and adds support for WFC and VT provisioning).

VoLTE and WFC provisioned values are asynchronously updated when
CarrierConfig changes. They are also updated when ACTION_IMS_CONFIG_CHANGED
intent is received (this intent is sent by IMS stack).

Add isWfcProvisionedOnDevice() and isVtProvisionedOnDevice() functions
to ImsManager.

Bug: 26496388
Bug: 27814311
Change-Id: I4640e5c79e339121a2899ef3cd022d2738ab244b
src/java/com/android/ims/ImsConfig.java
src/java/com/android/ims/ImsManager.java