| Index: services/device/screen_orientation/screen_orientation_listener_android.cc
|
| diff --git a/services/device/screen_orientation/screen_orientation_listener_android.cc b/services/device/screen_orientation/screen_orientation_listener_android.cc
|
| index 0c863d8b699f0e0646ba57f02e85e916fc5774f3..94967daa2bdf19f415dcb690fb14d4744455d119 100644
|
| --- a/services/device/screen_orientation/screen_orientation_listener_android.cc
|
| +++ b/services/device/screen_orientation/screen_orientation_listener_android.cc
|
| @@ -55,4 +55,10 @@ void ScreenOrientationListenerAndroid::Stop() {
|
| }
|
| }
|
|
|
| +void ScreenOrientationListenerAndroid::IsAutoRotateEnabledByUser(
|
| + const IsAutoRotateEnabledByUserCallback& callback) {
|
| + callback.Run(Java_ScreenOrientationListener_isAutoRotateEnabledByUser(
|
| + base::android::AttachCurrentThread()));
|
| +}
|
| +
|
| } // namespace device
|
|
|