projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49e26f7
)
Add missing funtion that sets the rotation
author
jh5.cho
<jh5.cho@samsung.com>
Fri, 4 Mar 2016 09:58:12 +0000
(18:58 +0900)
committer
jh5.cho
<jh5.cho@samsung.com>
Fri, 4 Mar 2016 09:58:15 +0000
(18:58 +0900)
Add SetAutoRotation() function that sets the screen rotation status
when the screen orientation is set to 'auto'
runtime/browser/web_application.cc
patch
|
blob
|
history
diff --git
a/runtime/browser/web_application.cc
b/runtime/browser/web_application.cc
index
b463cc5
..
cae57b1
100755
(executable)
--- 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) {