diff options
| author | Jesse Wilson <jessewilson@google.com> | 2010-04-08 14:20:57 -0700 |
|---|---|---|
| committer | Jesse Wilson <jessewilson@google.com> | 2010-04-09 13:34:15 -0700 |
| commit | 7cfa90fee54f44831ac492891d1c123601c2a262 (patch) | |
| tree | 64aa2167e720f396f42b2ae008742cad17282713 /common | |
| parent | 34959e3fe87012d554af07fd6ad294b2ce3daea7 (diff) | |
| download | frameworks_base-7cfa90fee54f44831ac492891d1c123601c2a262.zip frameworks_base-7cfa90fee54f44831ac492891d1c123601c2a262.tar.gz frameworks_base-7cfa90fee54f44831ac492891d1c123601c2a262.tar.bz2 | |
Move the public method HttpDateTime.parse() into AndroidHttpClient.
See bug http://b/2553589
Change-Id: Ide3399c7c63daf9c0b8c18669076f2f4d6e9a876
Diffstat (limited to 'common')
| -rw-r--r-- | common/java/com/android/common/OperationScheduler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/java/com/android/common/OperationScheduler.java b/common/java/com/android/common/OperationScheduler.java index 08cc25b..1786957 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; |
