Copy the keys when re-pairing with a new RPA/IRK
With the refactor in aosp/2817298, the ble keys are dropped in the consolidation process, which causes reconnection issues as reported in b/315203403 This change makes sure the the BLE keys are correctly copied. Bug: 315203403 Bug: 315487763 Test: m com.android.btservices Test: manual | pair with BLE device with RPA1 (generated with IRK1) and repair it with RPA2 generated (by IRK2), re-pairing and reconenction work Flag: EXEMPT, one-line bug-fix for a regression | critical fix that needs to be included in Q1-2024 (cherry picked from https://android-review.googlesource.com/q/commit:e9765fc813fae79bc113657ffed82880b7da3652) Merged-In: Ia9c99681b3f9404dccd0f249ad0d6ab8848dc2f5 Change-Id: Ia9c99681b3f9404dccd0f249ad0d6ab8848dc2f5
Loading
Please register or sign in to comment