From 63522e8e280a1b76a96be6095e8f9d92882a45e7 Mon Sep 17 00:00:00 2001 From: Gabriele Svelto Date: Mon, 11 Jun 2018 00:22:56 +0200 Subject: Remove unused code for managing physical audio devices. This was only used in B2G/Gonk and can go. --- hal/fallback/FallbackSwitch.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'hal/fallback') diff --git a/hal/fallback/FallbackSwitch.cpp b/hal/fallback/FallbackSwitch.cpp index e9b7eab0a..38d6a50e9 100644 --- a/hal/fallback/FallbackSwitch.cpp +++ b/hal/fallback/FallbackSwitch.cpp @@ -10,26 +10,6 @@ using namespace mozilla::hal; namespace mozilla { namespace hal_impl { -void -EnableSwitchNotifications(SwitchDevice aDevice) -{ -} - -void -DisableSwitchNotifications(SwitchDevice aDevice) -{ -} - -SwitchState -GetCurrentSwitchState(SwitchDevice aDevice) { - return SWITCH_STATE_UNKNOWN; -} - -void -NotifySwitchStateFromInputDevice(SwitchDevice aDevice, SwitchState aState) -{ -} - bool IsHeadphoneEventFromInputDev() { return false; -- cgit v1.2.3