Modify to call of provider state callback.
authorKIM JungYong <jyong2.kim@samsung.com>
Fri, 2 Sep 2016 05:23:42 +0000 (14:23 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 2 Sep 2016 10:26:30 +0000 (10:26 +0000)
commit70db95a043d41d66effb7c9a11c0e512cb6520c2
tree9d2c86fd8e237d5aed82dcda7d8172b6010caa6a
parent128addfb2a8539c7f6db34e82188ab32f48fc2b1
Modify to call of provider state callback.

When incomming the subscription result,
consumer service callback to upper layer every result message
although some of message was duplicated.

Provider state callback is fixed for call once as provider state(allow/deny) changed.

Change-Id: I5a8094092b33e569716475aa60b574ee5eb0e913
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11325
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/notification/src/consumer/NSConsumerCommon.c
service/notification/src/consumer/NSConsumerCommon.h
service/notification/src/consumer/NSConsumerDiscovery.c
service/notification/src/consumer/NSConsumerInternalTaskController.c