diff options
author | Frédéric Boisnard <fredericx.boisnard@intel.com> | 2012-08-27 15:48:15 +0200 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-12 17:03:14 +0100 |
commit | daaa63ce33fa4795403f9339bc872694c9ab6113 (patch) | |
tree | b34506f80e67f4b2396dd89be365f687d2c18926 /parameter/ParameterMgr.cpp | |
parent | 951ecce4fbf195694b14ef8504c59732354abcdb (diff) | |
download | external_parameter-framework-daaa63ce33fa4795403f9339bc872694c9ab6113.zip external_parameter-framework-daaa63ce33fa4795403f9339bc872694c9ab6113.tar.gz external_parameter-framework-daaa63ce33fa4795403f9339bc872694c9ab6113.tar.bz2 |
PFW: Display warning messages to help user
BZ: 54512
Display a warning message when a configuration cannot be applied because
the TuningMode is on, in order to help user to identify potential issues.
Display a warning message when a criterion change doesn't lead to a
configuration application (a check is performed each time a criterion
is changed).
Change-Id: Id872655c92770d1f6f1b01b20db2fde3db826ceb
Signed-off-by: Frédéric Boisnard <fredericx.boisnard@intel.com>
Reviewed-on: http://android.intel.com:8080/63845
Reviewed-by: Rocard, KevinX <kevinx.rocard@intel.com>
Reviewed-by: De Chivre, Renaud <renaud.de.chivre@intel.com>
Reviewed-by: Denneulin, Guillaume <guillaume.denneulin@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'parameter/ParameterMgr.cpp')
-rw-r--r-- | parameter/ParameterMgr.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/parameter/ParameterMgr.cpp b/parameter/ParameterMgr.cpp index 9f1d160..14a5b4b 100644 --- a/parameter/ParameterMgr.cpp +++ b/parameter/ParameterMgr.cpp @@ -1,4 +1,4 @@ -/* +/* * INTEL CONFIDENTIAL * Copyright © 2011 Intel * Corporation All Rights Reserved. @@ -576,6 +576,13 @@ bool CParameterMgr::applyConfigurations(string& strError) return false; } + + // Reset the modified status of the current criteria to indicate that a new configuration has been applied + getSelectionCriteria()->resetModifiedStatus(); + + } else { + + log("Warning: Configurations were not applied because the TuningMode is on"); } return true; |