Add string for 'Ethernet'.

Bug: 6676469
Change-Id: Icbeb3e96b8580850a8392f443dc277488631bcab
This commit is contained in:
Daniel Sandler
2012-09-12 17:33:27 -07:00
committed by Android (Google) Code Review
parent 0887711d0f
commit ced8d21f5a
2 changed files with 4 additions and 2 deletions

View File

@@ -401,6 +401,9 @@
<!-- Name of the launcher shortcut icon that allows dreams to be started immediately [CHAR LIMIT=20] -->
<string name="start_dreams">Start dreams</string>
<!-- Textual description of Ethernet connections -->
<string name="ethernet_label">Ethernet</string>
<!-- QuickSettings: Airplane mode [CHAR LIMIT=NONE] -->
<string name="quick_settings_airplane_mode_label">Airplane mode</string>
<!-- QuickSettings: Battery Charging [CHAR LIMIT=NONE] -->

View File

@@ -1097,8 +1097,7 @@ public class NetworkController extends BroadcastReceiver {
final boolean ethernetConnected = (mConnectedNetworkType == ConnectivityManager.TYPE_ETHERNET);
if (ethernetConnected) {
// TODO: icons and strings for Ethernet connectivity
combinedLabel = mConnectedNetworkTypeName;
combinedLabel = context.getString(R.string.ethernet_label);
}
if (mAirplaneMode &&