floss: Allow HID reconnect during suspend
Raw addresses for paired devices aren't only stored as public addresses. Since we filter for LE HID attributes, provide both the RawAddress and LE address type when we provide the list of devices that can wake the system. In order for LeAddressManager to re-arm connection, we need to add these devices via |AcceptLeConnectionFrom| instead of |AddDeviceToFilterAcceptList|. Bug: 231345733 Tag: #floss Test: Manual test on ChromeOS. Change-Id: I8ae8bc0f71ed07260f5f1880ab6bb8f27ffff972
Showing
- system/bta/dm/bta_dm_act.cc 3 additions, 2 deletionssystem/bta/dm/bta_dm_act.cc
- system/bta/dm/bta_dm_api.cc 2 additions, 1 deletionsystem/bta/dm/bta_dm_api.cc
- system/bta/dm/bta_dm_int.h 2 additions, 1 deletionsystem/bta/dm/bta_dm_int.h
- system/bta/include/bta_api.h 2 additions, 1 deletionsystem/bta/include/bta_api.h
- system/btif/include/btif_storage.h 2 additions, 1 deletionsystem/btif/include/btif_storage.h
- system/btif/src/btif_storage.cc 12 additions, 3 deletionssystem/btif/src/btif_storage.cc
- system/main/shim/btm_api.cc 9 additions, 3 deletionssystem/main/shim/btm_api.cc
- system/main/shim/btm_api.h 2 additions, 1 deletionsystem/main/shim/btm_api.h
- system/test/mock/mock_main_shim_btm_api.cc 1 addition, 1 deletionsystem/test/mock/mock_main_shim_btm_api.cc
Loading
Please register or sign in to comment