Revert "audio policy: handle errors for usb broadcast device connection"
This reverts commit 572e61da59aa434ab0adc26063a6000a355e1980.
Reason for revert: Droidmonitor created revert due to b/362824918. Will be verifying through ABTD before submission.
Bug: 360284877
Bug: 362824918
Change-Id: I54331687af40351d2305b87885c6c4372d2ec792
diff --git a/services/audiopolicy/managerdefault/AudioPolicyManager.h b/services/audiopolicy/managerdefault/AudioPolicyManager.h
index 257d328..c8cced6 100644
--- a/services/audiopolicy/managerdefault/AudioPolicyManager.h
+++ b/services/audiopolicy/managerdefault/AudioPolicyManager.h
@@ -1077,8 +1077,8 @@
// It can give a chance to HAL implementer to retrieve dynamic capabilities associated
// to this device for example.
// TODO avoid opening stream to retrieve capabilities of a profile.
- status_t broadcastDeviceConnectionState(const sp<DeviceDescriptor> &device,
- media::DeviceConnectedState state);
+ void broadcastDeviceConnectionState(const sp<DeviceDescriptor> &device,
+ media::DeviceConnectedState state);
// updates device caching and output for streams that can influence the
// routing of notifications