[packages/apps/Settings] BT:fix cannot be searched when on and off in BT setting UI
This commit is contained in:
@ -343,7 +343,7 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment implem
|
||||
if (mInitiateDiscoverable) {
|
||||
// Make the device visible to other devices.
|
||||
mLocalAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE);
|
||||
mInitiateDiscoverable = false;
|
||||
//mInitiateDiscoverable = false;
|
||||
}
|
||||
return; // not break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user