From e3f6c7b00810e21ea15855b2798946631272fd0a Mon Sep 17 00:00:00 2001 From: "jh5.cho" Date: Fri, 4 Mar 2016 18:58:12 +0900 Subject: [PATCH] Add missing funtion that sets the rotation Add SetAutoRotation() function that sets the screen rotation status when the screen orientation is set to 'auto' --- runtime/browser/web_application.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/browser/web_application.cc b/runtime/browser/web_application.cc index b463cc5..cae57b1 100755 --- a/runtime/browser/web_application.cc +++ b/runtime/browser/web_application.cc @@ -283,6 +283,7 @@ bool WebApplication::Initialize() { wgt::parse::SettingInfo::ScreenOrientation::AUTO) { ewk_context_tizen_extensible_api_string_set(ewk_context_, kRotationLockFeature, true); + window_->SetAutoRotation(); } else if (app_data_->setting_info() != NULL && app_data_->setting_info()->screen_orientation() == wgt::parse::SettingInfo::ScreenOrientation::PORTRAIT) { -- 2.7.4