Bug 709311 - Handle changed meta/global. r=rnewman, a=blocking-fennec
This commit is contained in:
@@ -28,6 +28,7 @@ import android.util.Log;
|
||||
* updated bundle information.
|
||||
*/
|
||||
public class Synchronizer {
|
||||
protected String configSyncID; // Used to pass syncID from load() back into save().
|
||||
|
||||
/**
|
||||
* I translate the fine-grained feedback of a SynchronizerSessionDelegate into
|
||||
@@ -109,8 +110,7 @@ public class Synchronizer {
|
||||
}
|
||||
|
||||
public SynchronizerConfiguration save() {
|
||||
String syncID = null; // TODO: syncID.
|
||||
return new SynchronizerConfiguration(syncID, bundleA, bundleB);
|
||||
return new SynchronizerConfiguration(configSyncID, bundleA, bundleB);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -123,6 +123,6 @@ public class Synchronizer {
|
||||
public void load(SynchronizerConfiguration config) {
|
||||
bundleA = config.remoteBundle;
|
||||
bundleB = config.localBundle;
|
||||
// TODO: syncID.
|
||||
configSyncID = config.syncID;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user