Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c23cba0 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Clear UCE server state when RCS ImsService disconnects

When RCS ImsService feature disconnects, do not carry over
the UCE server state, since we are connecting to a new stack.

This is important during CTS tests, where we set server state
during testing and do not want it to carry over between tests.

Test: atest CtsTelephonyTestCases:RcsUceAdapterTest
Change-Id: I6234bb640e2cd1083d327f7ce46c77b011fb0cee
parent e9a8f9ff
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -274,6 +274,8 @@ public class UceController {
            mRcsFeatureManager.removeCapabilityEventCallback(mCapabilityEventListener);
            mRcsFeatureManager = null;
        }
        // Reset Service specific state
        mServerState.updateRequestForbidden(false, null, 0L);
        // Notify each controllers that RCS is disconnected.
        mEabController.onRcsDisconnected();
        mPublishController.onRcsDisconnected();