From fd472ba92c97caad3b665b4c35c770f91d10320c Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Thu, 8 Apr 2010 14:20:57 -0700 Subject: [PATCH] Move the public method HttpDateTime.parse() into AndroidHttpClient. See bug http://b/2553589 Change-Id: Ide3399c7c63daf9c0b8c18669076f2f4d6e9a876 --- common/java/com/android/common/OperationScheduler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/java/com/android/common/OperationScheduler.java b/common/java/com/android/common/OperationScheduler.java index 08cc25b3f..17869578c 100644 --- a/common/java/com/android/common/OperationScheduler.java +++ b/common/java/com/android/common/OperationScheduler.java @@ -17,7 +17,7 @@ package com.android.common; import android.content.SharedPreferences; -import android.net.http.HttpDateTime; +import android.net.http.AndroidHttpClient; import android.text.format.Time; import java.util.Map; @@ -243,7 +243,7 @@ public class OperationScheduler { return true; } catch (NumberFormatException nfe) { try { - setMoratoriumTimeMillis(HttpDateTime.parse(retryAfter)); + setMoratoriumTimeMillis(AndroidHttpClient.parseDate(retryAfter)); return true; } catch (IllegalArgumentException iae) { return false;