The duration numbers in getDelay() are all
expressed in milliseconds; the call to
TimeUnit.convert() is fixed to specify milliseconds.
Change-Id: I6b466f7a40a05ebe4afb1c3c39fb862eef2ae40d
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
        @Override\r
        public long getDelay(TimeUnit unit) {\r
                // 0 or negative means this object is considered to be expired\r
-               return unit.convert(startTime + timeout - System.currentTimeMillis(), unit);\r
+               return unit.convert(startTime + timeout - System.currentTimeMillis(), TimeUnit.MILLISECONDS);\r
        }\r
 \r
        /**\r