From bda93c0de1189f7c0f5db702c8803adc423f1bcb Mon Sep 17 00:00:00 2001 From: Firefly Date: Mon, 27 Jul 2015 02:15:29 -0400 Subject: [PATCH] [packages/apps/Settings] BT:fix cannot be searched when on and off in BT setting UI --- .../src/com/android/settings/bluetooth/BluetoothSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothSettings.java b/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothSettings.java index b6e593ea11..7e62b06b42 100755 --- a/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothSettings.java +++ b/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothSettings.java @@ -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