Commit 8548c24e authored by Zhentao Sun's avatar Zhentao Sun
Browse files

Fixed flaky proximity alert tests. DO NOT MERGE.

(CL already submitted to klp-dev.)
Fixed b/10667162. It's a regression in JB-MR2.
This is caused by race conditions in multiple threads and processes.
Because addProximityAlert returns before geofences are being monitored,
it's possible that the mock location inside the geofence can't be received by
GeofenceManager if it's sent immediately after addProximityAlert.

Change-Id: I7208bb288efe6bdf840a54b7e1544ebf96a45f2f
(cherry picked from commit 78796e97)
parent 602825cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment