summaryrefslogtreecommitdiffstats
path: root/parameter/SubsystemObject.cpp
diff options
context:
space:
mode:
authorAndrei V. FOMITCHEV <andreix.fomitchev@intel.com>2013-04-26 16:56:34 +0200
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:03:52 +0100
commit0c2e065609758e718d37e1c0057aea46fb50fc8e (patch)
treea72fd3ef78de3e3dab520924cefc6d6450d60475 /parameter/SubsystemObject.cpp
parent732b399495ec26a3770cae612c0fbcea1dcc3419 (diff)
downloadexternal_parameter-framework-0c2e065609758e718d37e1c0057aea46fb50fc8e.zip
external_parameter-framework-0c2e065609758e718d37e1c0057aea46fb50fc8e.tar.gz
external_parameter-framework-0c2e065609758e718d37e1c0057aea46fb50fc8e.tar.bz2
PFW: avoid warning in SubsystemObject
BZ: 103961 In current implementation of PFW, if a subsytem does not implement full interface of SubsystemObject, a warning message is logged. The purpose of this patch is to change the default behaviour and do not more log a warning. Change-Id: I51bc61a418956553d3c880aafa622ca6c2f68520 Signed-off-by: Andrei V. FOMITCHEV <andreix.fomitchev@intel.com> Reviewed-on: http://android.intel.com:8080/106320 Reviewed-by: Barthes, FabienX <fabienx.barthes@intel.com> Tested-by: Dixon, CharlesX <charlesx.dixon@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'parameter/SubsystemObject.cpp')
-rw-r--r--parameter/SubsystemObject.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/parameter/SubsystemObject.cpp b/parameter/SubsystemObject.cpp
index d79789b..c778baf 100644
--- a/parameter/SubsystemObject.cpp
+++ b/parameter/SubsystemObject.cpp
@@ -139,11 +139,12 @@ bool CSubsystemObject::sendToHW(string& strError)
return false;
}
-bool CSubsystemObject::receiveFromHW(string& strError)
+bool CSubsystemObject::receiveFromHW(string& )
{
- strError = "Receive from HW interface not implemented at subsystsem level!";
+ // Back synchronization is not supported at subsystem level.
+ // Rely on blackboard content
- return false;
+ return true;
}
// Fall back HW access