From 95de1ae40fce3db2d223495722c6119fc0403814 Mon Sep 17 00:00:00 2001 From: Sanket Padawe Date: Mon, 11 May 2015 13:09:59 -0700 Subject: [PATCH] Start bluetooth scan on screen orientation change. Bug: 20666842 Change-Id: I95975f46c1ead1399c8f1a9197bd7357992cc3b0 --- src/com/android/settings/bluetooth/BluetoothSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/settings/bluetooth/BluetoothSettings.java b/src/com/android/settings/bluetooth/BluetoothSettings.java index 1d0dc7e482e..1b0a5076ef0 100755 --- a/src/com/android/settings/bluetooth/BluetoothSettings.java +++ b/src/com/android/settings/bluetooth/BluetoothSettings.java @@ -136,7 +136,7 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment implem @Override public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); - mInitialScanStarted = (savedInstanceState != null); // don't auto start scan after rotation + mInitialScanStarted = false; mInitiateDiscoverable = true; mEmptyView = (TextView) getView().findViewById(android.R.id.empty);