AppWidgetManagerService::OnIpcClientConnected(const _IpcServer& server, int clientId)
{
//SysLog(NID_APP, "(clientId:%d)\n", clientId);
- String fullAppId = server.GetClientAppId() + "." + server.GetClientAppExecutableName();
+ String fullAppId = server.GetClientApplicationId();
SysLog(NID_APP, "(%ls)\n", fullAppId.GetPointer());
// this->SetClientIds(fullAppId, clientId);//Todo
void
AppWidgetManagerService::OnIpcClientDisconnected(const _IpcServer& server, int clientId)
{
- String fullAppId = server.GetClientAppId() + "." + server.GetClientAppExecutableName();
+ String fullAppId = server.GetClientApplicationId();
SysLog(NID_APP, "(%ls)\n", fullAppId.GetPointer());
this->SetClientIds(fullAppId, -1);
}
if(pAppWidgetContext->HasValidClientId() == false)
{
- String fullAppId = __pIpcServer->GetClientAppId() + "." + __pIpcServer->GetClientAppExecutableName();
+ String fullAppId = __pIpcServer->GetClientApplicationId();
this->SetClientIds(fullAppId, __pIpcServer->GetClientId());
}
if(pPd->HasValidClientId() == false)
{
- String fullAppId = __pIpcServer->GetClientAppId() + "." + __pIpcServer->GetClientAppExecutableName();
+ String fullAppId = __pIpcServer->GetClientApplicationId();
pPd->SetClientId(__pIpcServer->GetClientId());
}
void
_AppWidgetManagerStub::OnIpcRequestReceived(_IpcServer& server, const IPC::Message& message)
{
- SysLog(NID_APP, "(appId:%ls, pid:%d, clientId:%d)\n", server.GetClientAppId().GetPointer(), server.GetClientProcessId(), server.GetClientId());
+ SysLog(NID_APP, "(appId:%ls, clientId:%d)\n", server.GetClientApplicationId().GetPointer(), server.GetClientId());
SysAssertf(__pIpcServer, "__pIpcServer is null!");
void
_AppWidgetManagerStub::OnIpcClientDisconnected(const _IpcServer& server, int clientId)
{
- SysLog(NID_APP, "(appId:%ls, pid:%d, clientId:%d)\n", server.GetClientAppId().GetPointer(), server.GetClientProcessId(), clientId);
+ SysLog(NID_APP, "(appId:%ls, clientId:%d)\n", server.GetClientApplicationId().GetPointer(), clientId);
}