Merge "Fix the message when Bluetooth is turning off while on the tethering menu."

This commit is contained in:
Amith Yamasani
2013-03-08 18:24:22 +00:00
committed by Gerrit Code Review

View File

@@ -388,7 +388,7 @@ public class TetherSettings extends SettingsPreferenceFragment
int btState = adapter.getState(); int btState = adapter.getState();
if (btState == BluetoothAdapter.STATE_TURNING_OFF) { if (btState == BluetoothAdapter.STATE_TURNING_OFF) {
mBluetoothTether.setEnabled(false); mBluetoothTether.setEnabled(false);
mBluetoothTether.setSummary(R.string.wifi_stopping); mBluetoothTether.setSummary(R.string.bluetooth_turning_off);
} else if (btState == BluetoothAdapter.STATE_TURNING_ON) { } else if (btState == BluetoothAdapter.STATE_TURNING_ON) {
mBluetoothTether.setEnabled(false); mBluetoothTether.setEnabled(false);
mBluetoothTether.setSummary(R.string.bluetooth_turning_on); mBluetoothTether.setSummary(R.string.bluetooth_turning_on);