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

Commit 5857a0d8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Print anonymized address when new profile update" am: 286d24fd am:...

Merge "Print anonymized address when new profile update" am: 286d24fd am: fc7e697e am: 74b622f7 am: dd21ee98

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1903973

Change-Id: I142bd201e9195c8f454586012927e28baca7e862
parents 52c3e1b2 dd21ee98
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
    void onProfileStateChanged(LocalBluetoothProfile profile, int newProfileState) {
        if (BluetoothUtils.D) {
            Log.d(TAG, "onProfileStateChanged: profile " + profile + ", device "
                    + mDevice.getAlias() + ", newProfileState " + newProfileState);
                    + mDevice.getAnonymizedAddress() + ", newProfileState " + newProfileState);
        }
        if (mLocalAdapter.getState() == BluetoothAdapter.STATE_TURNING_OFF)
        {
@@ -745,7 +745,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
        }

        if (BluetoothUtils.D) {
            Log.d(TAG, "updating profiles for " + mDevice.getAlias());
            Log.d(TAG, "updating profiles for " + mDevice.getAnonymizedAddress());
            BluetoothClass bluetoothClass = mDevice.getBluetoothClass();

            if (bluetoothClass != null) Log.v(TAG, "Class: " + bluetoothClass.toString());