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

Commit ed7b2a4f authored by Jordan Liu's avatar Jordan Liu
Browse files

Add new requests to requestToString

Also fix the format of existing string.

Bug: 128329728
Test: no change to behavior
Change-Id: Ia9156a74a6e142edf6118a0d29288c5ec0329f78
parent 30cdeeae
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -393,12 +393,16 @@ public class RadioConfig extends Handler {

    static String requestToString(int request) {
        switch (request) {
            case RIL_REQUEST_GET_PHONE_CAPABILITY:
                return "GET_PHONE_CAPABILITY";
            case RIL_REQUEST_GET_SLOT_STATUS:
                return "GET_SLOT_STATUS";
            case RIL_REQUEST_SET_LOGICAL_TO_PHYSICAL_SLOT_MAPPING:
                return "SET_LOGICAL_TO_PHYSICAL_SLOT_MAPPING";
            case RIL_REQUEST_SET_PREFERRED_DATA_MODEM:
                return "SET_PREFERRED_DATA_MODEM";
            case RIL_REQUEST_SWITCH_DUAL_SIM_CONFIG:
                return "RIL_REQUEST_SWITCH_DUAL_SIM_CONFIG";
                return "SWITCH_DUAL_SIM_CONFIG";
            default:
                return "<unknown request>";
        }