Remove `audioSharingQsDialogImprovement` flag guard when injecting AudioSharingRepository.
`AudioSharingRepositoryImpl` contains general audio sharing functions (e.g, `audioSharingAvailable`), it should be injected whenever `enableLeAudioSharing` flag is on.
The dialog improvement behavior is guarded in the `AudioSharingDeviceItemActionInteractorImpl`.
Test: atest
Bug: 360759048
Flag: com.android.settingslib.flags.audio_sharing_qs_dialog_improvement
Change-Id: I12f0644e280473194822ff5cf30ed3ed99308494
diff --git a/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/dagger/AudioSharingModule.kt b/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/dagger/AudioSharingModule.kt
index 50970a5..8b5fde3 100644
--- a/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/dagger/AudioSharingModule.kt
+++ b/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/dagger/AudioSharingModule.kt
@@ -55,11 +55,7 @@
settingsLibAudioSharingRepository: SettingsLibAudioSharingRepository,
@Background backgroundDispatcher: CoroutineDispatcher,
): AudioSharingRepository =
- if (
- Flags.enableLeAudioSharing() &&
- Flags.audioSharingQsDialogImprovement() &&
- localBluetoothManager != null
- ) {
+ if (Flags.enableLeAudioSharing() && localBluetoothManager != null) {
AudioSharingRepositoryImpl(
localBluetoothManager,
settingsLibAudioSharingRepository,