projects
/
platform
/
core
/
security
/
suspicious-activity-monitor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f8147e
)
Temporary disabled cancel notification on signout
author
Andriy Gudz
<a.gudz@samsung.com>
Wed, 31 May 2017 06:23:08 +0000
(09:23 +0300)
committer
Andriy Gudz
<a.gudz@samsung.com>
Wed, 31 May 2017 06:23:08 +0000
(09:23 +0300)
device_core/iotivity_lib/src/iotivity.cpp
patch
|
blob
|
history
diff --git
a/device_core/iotivity_lib/src/iotivity.cpp
b/device_core/iotivity_lib/src/iotivity.cpp
index
9f930f2
..
f7045c6
100644
(file)
--- a/
device_core/iotivity_lib/src/iotivity.cpp
+++ b/
device_core/iotivity_lib/src/iotivity.cpp
@@
-602,7
+602,7
@@
void IoTivity::subscribeNotifications(NM_NotificationCb callback, void* userData
{
if (eCode != OC_STACK_OK)
{
- LOG_E(TAG, "Notification observ
callback failed"
);
+ LOG_E(TAG, "Notification observ
e callback failed. OCStackResult=%d.", eCode
);
return;
}
@@
-670,7
+670,7
@@
void IoTivity::unsubscribeNotifications()
FN_VISIT
if (params->notificationResource)
{
- params->notificationResource->cancelObserve();
+
//
params->notificationResource->cancelObserve();
params->notificationResource = nullptr;
}
}