Merge "Fix status bar bt accessibility message" into mnc-dev
This commit is contained in:
@@ -275,7 +275,7 @@ public class PhoneStatusBarPolicy {
|
|||||||
BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
|
BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
|
||||||
int iconId = R.drawable.stat_sys_data_bluetooth;
|
int iconId = R.drawable.stat_sys_data_bluetooth;
|
||||||
String contentDescription =
|
String contentDescription =
|
||||||
mContext.getString(R.string.accessibility_bluetooth_disconnected);
|
mContext.getString(R.string.accessibility_quick_settings_bluetooth_on);
|
||||||
if (adapter != null) {
|
if (adapter != null) {
|
||||||
mBluetoothEnabled = (adapter.getState() == BluetoothAdapter.STATE_ON);
|
mBluetoothEnabled = (adapter.getState() == BluetoothAdapter.STATE_ON);
|
||||||
if (adapter.getConnectionState() == BluetoothAdapter.STATE_CONNECTED) {
|
if (adapter.getConnectionState() == BluetoothAdapter.STATE_CONNECTED) {
|
||||||
|
|||||||
Reference in New Issue
Block a user