Change-Id: Icb4fafd21d5df028658a8fa39dad31961af06674
Signed-off-by: Choi Munseok <ms47.choi@samsung.com>
case ROTATION_EVENT_270:
device_rotation = 90;
break;
+ case ROTATION_UNKNOWN:
+ {
+ _Window* pCurrentFrame = GetCurrentFrame();
+ if (pCurrentFrame)
+ {
+ _EcoreEvas* pEcoreEvas = ::GetEcoreEvasMgr()->GetEcoreEvas();
+ if (pEcoreEvas)
+ {
+ SysLog(NID_UI, "[Window Manager Rotation] ROTATION_UNKNOWN");
+ device_rotation = pEcoreEvas->GetWindowRotation(*pCurrentFrame);
+ }
+ }
+ }
+ break;
default:
break;
}