Support for APN fallback retries.

// FREEBIE
This commit is contained in:
Moxie Marlinspike committed 2015-05-15 16:04:27 -07:00
1 parent 6363be81e0
commit bbb09b558c
9 files changed
+394 -21

No files matched your search

@@ -115,12 +115,20 @@ public class Util {
return parts;
}
public static void sleep(int i) {
public static void sleep(long i) {
try {
Thread.sleep(i);
} catch (InterruptedException ie) {}
}
public static void wait(Object object) {
try {
object.wait();
} catch (InterruptedException e) {
throw new AssertionError(e);
}
}
public static long todayInMillis() {
return TimeUnit.DAYS.toMillis(TimeUnit.MILLISECONDS.toDays(System.currentTimeMillis()));
}