Revert "[CONPRO-1337] Disabled Presence Feature"
[platform/upstream/iotivity.git] / service / resource-encapsulation / src / resourceBroker / src / DevicePresence.cpp
index 5c36b78..7ebdf3f 100644 (file)
@@ -158,11 +158,9 @@ namespace OIC
                 case OC_STACK_RESOURCE_DELETED:
                 case OC_STACK_TIMEOUT:
                 case OC_STACK_COMM_ERROR:
-#ifdef WITH_PRESENCE
                 case OC_STACK_PRESENCE_STOPPED:
                 case OC_STACK_PRESENCE_TIMEOUT:
                 case OC_STACK_PRESENCE_DO_NOT_HANDLE:
-#endif
                 {
                     setDeviceState(DEVICE_STATE::LOST_SIGNAL);
                     changeAllPresenceMode(BROKER_MODE::NON_PRESENCE_MODE);