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

Skip to content
Commit 3eed3987 authored by Himanshu Rawat's avatar Himanshu Rawat Committed by Android Build Coastguard Worker
Browse files

Retain identity address LE-only devices on BT restart

Native stack reports the identity address of the bonded devices to the RemoteDevices before reporting device properties on BT restart. In absence of existing device properties, RemoteDevices ignores the identity address callback. Thus the identity address is lost on BT restart.
This change ensures that device properties are added if they are missing in such cases.

Test: mmm packages/modules/Bluetooth
Test: Manual | Restart BT and check identity address of LE-only devices in the bonded devices list in the bluetooth_manager dumpsys
Flag: com.android.bluetooth.flags.identity_retention_on_restart
Bug: 381930737
Bug: 383879096
(cherry picked from https://android-review.googlesource.com/q/commit:de51a2295022a84d0b15a212814fb88f56c4bd35)
Merged-In: I04714a153eacdd0678389c649f9ae6a93b854d18
Change-Id: I04714a153eacdd0678389c649f9ae6a93b854d18
parent 8cd74c21
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