commit | f8f085c51b5f8b180ad964d0385b34f8fa97cd32 | [log] [tgz] |
---|---|---|
author | Zhentao Sun <robinvane@google.com> | Fri Apr 26 14:41:53 2013 -0700 |
committer | Zhentao Sun <robinvane@google.com> | Fri Apr 26 14:41:53 2013 -0700 |
tree | 8eb59df192165c70b7b19eedd184f3b1fef5751a | |
parent | e148a49d9214724c7c6aa5b23eae7cdbb80da1ca [diff] |
Fixed race conditions in GeofenceHardwareImpl. Fixed b/8725226 1. Check if a geofence is registered before calling removeGeofence, pauseGeofence and resumeGeofence 2. Moved add/remove operation of mGeofences from handler thread to binder thread to fix potential race conditions by REMOVE_GEOFENCE. Change-Id: I1c68a49ac4a08324c13702ba9013d2adf031aed9