summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Rocard <kevinx.rocard@intel.com>2013-10-24 13:46:30 +0200
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:04:11 +0100
commitbfb0f000d770137f6c1fec3a046621057738c315 (patch)
tree95aeaa2e581eeab79437a2349dcfd79dc08fb97d
parent010b86413755ea59f099e230eb6590b875e787e3 (diff)
downloadexternal_parameter-framework-bfb0f000d770137f6c1fec3a046621057738c315.zip
external_parameter-framework-bfb0f000d770137f6c1fec3a046621057738c315.tar.gz
external_parameter-framework-bfb0f000d770137f6c1fec3a046621057738c315.tar.bz2
[PFW] Add possibility to put mapping info in component nodes
BZ: 147490 Components did not support instantiation mapping (mapping that instantiate subsystem objects) which leaded to artificial parameter bloc use, ie a useless level. Treat the components as parameter block as for instantiation mappings. Change-Id: I64834dbdcbda9ab32a29d6c70dc12da5b5fe6d35 Signed-off-by: Georges-Henri Baron <georges-henrix.baron@intel.com>
-rw-r--r--parameter/Subsystem.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/parameter/Subsystem.cpp b/parameter/Subsystem.cpp
index 221b27a..5e8b131 100644
--- a/parameter/Subsystem.cpp
+++ b/parameter/Subsystem.cpp
@@ -455,8 +455,6 @@ bool CSubsystem::mapBegin(CInstanceConfigurableElement* pInstanceConfigurableEle
switch(pInstanceConfigurableElement->getType()) {
case CInstanceConfigurableElement::EComponent:
- return true;
-
case CInstanceConfigurableElement::EParameterBlock:
// Subsystem object creation is optional in parameter blocks
bShouldCreateSubsystemObject = false;