summaryrefslogtreecommitdiffstats
path: root/media/java/android
diff options
context:
space:
mode:
authordestradaa <destradaa@google.com>2015-01-15 18:36:01 -0800
committerdestradaa <destradaa@google.com>2015-01-23 10:26:17 -0800
commit13a60b0d41c740448ea39ca19842c7b193c61efd (patch)
tree2ea5b94cf67b90031101e5a4d8963aa9334719c3 /media/java/android
parent34efbcedac4157b1e92fcd8fd746ba2754b44858 (diff)
downloadframeworks_base-13a60b0d41c740448ea39ca19842c7b193c61efd.zip
frameworks_base-13a60b0d41c740448ea39ca19842c7b193c61efd.tar.gz
frameworks_base-13a60b0d41c740448ea39ca19842c7b193c61efd.tar.bz2
Fix race condition generating READY and NOT_SUPPORTED statuses.
The race condition only affects when the client registers for several (all) location listeners. And the side efects are benign: only the measurement and navigation message status are incurrectly being sent to the application, but there are no crashes or any real data from GPS being misscommunicated. Also: - cache the last reported status to filter sending notifications when no changes have occurred - do some cleanup and refactoring in the code changed Change-Id: I0692e6b70847dc1ee092d7a05a2c6ba3cd9fa147
Diffstat (limited to 'media/java/android')
0 files changed, 0 insertions, 0 deletions