From 8ab7293fc32d078f558985b938fa5c71c2b0404b Mon Sep 17 00:00:00 2001 From: Francois Gaffie Date: Mon, 7 Apr 2014 13:46:05 +0200 Subject: Restore autosync of string parameter BZ: 183857 Sync for String parameter accessed from parameter handle API does not work. This patch allows synchronisation for string parameter accessed from parameter handle APIs. Change-Id: If738402f4c0fcb0bb51bd2515e46f3ac36a361dd Signed-off-by: Francois Gaffie Signed-off-by: Mattijs Korpershoek --- parameter/ParameterAccessContext.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'parameter/ParameterAccessContext.cpp') diff --git a/parameter/ParameterAccessContext.cpp b/parameter/ParameterAccessContext.cpp index b48e7c5..579f6bf 100644 --- a/parameter/ParameterAccessContext.cpp +++ b/parameter/ParameterAccessContext.cpp @@ -38,7 +38,7 @@ CParameterAccessContext::CParameterAccessContext(string& strError, uint32_t uiBaseOffset) : base(strError), _pParameterBlackboard(pParameterBlackboard), _bValueSpaceIsRaw(bValueSpaceIsRaw), _bOutputRawFormatIsHex(bOutputRawFormatIsHex), - _bBigEndianSubsystem(false), _bAutoSync(false), _uiBaseOffset(uiBaseOffset) + _bBigEndianSubsystem(false), _bAutoSync(true), _uiBaseOffset(uiBaseOffset) { } @@ -47,14 +47,14 @@ CParameterAccessContext::CParameterAccessContext(string& strError, CParameterBlackboard* pParameterBlackboard, uint32_t uiBaseOffset) : base(strError), _pParameterBlackboard(pParameterBlackboard), _bValueSpaceIsRaw(false), - _bOutputRawFormatIsHex(false), _bBigEndianSubsystem(bBigEndianSubsystem), _bAutoSync(false), + _bOutputRawFormatIsHex(false), _bBigEndianSubsystem(bBigEndianSubsystem), _bAutoSync(true), _uiBaseOffset(uiBaseOffset) { } CParameterAccessContext::CParameterAccessContext(string& strError) : base(strError), _pParameterBlackboard(NULL), _bValueSpaceIsRaw(false), - _bOutputRawFormatIsHex(false), _bBigEndianSubsystem(false), _bAutoSync(false), _uiBaseOffset(0) + _bOutputRawFormatIsHex(false), _bBigEndianSubsystem(false), _bAutoSync(true), _uiBaseOffset(0) { } -- cgit v1.1