diff options
author | Kevin Rocard <kevinx.rocard@intel.com> | 2013-03-26 17:09:29 +0100 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-12 17:03:50 +0100 |
commit | 2fbe6e8d585e3f4d1f9134f6954615f616bb7815 (patch) | |
tree | cddd5f45cfb4bb033657b2ab691f1f80f8072789 /parameter/SystemClass.h | |
parent | b2ffa5a13606abca31de9d15e1f0fcfe195cb6bf (diff) | |
download | external_parameter-framework-2fbe6e8d585e3f4d1f9134f6954615f616bb7815.zip external_parameter-framework-2fbe6e8d585e3f4d1f9134f6954615f616bb7815.tar.gz external_parameter-framework-2fbe6e8d585e3f4d1f9134f6954615f616bb7815.tar.bz2 |
PFW: Fix the useless subsystem resync on PFW load
BZ: 97808
The PFW used to resynchronise some subsystems at start before
back/forward syncronisation. Which was useless.
Reset subsystems 'needToResync' flag during PFW start before sync to
avoid this dummy resync.
Change-Id: Id0c0bb786f10e2724222fc18f2085164e95f963f
Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com>
Reviewed-on: http://android.intel.com:8080/98452
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Denneulin, Guillaume <guillaume.denneulin@intel.com>
Reviewed-by: De Chivre, Renaud <renaud.de.chivre@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/SystemClass.h')
-rw-r--r-- | parameter/SystemClass.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/parameter/SystemClass.h b/parameter/SystemClass.h index a522a33..5bc9006 100644 --- a/parameter/SystemClass.h +++ b/parameter/SystemClass.h @@ -41,9 +41,20 @@ public: // Subsystem factory const CSubsystemLibrary* getSubsystemLibrary() const; - // Fill syncer-set with syncers from subsytems that need resync + /** + * Look for subsystems that need to be resynchronized. + * Consume the need to be resynchronized + * and fill a syncer set with all syncers that need to be resynchronized + * + * @param[out] syncerSet The syncer set to fill + */ void checkForSubsystemsToResync(CSyncerSet& syncerSet); + /** + * Reset subsystems need to resync flag. + */ + void cleanSubsystemsNeedToResync(); + // base virtual bool init(string& strError); virtual string getKind() const; |