Don't show popups to allowed priviacies 42/162042/4
authorZofia Grzelewska <z.abramowska@samsung.com>
Tue, 28 Nov 2017 15:22:20 +0000 (16:22 +0100)
committerZofia Grzelewska <z.abramowska@samsung.com>
Thu, 30 Nov 2017 12:35:11 +0000 (13:35 +0100)
commit867f058737d7ed7d3590b4fd0cdac73d369d1558
treef90bd9e515f99f315a316272cdeb779306b92aa6
parent5eac4f5508559d80b362cb40328ed4da256c9a72
Don't show popups to allowed priviacies

When one of privacies, to which privilege is mapped,
is already allowed, don't show popup for it. This may
lead to inconsistency - when user chooses deny once,
the policy is not set and user thinks that application
cannot use this privacy, but it is allowed.

Change-Id: Id3509c7b33e6f2e4bf47340e1a2e368946e96ca1
src/common/policy/Policy.h
src/notification-daemon/Logic.cpp