OSDN Git Service

Hearing Aid Profile: set and get activeDevice
authorHansong Zhang <hsz@google.com>
Fri, 16 Mar 2018 16:15:48 +0000 (09:15 -0700)
committerHansong Zhang <hsz@google.com>
Fri, 23 Mar 2018 19:27:33 +0000 (12:27 -0700)
commit7ca303c3b85d72801d7633421bc31a72298fbad4
treecd370803f2c5830b6ee7c009f0bcd90a572c9c4b
parentd2cf3c39fe25d06eac69740466a64c7623d68751
Hearing Aid Profile: set and get activeDevice

Add setActiveDevice() for Hearing Aid Profile in SettingsLib

Bug: 69623109
Test: robolectric test and manual test
Change-Id: I70eafe030747053876e2ab8a125d5dd01c5e0eb9
Merged-In: I70eafe030747053876e2ab8a125d5dd01c5e0eb9
(cherry picked from commit d7b359165968199e034bd46ca97526dbf719602d)
core/java/android/bluetooth/BluetoothHearingAid.java
core/res/AndroidManifest.xml
packages/SettingsLib/src/com/android/settingslib/bluetooth/BluetoothEventManager.java
packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java
packages/SettingsLib/src/com/android/settingslib/bluetooth/HearingAidProfile.java
packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/CachedBluetoothDeviceManagerTest.java
packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/CachedBluetoothDeviceTest.java