[packages/apps/Settings] BT:fix cannot be searched when on and off in BT setting UI

This commit is contained in:
Firefly
2015-07-27 02:15:29 -04:00
committed by djw
parent eed2fc7a98
commit bda93c0de1

View File

@ -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