Send policy updates independently from askuser agent 73/104573/5
authorZofia Abramowska <z.abramowska@samsung.com>
Tue, 13 Dec 2016 16:27:19 +0000 (17:27 +0100)
committerjooseong lee <jooseong.lee@samsung.com>
Wed, 14 Dec 2016 02:13:10 +0000 (11:13 +0900)
commitddcbd921846b086915159b8df4ff1094942e8c0a
tree40690c56366b74d879c1e2700007b57b82c44cd4
parent161c229277d526ef8f73b455f5f3f23f9d8e1cd2
Send policy updates independently from askuser agent

Move policy update to other thread so it doesn't block
other agent requests.

Change-Id: I0b9187b63fe7960c979379737decd521b8fd7eaf
13 files changed:
src/agent/CMakeLists.txt
src/agent/main/Agent.cpp
src/agent/main/Agent.h
src/agent/main/PolicyUpdater.cpp [new file with mode: 0644]
src/agent/main/PolicyUpdater.h [new file with mode: 0644]
src/agent/notification-daemon/AskUserTalker.cpp
src/agent/notification-daemon/CMakeLists.txt
src/agent/notification-daemon/GuiRunner.cpp
src/common/CMakeLists.txt
src/common/policy/Policy.cpp [moved from src/agent/notification-daemon/Policy.cpp with 54% similarity]
src/common/policy/Policy.h [moved from src/agent/notification-daemon/Policy.h with 78% similarity]
src/common/policy/PrivilegeInfo.cpp [moved from src/agent/notification-daemon/PrivilegeInfo.cpp with 85% similarity]
src/common/policy/PrivilegeInfo.h [moved from src/agent/notification-daemon/PrivilegeInfo.h with 100% similarity]