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

Commit f06ecc79 authored by Cassie Han's avatar Cassie Han Committed by Gerrit Code Review
Browse files

Merge "Add cellInfoList_1_2 in IRadioIndication.java."

parents d28dd923 33bb558a
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -625,6 +625,7 @@ public class RadioIndication extends IRadioIndication.Stub {
                new AsyncResult (null, response, null));
    }

    /** Get unsolicited message for cellInfoList */
    public void cellInfoList(int indicationType,
                             ArrayList<android.hardware.radio.V1_0.CellInfo> records) {
        mRil.processIndication(indicationType);
@@ -636,6 +637,18 @@ public class RadioIndication extends IRadioIndication.Stub {
        mRil.mRilCellInfoListRegistrants.notifyRegistrants(new AsyncResult(null, response, null));
    }

    /** Get unsolicited message for cellInfoList using HAL V1_2 */
    public void cellInfoList_1_2(int indicationType,
                             ArrayList<android.hardware.radio.V1_2.CellInfo> records) {
        mRil.processIndication(indicationType);

        ArrayList<CellInfo> response = RIL.convertHalCellInfoList_1_2(records);

        if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_CELL_INFO_LIST, response);

        mRil.mRilCellInfoListRegistrants.notifyRegistrants(new AsyncResult(null, response, null));
    }

    /**
     * Indicates a change of the ICC slot status
     * @param indicationType RadioIndicationType