Skip to content

Commit

Permalink
Add CDMA and LTE as supported network types
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandreroman committed Feb 17, 2013
1 parent a6777a3 commit 0725567
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
<string name="network_type_hsupa">3G+ (HSUPA)</string>
<string name="network_type_hspa">3G+ (HSPA)</string>
<string name="network_type_hspap">3G+ (HSPAP)</string>
<string name="network_type_cdma">CDMA</string>
<string name="network_type_lte">4G (LTE)</string>
<string name="service_monitor">Service de suivi de la connexion</string>
<string name="stat_mobile_network">Réseau actuel</string>
<string name="stat_mobile_code">MCC+MNC</string>
Expand Down
2 changes: 2 additions & 0 deletions src/org/pixmob/freemobile/netstat/MonitorService.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ public class MonitorService extends Service implements OnSharedPreferenceChangeL
NETWORK_TYPE_STRINGS.put(TelephonyManager.NETWORK_TYPE_HSPAP, R.string.network_type_hspap);
NETWORK_TYPE_STRINGS.put(TelephonyManager.NETWORK_TYPE_HSUPA, R.string.network_type_hsupa);
NETWORK_TYPE_STRINGS.put(TelephonyManager.NETWORK_TYPE_UMTS, R.string.network_type_umts);
NETWORK_TYPE_STRINGS.put(TelephonyManager.NETWORK_TYPE_LTE, R.string.network_type_lte);
NETWORK_TYPE_STRINGS.put(TelephonyManager.NETWORK_TYPE_CDMA, R.string.network_type_cdma);
NETWORK_TYPE_STRINGS.put(TelephonyManager.NETWORK_TYPE_UNKNOWN, R.string.network_type_unknown);

THEMES.put(THEME_DEFAULT, new Theme(R.drawable.ic_stat_notify_service_free,
Expand Down

0 comments on commit 0725567

Please sign in to comment.