Add LE Audio feature switcher in the developer option menu
Add a switcher to enable/disable LE audio feature. The switcher could be
enabled by setprop ro.bluetooth.leaudio_offload.supported=true
screenshot: https://screenshot.googleplex.com/6aGP664S9PX5EMS
Bug: 233018305
Bug: 233005340
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioPreferenceControllerTest
Test: switch LE audio feature, and check LE audio functionality status
Change-Id: I8adcf27edd1438df445d32fca93f35ff5020a3b3
Merged-In: I8adcf27edd1438df445d32fca93f35ff5020a3b3
(cherry picked from commit 0d11fd07e7)
This commit is contained in:
@@ -319,6 +319,11 @@
|
||||
android:title="@string/bluetooth_disable_absolute_volume"
|
||||
android:summary="@string/bluetooth_disable_absolute_volume_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="bluetooth_enable_leaudio"
|
||||
android:title="@string/bluetooth_enable_leaudio"
|
||||
android:summary="@string/bluetooth_enable_leaudio_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="bluetooth_disable_a2dp_hw_offload"
|
||||
android:title="@string/bluetooth_disable_a2dp_hw_offload" />
|
||||
|
||||
Reference in New Issue
Block a user