Add list preference for BT audio device type selection
Since BT devices do not populate the device type reliably we offer the user the possibility to categorize the audio type of the selected device. This is can be used by the AudioManager for enabling/disabling the computation of sound dose. Test: atest BluetoothDetailsAudioDeviceTypeControllerTest Bug: 287011781 Change-Id: I797a92e1af4025596ef1c603ed4ab59813e3cbf0
This commit is contained in:
@@ -300,6 +300,8 @@ public class BluetoothDeviceDetailsFragment extends RestrictedDashboardFragment
|
||||
lifecycle));
|
||||
controllers.add(new BluetoothDetailsCompanionAppsController(context, this,
|
||||
mCachedDevice, lifecycle));
|
||||
controllers.add(new BluetoothDetailsAudioDeviceTypeController(context, this, mManager,
|
||||
mCachedDevice, lifecycle));
|
||||
controllers.add(new BluetoothDetailsSpatialAudioController(context, this, mCachedDevice,
|
||||
lifecycle));
|
||||
controllers.add(new BluetoothDetailsProfilesController(context, this, mManager,
|
||||
|
Reference in New Issue
Block a user