Index: content/browser/device_orientation/data_fetcher_impl_android.cc |
diff --git a/content/browser/device_orientation/data_fetcher_impl_android.cc b/content/browser/device_orientation/data_fetcher_impl_android.cc |
index c7a066f221fd6f99c497d4841fcf4758813af58e..37770b27d6d4b71018eed3676a7352198d5736de 100644 |
--- a/content/browser/device_orientation/data_fetcher_impl_android.cc |
+++ b/content/browser/device_orientation/data_fetcher_impl_android.cc |
@@ -111,4 +111,9 @@ void DataFetcherImplAndroid::Stop(DeviceData::Type event_type) { |
static_cast<jint>(event_type)); |
} |
+int DataFetcherImplAndroid::GetNumberActiveDeviceMotionSensors() { |
+ return Java_DeviceMotionAndOrientation_getNumberActiveDeviceMotionSensors( |
bulach
2013/06/13 09:49:35
nit: for consistency, DCHECK(!device_orientation_
timvolodine
2013/06/13 14:00:40
Done.
|
+ AttachCurrentThread(), device_orientation_.obj()); |
+} |
+ |
} // namespace content |