mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-21 07:51:46 +02:00
Add discovery log message
This commit is contained in:
@@ -236,6 +236,7 @@ public class BluetoothPreferences extends PreferenceFragment {
|
|||||||
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
|
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
|
||||||
public void onReceive(final Context context, Intent intent) {
|
public void onReceive(final Context context, Intent intent) {
|
||||||
String action = intent.getAction();
|
String action = intent.getAction();
|
||||||
|
Timber.d("Discovery: %s", action);
|
||||||
|
|
||||||
if (BluetoothAdapter.ACTION_DISCOVERY_STARTED.equals(action)) {
|
if (BluetoothAdapter.ACTION_DISCOVERY_STARTED.equals(action)) {
|
||||||
btScanner.getPreference(0).setTitle(R.string.label_bluetooth_searching);
|
btScanner.getPreference(0).setTitle(R.string.label_bluetooth_searching);
|
||||||
|
Reference in New Issue
Block a user