Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats
This commit is contained in:
@@ -13,12 +13,12 @@ namespace hal_impl {
|
||||
|
||||
void
|
||||
EnableSensorNotifications(SensorType aSensor) {
|
||||
AndroidBridge::Bridge()->EnableSensor(aSensor);
|
||||
GeckoAppShell::EnableSensor(aSensor);
|
||||
}
|
||||
|
||||
void
|
||||
DisableSensorNotifications(SensorType aSensor) {
|
||||
AndroidBridge::Bridge()->DisableSensor(aSensor);
|
||||
GeckoAppShell::DisableSensor(aSensor);
|
||||
}
|
||||
|
||||
} // hal_impl
|
||||
|
||||
Reference in New Issue
Block a user