}
else
{
+ _ServiceAppImpl* pServiceAppImpl = _ServiceAppImpl::GetInstance();
+ SysAssert(pServiceAppImpl);
+ pServiceAppImpl->ResetLifeDurationTimer();
+
HandleAppWidgetRequest(operationId, pArgs);
}
result r = SendResult(instanceId, false);
SysTryLog(NID_SHELL, !IsFailed(r), "Failed to send the result.");
+ RemoveAppWidget(instanceId, false);
return E_SYSTEM;
}
result r = __appwidgetProviders.Remove(instanceId);
SysLog(NID_SHELL, "%s", GetErrorMessage(r) );
- if( pAppWidgetProvider != null)
+ if (pAppWidgetProvider != null)
{
pAppWidgetProvider->OnAppWidgetProviderRemoved();
pAppWidgetProvider->OnAppWidgetProviderTerminating();
SysTryReturnResult(NID_SHELL, pTouchEventListener, E_INVALID_STATE, "[E_INVALID_STATE]");
pTouchEventListener->OnTouchEventRecevied(eventType, timeStamp, x, y);
- if( eventType == BUFFER_EVENT_UP)
+ /*if( eventType == BUFFER_EVENT_UP)
{
_ServiceAppImpl* pServiceAppImpl = _ServiceAppImpl::GetInstance();
SysAssert(pServiceAppImpl);
pServiceAppImpl->ResetLifeDurationTimer();
- }
+ }*/
return E_SUCCESS;
}