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

Commit 4ccf19ce authored by Amit Mahajan's avatar Amit Mahajan Committed by android-build-merger
Browse files

Merge "Convert unsigned uint8 fields in RIL interface to unsigned int." into oc-dev

am: 091fd22c

Change-Id: Ia05ae78edbf33fe32ebf4ddc7198cfa7a2c5f672
parents 3a7a35d6 091fd22c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4887,7 +4887,7 @@ public final class RIL extends BaseCommands implements CommandsInterface {
    static ArrayList<Integer> convertHalLceData(LceDataInfo lce, RIL ril) {
        final ArrayList<Integer> capacityResponse = new ArrayList<Integer>();
        final int capacityDownKbps = lce.lastHopCapacityKbps;
        final int confidenceLevel = lce.confidenceLevel;
        final int confidenceLevel = Byte.toUnsignedInt(lce.confidenceLevel);
        final int lceSuspended = lce.lceSuspended ? 1 : 0;

        ril.riljLog("LCE capacity information received:" +
+1 −1
Original line number Diff line number Diff line
@@ -1713,7 +1713,7 @@ public class RadioResponse extends IRadioResponse.Stub {
        if (rr != null) {
            ArrayList<Integer> ret = new ArrayList<Integer>();
            ret.add(statusInfo.lceStatus);
            ret.add((int) statusInfo.actualIntervalMs);
            ret.add(Byte.toUnsignedInt(statusInfo.actualIntervalMs));
            if (responseInfo.error == RadioError.NONE) {
                sendMessageResponse(rr.mResult, ret);
            }