[Title] User Sync message for syncLocalStorage
[Issue#] N_SE-53752
[Problem] Tasks are not deleted after having empty box in Date-picker when reopen TaskManager without time-delay
[Cause] sync request was not send synchronously.
[Solution] use sync message for syncLocalStorage.
But the issue is not perfectly resolved on Emulator with this patch. So TaskManager application should be changed also.
Change-Id: I86ae84aa418315f8d9db2988386f56c7dd92434e
void WebKeyValueStorageManagerProxy::syncLocalStorage()
{
- m_webContext->sendToAllProcessesRelaunchingThemIfNecessary(Messages::WebKeyValueStorageManager::SyncLocalStorage());
+ if (m_webContext && m_webContext->process())
+ m_webContext->process()->sendSync(Messages::WebKeyValueStorageManager::SyncLocalStorage(), Messages::WebKeyValueStorageManager::SyncLocalStorage::Reply(), 0);
}
#endif
} // namespace WebKit