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

Commit aaf87159 authored by Sreeram Ramachandran's avatar Sreeram Ramachandran
Browse files

Change type name of mobile from "Cellular" to "MOBILE".

Bug: 17609932
Change-Id: I22331426e04a5b45e73f9e768b7d88c1d4282c78
parent 9de6c7b1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -93,6 +93,8 @@ public final class DataConnection extends StateMachine {
    private static final String SECONDARY_DATA_RETRY_CONFIG =
            "max_retries=3, 5000, 5000, 5000";

    private static final String NETWORK_TYPE = "MOBILE";

    // The data connection controller
    private DcController mDcController;

@@ -419,7 +421,7 @@ public final class DataConnection extends StateMachine {
        mDataRegState = mPhone.getServiceState().getDataRegState();
        int networkType = ss.getDataNetworkType();
        mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_MOBILE,
                networkType, "Cellular", TelephonyManager.getNetworkTypeName(networkType));
                networkType, NETWORK_TYPE, TelephonyManager.getNetworkTypeName(networkType));
        mNetworkInfo.setRoaming(ss.getRoaming());
        mNetworkInfo.setIsAvailable(true);