Merge change 20986

* changes:
  b/2026622 Fixed the problem with the UI keeps showing that BT is scanning even though it has stopped. For some reason, the framework does not notify the settings app when the scan is done while the screen is off.
This commit is contained in:
Android (Google) Code Review
2009-08-12 14:32:30 -07:00

View File

@@ -116,6 +116,7 @@ public class BluetoothSettings extends PreferenceActivity
mNamePreference.resume(); mNamePreference.resume();
mLocalManager.registerCallback(this); mLocalManager.registerCallback(this);
mDeviceList.setProgress(mLocalManager.getBluetoothManager().isDiscovering());
mLocalManager.startScanning(false); mLocalManager.startScanning(false);
registerReceiver(mReceiver, registerReceiver(mReceiver,