aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSungcheol Ahn <donaldahn@google.com>2023-02-15 07:40:36 +0000
committerSungcheol Ahn <donaldahn@google.com>2023-02-23 06:26:07 +0000
commit423c825bf3b7e65bea6ade38003ff1ec1fe53e61 (patch)
tree5ce7919d461283b750ff7c44698ad37338a29b6c /src
parent6f2bf6fe778fea2ea0cbe60fca30c5d4965ea5bd (diff)
downloadims-423c825bf3b7e65bea6ade38003ff1ec1fe53e61.tar.gz
Fixed to update the Capability Info if any change in Rcs Feature Tags during Ims Mmtel alive.
If RCS UnRegistration is executed due to the destruction of SipDelegate, RCS Feature Tags have been released from the PUBLISH tuple. Bug: b/235973951 Test: atest PublishServiceDescTrackerTest Test: TestRcsApp Change-Id: I1ff4824e351f156b983b0574debac1bdadd244c9
Diffstat (limited to 'src')
-rw-r--r--src/java/com/android/ims/rcs/uce/presence/publish/DeviceCapabilityInfo.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/com/android/ims/rcs/uce/presence/publish/DeviceCapabilityInfo.java b/src/java/com/android/ims/rcs/uce/presence/publish/DeviceCapabilityInfo.java
index 0c8515ba..49291484 100644
--- a/src/java/com/android/ims/rcs/uce/presence/publish/DeviceCapabilityInfo.java
+++ b/src/java/com/android/ims/rcs/uce/presence/publish/DeviceCapabilityInfo.java
@@ -255,6 +255,9 @@ public class DeviceCapabilityInfo {
mRcsRegistered = false;
changed = true;
}
+
+ mLastRegistrationFeatureTags = Collections.emptySet();
+ updateRegistration(mLastRegistrationFeatureTags);
mRcsNetworkRegType = AccessNetworkConstants.TRANSPORT_TYPE_INVALID;
mLastSuccessfulCapabilities.clear();
mPendingPublishCapabilities = null;