am 36db0471
: am 6e0bff0d
: Merge "Fix the message when Bluetooth is turning off while on the tethering menu."
* commit '36db0471bd7240a7d9d5274a1e1933259cd453e6': 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