Fix connect GATT with IRK and public address
When public address and IRK are used in scan filter for device advertising private resolvable address, public address is added to connect list. This CL ties callbacks to app layer to the address added to the connect list, which is the same as passed in call to BluetoothDevice#connectGatt, fixing an issue where the GATT connection will succeed but callback never reaches the app layer due to it being associated with the wrong address. Also add an SL4A+SL4A test to validate the fix. Test: gd/cert/run --device --sl4a_sl4a ConnectTest Bug: 222349537 Change-Id: Ib4d57b0a7a829a1603d62d5754120efbbbe11d56
Loading
Please register or sign in to comment