From: Choi Munseok Date: Fri, 29 Mar 2013 11:11:52 +0000 (+0900) Subject: Add logs X-Git-Tag: accepted/tizen_2.1/20130425.033138~599 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5cacc548b5fc3f0d8f1db9deb1fa0194365658a3;p=platform%2Fframework%2Fnative%2Fuifw.git Add logs Change-Id: I3710d36c380f18fe01618b78028241b48aa908ab Signed-off-by: Choi Munseok --- diff --git a/src/ui/FUi_ControlManager.cpp b/src/ui/FUi_ControlManager.cpp index 3bcc07a..3744d22 100644 --- a/src/ui/FUi_ControlManager.cpp +++ b/src/ui/FUi_ControlManager.cpp @@ -839,6 +839,8 @@ _ControlManager::GetScreenRotation(void) const SysLog(NID_UI, "It's failed to get the flag of auto-rotate."); } + SysLog(NID_UI, "[Window Manager Rotation] AUTO_ROTATION = %d", autoRotate); + if (autoRotate == false) { return _CONTROL_ROTATION_0; @@ -847,6 +849,7 @@ _ControlManager::GetScreenRotation(void) const { #if defined(WINDOW_BASE_ROTATE) int degree = app_get_device_orientation(); + SysLog(NID_UI, "[Window Manager Rotation] device_orientation = %d", degree); return ::Convert(degree); #else diff --git a/src/ui/FUi_OrientationAgent.cpp b/src/ui/FUi_OrientationAgent.cpp index 763b234..35dd1a7 100644 --- a/src/ui/FUi_OrientationAgent.cpp +++ b/src/ui/FUi_OrientationAgent.cpp @@ -187,6 +187,7 @@ _OrientationAgent::Update(bool draw) // Set preffered rotation OrientationStatus status = pImplManager->GetOrientationStatus(__mode); + SysLog(NID_UI, "[Window Manager Rotation] Update : __mode(%d) -> status(%d)", __mode, status); if (__updateStatus == true) {