commit | ed3be818d5e75ba8b6f8a6e7cce3e4ff89738c76 | [log] [tgz] |
---|---|---|
author | Kristian Monsen <kristianm@google.com> | Thu May 23 11:23:28 2013 -0700 |
committer | Kristian Monsen <kristianm@google.com> | Thu May 23 12:49:01 2013 -0700 |
tree | 3b0f031d05b247d381d3e5d1d3569270ff7fa4d4 | |
parent | 38fa4e59b132bd7c777e5ff29fb5fd7810990032 [diff] |
Fix for bug 8731235, flaky getting geolocation fix in tests Instead of updating location once, start a background thread updating the location every 250 ms. It's not guaranteed that a single mock location update will be seen be subsequent location observers, so updating location in a loop ensures they receive it. Change-Id: I93bdb2e94f54d99f350546e49facaea96a10a133