Add audio sharing entrypoint in device details

BUG: 383935069
Test: local tested
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ib90422d262eba84c3a308d8e4c5652d8c5f96808
This commit is contained in:
Haijie Hong
2025-01-08 12:57:56 +08:00
parent 45926f698b
commit cdcf50e3d2
5 changed files with 309 additions and 1 deletions

View File

@@ -440,6 +440,9 @@ public class BluetoothDeviceDetailsFragment extends RestrictedDashboardFragment
context, this, mCachedDevice, lifecycle));
controllers.add(new BluetoothDetailsButtonsController(context, this, mCachedDevice,
lifecycle));
controllers.add(
new BluetoothDetailsAudioSharingController(
context, this, mManager, mCachedDevice, lifecycle));
controllers.add(new BluetoothDetailsCompanionAppsController(context, this,
mCachedDevice, lifecycle));
controllers.add(new BluetoothDetailsAudioDeviceTypeController(context, this, mManager,