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

Commit 091fd22c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 0b187f0f 152ec067
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4815,7 +4815,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
@@ -1699,7 +1699,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);
            }