From 6ed10d04f10ab65bfc7c87836e87a489773a8032 Mon Sep 17 00:00:00 2001 From: Keuckdo Bang Date: Sat, 27 Apr 2013 12:28:58 +0900 Subject: [PATCH] Fixed crash when chaging keyboard. Change-Id: Ia0b70069c5fe6b312d3042ead78f47255c84fd00 --- src/ui/controls/FUiCtrl_FormImpl.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ui/controls/FUiCtrl_FormImpl.cpp b/src/ui/controls/FUiCtrl_FormImpl.cpp index 67f6cd3..0d510c3 100644 --- a/src/ui/controls/FUiCtrl_FormImpl.cpp +++ b/src/ui/controls/FUiCtrl_FormImpl.cpp @@ -1616,11 +1616,15 @@ _FormImpl::OnFormOrientationStatusRequested(void) _ControlImplManager* pImplManager = _ControlImplManager::GetInstance(); SysAssert(pImplManager); - OrientationStatus status = pImplManager->GetOrientationStatus(GetOrientation()); + OrientationStatus status = ORIENTATION_STATUS_PORTRAIT; + int appType = _AppInfo::GetAppType(); + if (!(appType & _APP_TYPE_IME_APP)) + { + status = pImplManager->GetOrientationStatus(GetOrientation()); + } return status; } - bool _FormImpl::IsOpaque(void) const { -- 2.7.4