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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user