diff options
author | Michael Bestas <mikeioannina@gmail.com> | 2015-12-07 15:31:59 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-12-12 10:05:58 -0800 |
commit | 02b98156165c56c1e8d563cf3e33d097ffe8762b (patch) | |
tree | 1d0527ae296dd7f503c3c9826411226c084b5d3b /telephony/java | |
parent | ce0e7c836343facd20724a26b36255d1d6eb1d55 (diff) | |
download | frameworks_base-02b98156165c56c1e8d563cf3e33d097ffe8762b.zip frameworks_base-02b98156165c56c1e8d563cf3e33d097ffe8762b.tar.gz frameworks_base-02b98156165c56c1e8d563cf3e33d097ffe8762b.tar.bz2 |
SystemUI: Revert CAF UI modifications
Revert "SystemUI: Support display for radio tech"
This reverts commit 598421095aacb599d4bc8e8fcea20734d7847d0c.
Revert "SystemUI: Customize StatusBar for Chinese carrier"
This reverts commit d473d0b22ac8704c39d5eedd0d7b12f60a2fa215.
Revert "Statusbar: Add customized icons for Chinese carrier"
This reverts commit a6324c7293bebeff4c6ccee8c2a8af38b7a150a8.
Change-Id: Ib03c7455a04bd7d63a8c0a7d238040099e94e89c
Diffstat (limited to 'telephony/java')
-rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 08d7ffe..6e371a45 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -1657,37 +1657,6 @@ public class TelephonyManager { } } - /** - * convert network class to string base on network type - * @param type for which network type is returned - * @return the network class type string - * @hide - */ - public String networkClassToString(int type) { - String ratClassName = ""; - int networkClass = getNetworkClass(type); - Rlog.d(TAG, "networkType = " + type + " networkClass = " + networkClass); - if (mContext == null) return null; - switch (networkClass) { - case TelephonyManager.NETWORK_CLASS_2_G: - ratClassName = mContext.getResources().getString( - com.android.internal.R.string.config_rat_2g); - break; - case TelephonyManager.NETWORK_CLASS_3_G: - ratClassName = mContext.getResources().getString( - com.android.internal.R.string.config_rat_3g); - break; - case TelephonyManager.NETWORK_CLASS_4_G: - ratClassName = mContext.getResources().getString( - com.android.internal.R.string.config_rat_4g); - break; - default: - ratClassName = ""; - break; - } - return ratClassName; - } - // // // SIM Card |