From: Moonhee Choi Date: Fri, 5 Jan 2018 07:10:15 +0000 (+0900) Subject: Modified not to be added the invalid value except the defined orientation X-Git-Tag: accepted/tizen/4.0/unified/20180111.051342~4 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=79f969453e1809123d970476986904a164b960b2 Modified not to be added the invalid value except the defined orientation Change-Id: I7041e91401b9dc3193a3d59928a0c59c5c17f04a Signed-off-by: Moonhee Choi --- diff --git a/adaptors/ecore/wayland/window-impl-ecore-wl.cpp b/adaptors/ecore/wayland/window-impl-ecore-wl.cpp index 2c46991..ca805b5 100644 --- a/adaptors/ecore/wayland/window-impl-ecore-wl.cpp +++ b/adaptors/ecore/wayland/window-impl-ecore-wl.cpp @@ -849,19 +849,22 @@ void Window::AddAvailableOrientation(Dali::Window::WindowOrientation orientation { bool found = false; - for( std::size_t i=0; i= Dali::Window::PORTRAIT) && (orientation <= Dali::Window::LANDSCAPE_INVERSE)) { - if(mAvailableOrientations[i] == orientation) + for( std::size_t i=0; i