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

Commit 0f8bc934 authored by Gary Jian's avatar Gary Jian Committed by Gerrit Code Review
Browse files

Merge "Fix wrong type return issue in isVoNrEnabledResponse"

parents 34d7b5dc f695f8b2
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -269,7 +269,14 @@ public class VoiceResponse extends IRadioVoiceResponse.Stub {
     * @param enable true for "vonr enabled" and false for "vonr disabled"
     */
    public void isVoNrEnabledResponse(RadioResponseInfo responseInfo, boolean enable) {
        RadioResponse.responseInts(RIL.VOICE_SERVICE, mRil, responseInfo, enable ? 1 : 0);
        RILRequest rr = mRil.processResponse(RIL.VOICE_SERVICE, responseInfo);

        if (rr != null) {
            if (responseInfo.error == RadioError.NONE) {
                RadioResponse.sendMessageResponse(rr.mResult, enable);
            }
            mRil.processResponseDone(rr, responseInfo, enable);
        }
    }

    /**