Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 736bce56 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Log when DEBUG is on" into sc-qpr1-dev

parents 1f6f8078 13f41075
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -103,8 +103,10 @@ public class AdvancedBluetoothDetailsHeaderController extends BasePreferenceCont
            new BluetoothAdapter.OnMetadataChangedListener() {
                @Override
                public void onMetadataChanged(BluetoothDevice device, int key, byte[] value) {
                    Log.i(TAG, String.format("Metadata updated in Device %s: %d = %s.", device, key,
                            value == null ? null : new String(value)));
                    if (DEBUG) {
                        Log.d(TAG, String.format("Metadata updated in Device %s: %d = %s.", device,
                                key, value == null ? null : new String(value)));
                    }
                    refresh();
                }
            };