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

Commit 815af95f authored by Wink Saville's avatar Wink Saville
Browse files

Support WiFi only device at runtime.

Now that ConnectivityService determines if TYPE_MOBILE is supported at
runtime don't need the special code in RIL.java.

Bug: 8562845
Change-Id: I34de5c6accc718b199c13815537de1debfe3dc91
parent 30961e36
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -646,8 +646,6 @@ public final class RIL extends BaseCommands implements CommandsInterface {
                Context.CONNECTIVITY_SERVICE);
        if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false) {
            riljLog("Not starting RILReceiver: wifi-only");
        } if (SystemProperties.getBoolean("ro.radio.noril", false)) {
            riljLog("Not starting RILReceiver: basebandless target");
        } else {
            riljLog("Starting RILReceiver");
            mReceiver = new RILReceiver();