Fix the rotation for the angle of 180 degrees
authorChoi Munseok <ms47.choi@samsung.com>
Wed, 5 Jun 2013 05:03:02 +0000 (14:03 +0900)
committerChoi Munseok <ms47.choi@samsung.com>
Wed, 5 Jun 2013 05:03:02 +0000 (14:03 +0900)
Change-Id: Iefa753acc6210576d1ead86ce08415fb63429b1f
Signed-off-by: Choi Munseok <ms47.choi@samsung.com>
src/ui/FUi_ControlImplManager.cpp

index 493b3df..f4a7778 100644 (file)
@@ -275,12 +275,18 @@ _ControlImplManager::GetOrientationStatus(Orientation mode) const
 
        const _ControlRotation screenRotation = pCore->GetScreenRotation();
 
+#if 0
+// RSA : Support 4-Direction Rotation
        if (mode == ORIENTATION_AUTOMATIC_FOUR_DIRECTION)
        {
                return ::Convert(screenRotation, true);
        }
 
        if (mode == ORIENTATION_AUTOMATIC)
+#else
+// Private : Unsupport 4-Direction Rotation
+       if ((mode == ORIENTATION_AUTOMATIC) || (mode == ORIENTATION_AUTOMATIC_FOUR_DIRECTION))
+#endif
        {
                // device : 180 degree
                // return the previous orientation status