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

Commit 8ccfed7d authored by Umashankar Godachi's avatar Umashankar Godachi Committed by Gerrit - the friendly Code Review server
Browse files

Handle IWLAN radio technology in ServiceState.

rilRadioTechnologyToNetworkType() in ServiceState returns UNKNOWN,
if radio technology is chosen as IWLAN.

Add the code to handle IWLAN radio technology in ServiceState.

Change-Id: Icf09121d2bea8f618f0f10efb59e80d1f14c25f8
CRs-Fixed: 641631
parent 02f22862
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -816,6 +816,8 @@ public class ServiceState implements Parcelable {
            return TelephonyManager.NETWORK_TYPE_GSM;
        case ServiceState.RIL_RADIO_TECHNOLOGY_TD_SCDMA:
            return TelephonyManager.NETWORK_TYPE_TD_SCDMA;
        case ServiceState.RIL_RADIO_TECHNOLOGY_IWLAN:
            return TelephonyManager.NETWORK_TYPE_IWLAN;
        default:
            return TelephonyManager.NETWORK_TYPE_UNKNOWN;
        }