commit | bbab0b18f70eab0618e1e3dcc1a674574e060b24 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Tue Apr 16 12:46:59 2024 +0000 |
committer | Eric Laurent <elaurent@google.com> | Tue Apr 16 16:45:12 2024 +0000 |
tree | 84dc52310e05c5b3920ce2d32554ae58ad31393e | |
parent | 611af79621493769aa21ae5615909c006a6e5cd9 [diff] |
AudioDeviceInventory: protect from null BT identity address It is possible that the address returned by BluetoothDevice.getIdentityAddress() is null in which case AudioDeviceInventory.onUpdateLeAudioGroupAddresses() must prevent from setting @NonNull DeviceInfo fields mDeviceIdentityAddress and mPeerIdentityDeviceAddress to null. Bug: 334973381 Test: repro steps in bug. Change-Id: Ib3b4693df4abf22774803c9aac60f532cd9f6a72