Merge "Fix the message when Bluetooth is turning off while on the tethering menu."
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user