From 6a1a6a943afcc057d266d4c7a5a4b4affb545227 Mon Sep 17 00:00:00 2001 From: PauloftheWest Date: Thu, 4 Sep 2014 14:10:24 -0700 Subject: [PATCH] Bug fix: Toggling Bluetooth off then on will now initiate a scan. Bug: 17380015 Change-Id: Ie07d9a4f737df32aba7e400b028144f7a81cb37e --- src/com/android/settings/bluetooth/BluetoothSettings.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/settings/bluetooth/BluetoothSettings.java b/src/com/android/settings/bluetooth/BluetoothSettings.java index ec288f3dc0d..e29ccc99a53 100755 --- a/src/com/android/settings/bluetooth/BluetoothSettings.java +++ b/src/com/android/settings/bluetooth/BluetoothSettings.java @@ -340,6 +340,7 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment implem case BluetoothAdapter.STATE_TURNING_ON: messageId = R.string.bluetooth_turning_on; + mInitialScanStarted = false; break; }