Added screenReaderText param for Sync()
[platform/framework/native/shell.git] / src / FShell_AppWidgetProviderManagerImpl.cpp
index d5a0051..c21e5d6 100644 (file)
@@ -514,7 +514,16 @@ _AppWidgetProviderManagerImpl::SyncRemoteBuffer(const String& instanceId, int wi
        _AppWidgetManagerProxy* pProxy = _AppWidgetManagerProxy::GetInstance();
        SysTryReturnResult(NID_SHELL, pProxy, E_SYSTEM, "Failed to get proxy instance!");
 
-       return pProxy->SyncRemoteBuffer(instanceId, width, height);
+       return pProxy->SyncRemoteBuffer(instanceId, width, height, L"");
+}
+
+result
+_AppWidgetProviderManagerImpl::SyncRemoteBuffer(const String& instanceId, int width, int height, const String& screenReaderText)
+{
+       _AppWidgetManagerProxy* pProxy = _AppWidgetManagerProxy::GetInstance();
+       SysTryReturnResult(NID_SHELL, pProxy, E_SYSTEM, "Failed to get proxy instance!");
+
+       return pProxy->SyncRemoteBuffer(instanceId, width, height, screenReaderText);
 }
 
 result