ee4e5f8511e7d383304cdd6024b640a21fb1f39f |
|
16-Jun-2017 |
Michal Karpinski <mkarpinski@google.com> |
Fix a bug in OperationScheduler#getNextTimeMillis() moratoriumTimeMillis which is a wall clock time was wrongly used as a limit for backoff, which was then added to another wall clock time. This has resulted in getNextTimeMillis() returning the time tens of years in the future. Bug: 62161211 Test: runtest -c com.android.common.OperationSchedulerTest android-common-ex Change-Id: Ie0ef7c9bda1194568e8c8bea820c3b6a601d209c
/frameworks/ex/common/java/com/android/common/OperationScheduler.java
|
583c023b9529a1ec05ca670a85ff1320fdc6d4eb |
|
21-Apr-2016 |
Tobias Thierer <tobiast@google.com> |
frameworks/ex: Avoid Long allocation that is immediately unboxed. Bug: 28289401 Change-Id: Ibe934ffd1f37740c24c9efc19f109285099205d8
/frameworks/ex/common/java/com/android/common/OperationScheduler.java
|
81d4875bd9a69efb1aa59ce0dab2ce5449c3448e |
|
15-Dec-2014 |
Narayan Kamath <narayan@google.com> |
Remove apache dependency from android-common. This static library was relying on HttpDateTime via AndroidHttpClient. (and is the only user of this API in our tree). Regrettably, the most reasonable way forward seems to be copy that class into frameworks/ex. Using reflection is possible too, but it's riskier since we have to ensure this class exists unmodified all the way back to froyo. See API council request b/2553589 for why this was in AndroidHttpClient in the first place. Also, this change sets LOCAL_SDK_VERSION := 8 for tests to match the library version. bug: 18027885 Change-Id: I9c473f60f0314758120e0d6c6f9b56e4d77ba658
/frameworks/ex/common/java/com/android/common/OperationScheduler.java
|
77ffe2074affbef2ff8876ae64d20f5923222de7 |
|
23-Jun-2014 |
Doug Zongker <dougz@google.com> |
fix race condition in OperationScheduler OperationScheduler's toString() method got the set of keys from a SharedPreferences, and then did individual lookups of those keys assuming they would all succeed, but the shared prefs object can be mutated by a another thread while that is going on. Fix to take a snapshot with getAll() and then iterate over the snapshot. Bug: 15744821 Change-Id: I6a901ec7f4e632e149db3bf6c226f935bc152402
/frameworks/ex/common/java/com/android/common/OperationScheduler.java
|
b5e0079419300f09253f160e0bdd28aa1bef4605 |
|
01-Jul-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Fix some javadoc bugs. Change-Id: I10c04c3b69f68b44ff27bbbb1abcc2a0b60fd18a
/frameworks/ex/common/java/com/android/common/OperationScheduler.java
|
1ad9f44796cad21c9d2166c33c3dd8ca3adc41b2 |
|
07-Nov-2012 |
Doug Zongker <dougz@android.com> |
add exponential backoff option to OperationScheduler Change-Id: I583f2d628726a3579aba66a49310a0ccffa94c0a
/frameworks/ex/common/java/com/android/common/OperationScheduler.java
|
575e19825099eb83d1d452ffce93314aa66432ed |
|
09-Sep-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Use SharedPreferences$Editor.apply() when possible, else use commit() Change-Id: I48b18015214c90dd071b74bd807eb4346c0179c2
/frameworks/ex/common/java/com/android/common/OperationScheduler.java
|
823b6f3516076b92f78c3fc27037d24bb514e653 |
|
15-Jun-2010 |
Ying Wang <wangying@google.com> |
move android-common from framework/base to framework/ex Also change the LOCAL_SDK_VERSION from current to 8. Change-Id: I68943b8b41622dab88c7b13d8c067b39205f028e
/frameworks/ex/common/java/com/android/common/OperationScheduler.java
|