summaryrefslogtreecommitdiff
path: root/hal/fallback
diff options
context:
space:
mode:
authorGabriele Svelto <gsvelto@mozilla.com>2018-06-11 00:22:56 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-29 08:23:41 +0200
commit63522e8e280a1b76a96be6095e8f9d92882a45e7 (patch)
tree89a64bca6417641f5a56c16e83b9d5eb2f77eb6f /hal/fallback
parent9836c7e10440364f3516c9a29e351cba92237b61 (diff)
downloaduxp-63522e8e280a1b76a96be6095e8f9d92882a45e7.tar.gz
Remove unused code for managing physical audio devices.
This was only used in B2G/Gonk and can go.
Diffstat (limited to 'hal/fallback')
-rw-r--r--hal/fallback/FallbackSwitch.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/hal/fallback/FallbackSwitch.cpp b/hal/fallback/FallbackSwitch.cpp
index e9b7eab0ae..38d6a50e92 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;