Add logs
authorChoi Munseok <ms47.choi@samsung.com>
Fri, 29 Mar 2013 11:11:52 +0000 (20:11 +0900)
committerChoi Munseok <ms47.choi@samsung.com>
Fri, 29 Mar 2013 11:11:52 +0000 (20:11 +0900)
Change-Id: I3710d36c380f18fe01618b78028241b48aa908ab
Signed-off-by: Choi Munseok <ms47.choi@samsung.com>
src/ui/FUi_ControlManager.cpp
src/ui/FUi_OrientationAgent.cpp

index 3bcc07a..3744d22 100644 (file)
@@ -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
index 763b234..35dd1a7 100644 (file)
@@ -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)
                {