Bug 739519 - Part 1: quickfix. r=rnewman
authorMarina Samuel <marina.samuel25@gmail.com>
Wed, 28 Mar 2012 17:25:24 -0700
changeset 92047 7f4f6e54eb27c49f4d8621400142b8178b2a88d6
parent 92046 a69e38e0794f992477b1eddf4384372333beb31f
child 92048 d8c5280f2fda4502ea8972ed6671b624b0883f16
push idunknown
push userunknown
push dateunknown
reviewersrnewman
bugs739519
milestone13.0a2
Bug 739519 - Part 1: quickfix. r=rnewman
mobile/android/base/sync/stage/SyncClientsEngineStage.java
--- a/mobile/android/base/sync/stage/SyncClientsEngineStage.java
+++ b/mobile/android/base/sync/stage/SyncClientsEngineStage.java
@@ -160,24 +160,18 @@ public class SyncClientsEngineStage impl
 
     @Override
     public String credentials() {
       return session.credentials();
     }
 
     @Override
     public String ifUnmodifiedSince() {
-      Long timestampInMilliseconds = session.config.getPersistedServerClientRecordTimestamp();
-
-      // It's the first upload so we don't care about X-If-Unmodified-Since.
-      if (timestampInMilliseconds == 0) {
-        return null;
-      }
-
-      return Utils.millisecondsToDecimalSecondsString(timestampInMilliseconds);
+      // Temporary fix for bug 739519.
+      return null;
     }
 
     @Override
     public void handleRequestSuccess(SyncStorageResponse response) {
       Logger.debug(LOG_TAG, "Upload succeeded.");
       commandsProcessedShouldUpload = false;
       uploadAttemptsCount.set(0);
       session.config.persistServerClientRecordTimestamp(response.normalizedWeaveTimestamp());