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

Commit 29d554c3 authored by Cassie Han's avatar Cassie Han Committed by android-build-merger
Browse files

Merge "Add cellInfoList_1_2 in IRadioIndication.java." am: f06ecc79

am: 659ca24b

Change-Id: I2261b160d0884d6e0b7e595d7e1340ebc2df319f
parents fc8a19e5 659ca24b
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