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

Commit 1b2607bd authored by Sreeram Ramachandran's avatar Sreeram Ramachandran Committed by Android (Google) Code Review
Browse files

Merge "Change type name of mobile from "Cellular" to "MOBILE"." into lmp-dev

parents e6d46f65 aaf87159
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);