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..776a0652f7dd11122bd9a15df42f162c1602009d 100644 |
--- a/services/device/screen_orientation/screen_orientation_listener_android.cc |
+++ b/services/device/screen_orientation/screen_orientation_listener_android.cc |
@@ -55,4 +55,11 @@ void ScreenOrientationListenerAndroid::Stop() { |
} |
} |
+void ScreenOrientationListenerAndroid::IsAutoRotateEnabledByUser( |
+ IsAutoRotateEnabledByUserCallback callback) { |
+ std::move(callback).Run( |
+ Java_ScreenOrientationListener_isAutoRotateEnabledByUser( |
+ base::android::AttachCurrentThread())); |
+} |
+ |
} // namespace device |