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

Commit adaf35f5 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

telephony: Reintroduce the old ICS RadioStates

All the previous SIM/RUIM states are now equivalent to "RADIO_ON".
Tested with a fully ICS-compliant set of radio libraries, and appears
to work fully.

Change-Id: Id34320c59a316e2b6747bd3a48077b863ab772d6

Conflicts:
	src/java/com/android/internal/telephony/RIL.java
parent a2c7af99
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2151,6 +2151,14 @@ public class RIL extends BaseCommands implements CommandsInterface {
        switch(stateInt) {
            case 0: state = RadioState.RADIO_OFF; break;
            case 1: state = RadioState.RADIO_UNAVAILABLE; break;
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 9:
            case 10: state = RadioState.RADIO_ON; break;

            default: