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

Skip to content
Commit f475f3c1 authored by Hui Peng's avatar Hui Peng Committed by Android Build Coastguard Worker
Browse files

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
parent 2fb073d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment