Add string for 'Ethernet'.
Bug: 6676469 Change-Id: Icbeb3e96b8580850a8392f443dc277488631bcab
This commit is contained in:
committed by
Android (Google) Code Review
parent
0887711d0f
commit
ced8d21f5a
@@ -401,6 +401,9 @@
|
|||||||
<!-- Name of the launcher shortcut icon that allows dreams to be started immediately [CHAR LIMIT=20] -->
|
<!-- Name of the launcher shortcut icon that allows dreams to be started immediately [CHAR LIMIT=20] -->
|
||||||
<string name="start_dreams">Start dreams</string>
|
<string name="start_dreams">Start dreams</string>
|
||||||
|
|
||||||
|
<!-- Textual description of Ethernet connections -->
|
||||||
|
<string name="ethernet_label">Ethernet</string>
|
||||||
|
|
||||||
<!-- QuickSettings: Airplane mode [CHAR LIMIT=NONE] -->
|
<!-- QuickSettings: Airplane mode [CHAR LIMIT=NONE] -->
|
||||||
<string name="quick_settings_airplane_mode_label">Airplane mode</string>
|
<string name="quick_settings_airplane_mode_label">Airplane mode</string>
|
||||||
<!-- QuickSettings: Battery Charging [CHAR LIMIT=NONE] -->
|
<!-- QuickSettings: Battery Charging [CHAR LIMIT=NONE] -->
|
||||||
|
|||||||
@@ -1097,8 +1097,7 @@ public class NetworkController extends BroadcastReceiver {
|
|||||||
|
|
||||||
final boolean ethernetConnected = (mConnectedNetworkType == ConnectivityManager.TYPE_ETHERNET);
|
final boolean ethernetConnected = (mConnectedNetworkType == ConnectivityManager.TYPE_ETHERNET);
|
||||||
if (ethernetConnected) {
|
if (ethernetConnected) {
|
||||||
// TODO: icons and strings for Ethernet connectivity
|
combinedLabel = context.getString(R.string.ethernet_label);
|
||||||
combinedLabel = mConnectedNetworkTypeName;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mAirplaneMode &&
|
if (mAirplaneMode &&
|
||||||
|
|||||||
Reference in New Issue
Block a user