OSDN Git Service

Add developer menu to select max number of connected audio devices
authorHansong Zhang <hsz@google.com>
Fri, 5 Jan 2018 00:38:15 +0000 (16:38 -0800)
committerHansong Zhang <hsz@google.com>
Fri, 5 Jan 2018 20:28:20 +0000 (12:28 -0800)
commitb2730b7b1042d3a2250d84417d81fa031d249601
tree74e9df59937f54097e04f6be34bdca8456e554b6
parent27e7280b21bd04920f02171dcf6bc0df6cb43b37
Add developer menu to select max number of connected audio devices

The new developer option modifies the system property
"persist.bluetooth.maxconnectedaudiodevices"; it allows testing
multiple connected devices for A2DP, AVRCP, HFP.

Bug: 71603731
Test: Robolectric test
Change-Id: Ie7887065f98193f4f34e0ff4a29959694e417124
res/values/arrays.xml
res/values/strings.xml
res/xml/development_settings.xml
src/com/android/settings/development/BluetoothMaxConnectedAudioDevicesPreferenceController.java [new file with mode: 0644]
src/com/android/settings/development/DevelopmentSettingsDashboardFragment.java
tests/robotests/src/com/android/settings/development/BluetoothMaxConnectedAudioDevicesPreferenceControllerTest.java [new file with mode: 0644]