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

Commit 5fda154e authored by Hunsuk Choi's avatar Hunsuk Choi
Browse files

Add getInterfaceHash and getInterfaceVersion for IRadioIms

Bug: 216387835
Test: build & flash
Change-Id: I2eb218bdc0aab772a6e175b83e6c7502967dde82
Merged-In: I2eb218bdc0aab772a6e175b83e6c7502967dde82
parent ac3c58e4
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -33,6 +33,16 @@ public class ImsIndication extends IRadioImsIndication.Stub {
        mRil = ril;
    }

    @Override
    public String getInterfaceHash() {
        return IRadioImsIndication.HASH;
    }

    @Override
    public int getInterfaceVersion() {
        return IRadioImsIndication.VERSION;
    }

    /**
     * Fired by radio when any IMS traffic is not sent to network due to any failure
     * on cellular networks.
+10 −0
Original line number Diff line number Diff line
@@ -30,6 +30,16 @@ public class ImsResponse extends IRadioImsResponse.Stub {
        mRil = ril;
    }

    @Override
    public String getInterfaceHash() {
        return IRadioImsResponse.HASH;
    }

    @Override
    public int getInterfaceVersion() {
        return IRadioImsResponse.VERSION;
    }

    /**
     * @param info Response info struct containing response type, serial no. and error.
     */