DescriptionChecks to see if the position is valid before OnLocationUpdate call.
A StopProvider call from the Engine was being received while a message
was being processed to go to the Engine from the Client. This caused
the LocationArbitrator to reset. When we came back from sending,
the callback tries to get the new location from the LocationArbitrator,
but since it was reset, it now has an invalid location. This adds a
check for this case.
BUG=645230
Committed: https://crrev.com/cb91640779ff557012cbf8bf728afd6166555a49
Cr-Commit-Position: refs/heads/master@{#419258}
Patch Set 1 #Patch Set 2 : Clears |need_to_send| reguardless if geolocation was valid or not. #Patch Set 3 : Fixes up tests. #
Total comments: 4
Patch Set 4 : Addresses Wez's #6 comments. #Patch Set 5 : Fixes up test. #Patch Set 6 : Tidy up. #
Messages
Total messages: 16 (6 generated)
|