Print anonymized address when new device found
Bug: 206676415 Test: manual Change-Id: I2af0ed4645fbae621431ac709df3b1e6d540f271
This commit is contained in:
@@ -307,7 +307,8 @@ public class BluetoothEventManager {
|
||||
CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
|
||||
if (cachedDevice == null) {
|
||||
cachedDevice = mDeviceManager.addDevice(device);
|
||||
Log.d(TAG, "DeviceFoundHandler created new CachedBluetoothDevice");
|
||||
Log.d(TAG, "DeviceFoundHandler created new CachedBluetoothDevice "
|
||||
+ cachedDevice.getDevice().getAnonymizedAddress());
|
||||
} else if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED
|
||||
&& !cachedDevice.getDevice().isConnected()) {
|
||||
// Dispatch device add callback to show bonded but
|
||||
|
||||
Reference in New Issue
Block a user