Skip to content

Commit

Permalink
CELIX-370: Reverts the dependency manager behaviour of adding of prop…
Browse files Browse the repository at this point in the history
…erties/filter attribute with service.lang=C. This break backward compatiblity
  • Loading branch information
pnoltes committed Oct 11, 2016
1 parent 04013a0 commit b5af0ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dependency_manager/private/src/dm_component_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ celix_status_t component_create(bundle_context_pt context, const char *name, dm_
component->isStarted = false;
component->active = false;

component->setCLanguageProperty = true;
component->setCLanguageProperty = false;

component->dependencyEvents = hashMap_create(NULL, NULL, NULL, NULL);

Expand Down
4 changes: 2 additions & 2 deletions dependency_manager/private/src/dm_service_dependency.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ celix_status_t serviceDependency_create(dm_service_dependency_pt *dependency_ptr

(*dependency_ptr)->isStarted = false;

(*dependency_ptr)->addCLanguageFilter = true;
(*dependency_ptr)->addCLanguageFilter = false;
(*dependency_ptr)->tracked_service = NULL;
(*dependency_ptr)->tracked_filter_unmodified = NULL;
(*dependency_ptr)->tracked_filter = NULL;
Expand Down Expand Up @@ -811,4 +811,4 @@ celix_status_t serviceDependency_setCallbackHandle(dm_service_dependency_pt depe

static void* serviceDependency_getCallbackHandle(dm_service_dependency_pt dependency) {
return dependency->callbackHandle == NULL ? component_getImplementation(dependency->component) : dependency->callbackHandle;
}
}

0 comments on commit b5af0ef

Please sign in to comment.