Hearing Aid: Keep configuration after disconnect()
After disconnect(), the Hearing Aid service removes the device from the white list, but retains the configuration. The Java Hearing Aid service still knows the hiSyncId and capabilities, so it can connect() to multiple devices at the same time Bug: 69623109 Test: manual and unit test for Java service Change-Id: Ic17b9be7e6a0577baecd520680abffbaf0a0dc47
Showing
- system/bta/hearing_aid/hearing_aid.cc 19 additions, 14 deletionssystem/bta/hearing_aid/hearing_aid.cc
- system/bta/include/bta_hearing_aid_api.h 2 additions, 1 deletionsystem/bta/include/bta_hearing_aid_api.h
- system/btif/include/btif_storage.h 3 additions, 0 deletionssystem/btif/include/btif_storage.h
- system/btif/src/btif_hearing_aid.cc 2 additions, 2 deletionssystem/btif/src/btif_hearing_aid.cc
- system/btif/src/btif_storage.cc 18 additions, 3 deletionssystem/btif/src/btif_storage.cc
Loading
Please register or sign in to comment