From fb53f8b871b2e88caebb4fb948aa83b8c22fcd68 Mon Sep 17 00:00:00 2001 From: jaekuk lee Date: Wed, 7 Dec 2016 22:58:47 -0800 Subject: [PATCH] Revert "Fix screen_orientation issue in wearable profile" This reverts commit ab32f24359aa9a52874231cf78c868793fff7c63. Change-Id: I593553065734a91616d4544270eb8caef3095fae --- runtime/browser/native_window.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/runtime/browser/native_window.cc b/runtime/browser/native_window.cc index 3dbff5e..5712dff 100755 --- a/runtime/browser/native_window.cc +++ b/runtime/browser/native_window.cc @@ -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); -- 2.7.4