Add the 'privilege' parameter to popup response callback 64/139164/3
authorPiotr Sawicki <p.sawicki2@partner.samsung.com>
Mon, 17 Jul 2017 13:54:18 +0000 (15:54 +0200)
committerZofia Abramowska <z.abramowska@samsung.com>
Tue, 18 Jul 2017 14:17:05 +0000 (14:17 +0000)
commitfddd09875f04d080fb8fcdd7f439a9f7cf6183e8
treed138cf01b5f247f568d933c055d20254fa78dd3f
parent73dc81b05752914b60e2dec0d37d61ce84083ad1
Add the 'privilege' parameter to popup response callback

Apart from that, a protection against sending multiple requests
with the same privilege has been added. A new status code:
PRIVACY_PRIVILEGE_MANAGER_ERROR_ALREADY_IN_PROGRESS informs
an application when the above error occurs.

Change-Id: Ifb2397c99452d56f7327f0be3f54ce33b766488f
src/capi/impl/privacy_privilege_manager.c
src/capi/include/privacy_privilege_manager.h
src/capi/test/privacy_privilege_manager_test.cpp
src/client/api/ApiInterface.h
src/client/api/askuser-notification-client.cpp
src/client/impl/ApiInterfaceImpl.cpp
src/client/impl/ApiInterfaceImpl.h
src/client/impl/PopupCallbackClosure.h
src/client/include/askuser-notification-client.h