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

Commit 70f40630 authored by Benergy Meenan Ravuri's avatar Benergy Meenan Ravuri Committed by Deepak Kundra
Browse files

IMS: Fix video call forwarding options issue

Service class received from the lower layers is not getting
updated properly.

Change-Id: I62904ba59ec2d9175f0e131582d758caec57cc0c
CRs-Fixed: 901774
parent edb4e6a7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -31,6 +31,8 @@ public class ImsCallForwardInfo implements Parcelable {
    public int mStatus;
    // 0x91: International, 0x81: Unknown
    public int mToA;
    // Service class
    public int mServiceClass;
    // Number (it will not include the "sip" or "tel" URI scheme)
    public String mNumber;
    // No reply timer for CF
@@ -53,6 +55,7 @@ public class ImsCallForwardInfo implements Parcelable {
        out.writeInt(mCondition);
        out.writeInt(mStatus);
        out.writeInt(mToA);
        out.writeInt(mServiceClass);
        out.writeString(mNumber);
        out.writeInt(mTimeSeconds);
    }
@@ -62,6 +65,7 @@ public class ImsCallForwardInfo implements Parcelable {
        return super.toString() + ", Condition: " + mCondition
            + ", Status: " + ((mStatus == 0) ? "disabled" : "enabled")
            + ", ToA: " + mToA + ", Number=" + mNumber
            + ", Service Class: " + mServiceClass
            + ", Time (seconds): " + mTimeSeconds;
    }

@@ -69,6 +73,7 @@ public class ImsCallForwardInfo implements Parcelable {
        mCondition = in.readInt();
        mStatus = in.readInt();
        mToA = in.readInt();
        mServiceClass = in.readInt();
        mNumber = in.readString();
        mTimeSeconds = in.readInt();
    }
+5 −0
Original line number Diff line number Diff line
@@ -111,4 +111,9 @@ interface IImsUt {
     * Sets the listener.
     */
    void setListener(in IImsUtListener listener);

    /**
     * Retrieves the configuration of the call forward for specified service class.
     */
    int queryCFForServiceClass(int condition, String number, int serviceClass);
}