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:
a4842f5
)
Add missing funtion that sets the rotation
accepted/tizen/common/20160307.153333
accepted/tizen/ivi/20160307.020330
accepted/tizen/mobile/20160307.020231
accepted/tizen/tv/20160307.020252
accepted/tizen/wearable/20160307.020312
submit/tizen/20160307.003642
author
jh5.cho
<jh5.cho@samsung.com>
Fri, 4 Mar 2016 09:58:12 +0000
(18:58 +0900)
committer
WonYoung Choi
<wy80.choi@samsung.com>
Mon, 7 Mar 2016 00:31:49 +0000
(09:31 +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 b463cc5158048e06de92398b5abaadccd90123ff..cae57b1ccb5f82c5991cd14fa955c9e3f0b3f57a 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) {