Revert "Fix screen_orientation issue in wearable profile" 73/103373/1 tizen_m53_beta accepted/tizen/3.0/common/20161208.153839 accepted/tizen/3.0/ivi/20161208.101200 accepted/tizen/3.0/mobile/20161208.101106 accepted/tizen/3.0/tv/20161208.101125 accepted/tizen/3.0/wearable/20161208.101144 submit/tizen_3.0/20161208.070118
authorjaekuk lee <juku1999@samsung.com>
Thu, 8 Dec 2016 06:58:47 +0000 (22:58 -0800)
committerjaekuk lee <juku1999@samsung.com>
Thu, 8 Dec 2016 06:58:47 +0000 (22:58 -0800)
This reverts commit ab32f24359aa9a52874231cf78c868793fff7c63.

Change-Id: I593553065734a91616d4544270eb8caef3095fae

runtime/browser/native_window.cc

index 3dbff5e68c1d4221f16b85724a1e8c2093ad94dd..5712dff4ccccdff856fa086dbc3b13008c3ff268 100755 (executable)
@@ -174,19 +174,11 @@ void NativeWindow::Initialize() {
                                  rotation_callback,
                                  this);
 
-#ifdef PROFILE_WEARABLE
-  if (w >= h) {
-    natural_orientation_ = ScreenOrientation::LANDSCAPE_PRIMARY;
-  } else {
-    natural_orientation_ = ScreenOrientation::PORTRAIT_PRIMARY;
-  }
-#else
   if (w > h) {
     natural_orientation_ = ScreenOrientation::LANDSCAPE_PRIMARY;
   } else {
     natural_orientation_ = ScreenOrientation::PORTRAIT_PRIMARY;
   }
-#endif
 
   elm_win_indicator_mode_set(window_, ELM_WIN_INDICATOR_SHOW);