diff options
| author | 2018-05-22 15:01:43 -0700 | |
|---|---|---|
| committer | 2018-05-25 15:06:31 +0000 | |
| commit | e08a4fe3255005a7e62c08de628c06b6b75233fc (patch) | |
| tree | b9dba5e3ea6d922cac7c9ea6243c467bc416f585 | |
| parent | a76418645500c492cc86d802c60e1ff37c0a49d1 (diff) | |
Update onDeregistered docs to make capability change expectations clear.
Updating the onDeregistered docs to make it clear that the ImsService
must report any feature capability changes to the framework prior to
de-registration.
Bug: 73076695
Test: Docs only change.
Change-Id: Ib9bc88bfb43670f04c8afde36d0947255399397a
| -rw-r--r-- | telephony/java/android/telephony/ims/stub/ImsRegistrationImplBase.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/ims/stub/ImsRegistrationImplBase.java b/telephony/java/android/telephony/ims/stub/ImsRegistrationImplBase.java index 4334d3aadab3..31381804d143 100644 --- a/telephony/java/android/telephony/ims/stub/ImsRegistrationImplBase.java +++ b/telephony/java/android/telephony/ims/stub/ImsRegistrationImplBase.java @@ -213,6 +213,17 @@ public class ImsRegistrationImplBase { /** * Notify the framework that the device is disconnected from the IMS network. + * <p> + * Note: Prior to calling {@link #onDeregistered(ImsReasonInfo)}, you should ensure that any + * changes to {@link android.telephony.ims.feature.ImsFeature} capability availability is sent + * to the framework. For example, + * {@link android.telephony.ims.feature.MmTelFeature.MmTelCapabilities#CAPABILITY_TYPE_VIDEO} + * and + * {@link android.telephony.ims.feature.MmTelFeature.MmTelCapabilities#CAPABILITY_TYPE_VOICE} + * may be set to unavailable to ensure the framework knows these services are no longer + * available due to de-registration. If you do not report capability changes impacted by + * de-registration, the framework will not know which features are no longer available as a + * result. * * @param info the {@link ImsReasonInfo} associated with why registration was disconnected. */ |