1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-29 11:10:35 +02:00

Stop discovery and LE scan before getting debug info

This commit is contained in:
Erik Johansson
2018-06-17 21:40:08 +02:00
parent 0350173a2b
commit b3f92aa465

View File

@@ -232,6 +232,7 @@ public class BluetoothPreferences extends PreferenceFragment {
prefBtDevice.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
@Override
public boolean onPreferenceClick(Preference preference) {
stopDiscoveryAndLeScan();
getDebugInfo(device);
return false;
}