michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "Hal.h" michael@0: #include "AndroidBridge.h" michael@0: michael@0: using namespace mozilla::hal; michael@0: michael@0: namespace mozilla { michael@0: namespace hal_impl { michael@0: michael@0: void michael@0: EnableSensorNotifications(SensorType aSensor) { michael@0: mozilla::widget::android::GeckoAppShell::EnableSensor(aSensor); michael@0: } michael@0: michael@0: void michael@0: DisableSensorNotifications(SensorType aSensor) { michael@0: mozilla::widget::android::GeckoAppShell::DisableSensor(aSensor); michael@0: } michael@0: michael@0: } // hal_impl michael@0: } // mozilla