Fix Ime Rotation
[platform/framework/native/uifw.git] / src / ui / controls / FUiCtrl_FormImpl.cpp
index cad1b86..30b77d3 100644 (file)
@@ -109,7 +109,7 @@ _FormImpl::_FormImpl(Form* pPublic, _Form* pCore, Layout* pPublicPortraitLayout,
        __pForm = pCore;
 
        int appType = _AppInfo::GetAppType();
-       if (appType == _APP_TYPE_IME_APP)
+       if (appType & _APP_TYPE_IME_APP)
        {
                __pImeOriAgent = _ImeOrientationAgent::CreateInstanceN(*pPublic);
                SysTryReturnVoidResult(NID_UI_CTRL, __pImeOriAgent != null, GetLastResult(), "[%s] Propagating.", GetErrorMessage(GetLastResult()));