Add cynara_check for ppm_popup_send_response 14/226814/11
authorTomasz Swierczek <t.swierczek@samsung.com>
Thu, 5 Mar 2020 13:01:34 +0000 (14:01 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Mon, 9 Mar 2020 06:26:36 +0000 (07:26 +0100)
commit032712d9a86f8fdc233d29e5755afb034c7fe712
tree84ef73df06d118e9b0bd503eea9ffc4f7c782e82
parent980f857486e1a1ca3686f264e15242853971bce0
Add cynara_check for ppm_popup_send_response

The API is protected with privilege http://tizen.org/privilege/internal/default/platform

This patch modifies internal IPC classes to handle blocking
operations so popup app calling ppm_send_popup_response can
receive answer in-place, waiting on socket data, using synchronous API.

Change-Id: If6a08f4b1a88b7259d5b31def08247e9e2e306d0
20 files changed:
src/capi/include/ppm_popup.h
src/capi/test/privacy_privilege_manager_test.cpp
src/client/api/askuser-notification-client.cpp
src/client/include/askuser-notification-client.h
src/ipc/channel.cpp
src/ipc/channel.h
src/ipc/client-channel.cpp
src/ipc/client-channel.h
src/ipc/common-types.h
src/ipc/message-utils.h
src/ipc/server-channel.cpp
src/ipc/server-channel.h
src/ipc/sock.cpp
src/ipc/sock.h
src/ipc/test/main.cpp
src/notification-daemon/CMakeLists.txt
src/notification-daemon/Logic.cpp
src/notification-daemon/Logic.h
src/notification-daemon/ServerCallbacks.cpp
src/notification-daemon/ServerCallbacks.h