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

Commit 6ac69dd1 authored by fenglu's avatar fenglu
Browse files

LCE feature enhancement

start LCE service when radio state changes from unavailable to available.
capacityDownBps --> capacityDownKbps name nit fix
sync mwd with mnc-dev

Bug: 21307951
Change-Id: I583c0204f9a9651a315607f9a31deadf672e8883
parent 96f1e8d7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3939,16 +3939,16 @@ public final class RIL extends BaseCommands implements CommandsInterface {

    private Object responseLceData(Parcel p) {
        final ArrayList<Integer> capacityResponse = new ArrayList<Integer>();
        final int capacityDownBps = p.readInt();
        final int capacityDownKbps = p.readInt();
        final int confidenceLevel = p.readByte();
        final int lceSuspended = p.readByte();

        riljLog("LCE capacity information received:" +
                " capacity=" + capacityDownBps +
                " capacity=" + capacityDownKbps +
                " confidence=" + confidenceLevel +
                " lceSuspended=" + lceSuspended);

        capacityResponse.add(capacityDownBps);
        capacityResponse.add(capacityDownKbps);
        capacityResponse.add(confidenceLevel);
        capacityResponse.add(lceSuspended);
        return capacityResponse;