summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorNaveen Kalla <nkalla@codeaurora.org>2010-04-21 14:48:03 -0700
committerWink Saville <wink@google.com>2010-05-11 10:12:07 -0700
commit0a5174a6e947d5cbeb8846a1273a90b6de065cbf (patch)
treee74142272fa079a3f8050a0a7486921f001a1705 /services
parent24440cf8a9431291bdcaa77b418e6c4715932507 (diff)
downloadframeworks_base-0a5174a6e947d5cbeb8846a1273a90b6de065cbf.zip
frameworks_base-0a5174a6e947d5cbeb8846a1273a90b6de065cbf.tar.gz
frameworks_base-0a5174a6e947d5cbeb8846a1273a90b6de065cbf.tar.bz2
Add support for EVDO Rev B
Change-Id: I8588e8b342c51f4b79bced8ef8fe60d57f07aefa
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/status/StatusBarPolicy.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/services/java/com/android/server/status/StatusBarPolicy.java b/services/java/com/android/server/status/StatusBarPolicy.java
index bee0930..9a3baff 100644
--- a/services/java/com/android/server/status/StatusBarPolicy.java
+++ b/services/java/com/android/server/status/StatusBarPolicy.java
@@ -843,7 +843,9 @@ public class StatusBarPolicy {
&& ((mServiceState.getRadioTechnology()
== ServiceState.RADIO_TECHNOLOGY_EVDO_0)
|| (mServiceState.getRadioTechnology()
- == ServiceState.RADIO_TECHNOLOGY_EVDO_A)));
+ == ServiceState.RADIO_TECHNOLOGY_EVDO_A)
+ || (mServiceState.getRadioTechnology()
+ == ServiceState.RADIO_TECHNOLOGY_EVDO_B)));
}
private boolean hasService() {
@@ -958,7 +960,6 @@ public class StatusBarPolicy {
}
private final void updateDataNetType(int net) {
-
switch (net) {
case TelephonyManager.NETWORK_TYPE_EDGE:
mDataIconList = sDataNetType_e;
@@ -984,6 +985,7 @@ public class StatusBarPolicy {
break;
case TelephonyManager.NETWORK_TYPE_EVDO_0: //fall through
case TelephonyManager.NETWORK_TYPE_EVDO_A:
+ case TelephonyManager.NETWORK_TYPE_EVDO_B:
mDataIconList = sDataNetType_3g;
break;
default: