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

Commit 2602e5ff authored by Jordan Liu's avatar Jordan Liu Committed by android-build-merger
Browse files

Merge "Show 3G data icon for TD-SCDMA network type"

am: 9da895b5

Change-Id: Idb27d11834099a13bc86619b8c3ea089fb863970
parents 9bf83b4c 9da895b5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -182,6 +182,7 @@ public class MobileSignalController extends SignalController<
        mNetworkToIconLookup.put(TelephonyManager.NETWORK_TYPE_EVDO_B, TelephonyIcons.THREE_G);
        mNetworkToIconLookup.put(TelephonyManager.NETWORK_TYPE_EHRPD, TelephonyIcons.THREE_G);
        mNetworkToIconLookup.put(TelephonyManager.NETWORK_TYPE_UMTS, TelephonyIcons.THREE_G);
        mNetworkToIconLookup.put(TelephonyManager.NETWORK_TYPE_TD_SCDMA, TelephonyIcons.THREE_G);

        if (!mConfig.showAtLeast3G) {
            mNetworkToIconLookup.put(TelephonyManager.NETWORK_TYPE_UNKNOWN,
+4 −0
Original line number Diff line number Diff line
@@ -1667,6 +1667,10 @@ public class TelephonyManager {
        }
    }

    /*
     * When adding a network type to the list below, make sure to add the correct icon to
     * MobileSignalController.mapIconSets().
     */
    /** Network type is unknown */
    public static final int NETWORK_TYPE_UNKNOWN = 0;
    /** Current network is GPRS */