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

Commit 258a9de5 authored by Brad Ebinger's avatar Brad Ebinger Committed by Gerrit Code Review
Browse files

Merge "IMS-VT: Notify capability change to clients when reset"

parents b3ded9b8 6a843086
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3615,7 +3615,13 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {

    private void resetImsCapabilities() {
        log("Resetting Capabilities...");
        boolean tmpIsVideoCallEnabled = isVideoCallEnabled();
        mMmTelCapabilities = new MmTelFeature.MmTelCapabilities();

        boolean isVideoEnabled = isVideoCallEnabled();
        if (tmpIsVideoCallEnabled != isVideoEnabled) {
            mPhone.notifyForVideoCapabilityChanged(isVideoEnabled);
        }
    }

    /**