__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()));