Loading common/java/com/android/common/OperationScheduler.java +2 −2 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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; Loading Loading
common/java/com/android/common/OperationScheduler.java +2 −2 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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; Loading