| 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..def5d8a3d7e807213c04be86a2f7fc638eda7b17 100644
|
| --- a/content/browser/device_orientation/data_fetcher_impl_android.cc
|
| +++ b/content/browser/device_orientation/data_fetcher_impl_android.cc
|
| @@ -111,4 +111,10 @@ void DataFetcherImplAndroid::Stop(DeviceData::Type event_type) {
|
| static_cast<jint>(event_type));
|
| }
|
|
|
| +int DataFetcherImplAndroid::GetNumberActiveDeviceMotionSensors() {
|
| + DCHECK(!device_orientation_.is_null());
|
| + return Java_DeviceMotionAndOrientation_getNumberActiveDeviceMotionSensors(
|
| + AttachCurrentThread(), device_orientation_.obj());
|
| +}
|
| +
|
| } // namespace content
|
|
|