{
listener.OnAppControlCompleteResponseReceived(appId, op, res, pExtraData);
- _AppImpl::GetInstance()->RaiseWindow();
+ //_AppImpl::GetInstance()->RaiseWindow();
SysLog(NID_APP, "AppControl response finished.");
}
{
listener.OnAppControlCompleted(appId, op, pList);
- _AppImpl::GetInstance()->RaiseWindow();
+ //_AppImpl::GetInstance()->RaiseWindow();
SysLog(NID_APP, "Legacy AppControl response finished.");
}
#include <unique_ptr.h>
#include <unistd.h>
+#include <system_info.h>
#include <ITapiModem.h>
#include <FBaseBoolean.h>
return E_SUCCESS;
}
- r = GetFromRegistry(tizenKey, value);
- if(r != E_SUCCESS)
+ if(key == L"http://tizen.org/feature/input.keys.menu")
{
- _SystemClient* pSystemClient = _SystemClient::GetInstance();
- r = pSystemClient->GetValue(tizenKey, value);
+ bool supported = false;
+ int ret = system_info_get_platform_bool("tizen.org/feature/input.keys.menu", &supported);
+ SysTryReturnResult(NID_SYS, ret == 0, E_SYSTEM, "It is failed to get system information from configration file.");
+ value = supported;
+ r = E_SUCCESS;
+ }
+ else if(key == L"http://tizen.org/feature/input.keys.back")
+ {
+ bool supported = false;
+ int ret = system_info_get_platform_bool("tizen.org/feature/input.keys.back", &supported);
+ SysTryReturnResult(NID_SYS, ret == 0, E_SYSTEM, "It is failed to get system information from configration file.");
+ value = supported;
+ r = E_SUCCESS;
+ }
+ else
+ {
+ r = GetFromRegistry(tizenKey, value);
+ if(r != E_SUCCESS)
+ {
+ _SystemClient* pSystemClient = _SystemClient::GetInstance();
+ r = pSystemClient->GetValue(tizenKey, value);
+ }
+ SysTryReturnResult(NID_SYS, r == E_SUCCESS, E_OBJ_NOT_FOUND, "It is failed to get the key[%ls]", tizenKey.GetPointer());
}
- SysTryReturnResult(NID_SYS, r == E_SUCCESS, E_OBJ_NOT_FOUND, "It is failed to get the key[%ls]", tizenKey.GetPointer());
if(r == E_SUCCESS)
{
SysTryReturnResult(NID_SYS, *pResult == _SYSTEM_RESULT_OK, E_SYSTEM, "It is failed to get IMEI value.");
imei = *pImei;
- responseMessage.RemoveAll(true);
return r;
}