1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-20 23:41:45 +02:00

Add discovery log message

This commit is contained in:
Erik Johansson
2018-05-03 23:32:43 +02:00
parent 806b5127ef
commit 662b8707f6

View File

@@ -236,6 +236,7 @@ public class BluetoothPreferences extends PreferenceFragment {
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
public void onReceive(final Context context, Intent intent) {
String action = intent.getAction();
Timber.d("Discovery: %s", action);
if (BluetoothAdapter.ACTION_DISCOVERY_STARTED.equals(action)) {
btScanner.getPreference(0).setTitle(R.string.label_bluetooth_searching);