commit | e347ea1bd31a4f40e1dfeab169469fde4e8fc686 | [log] [tgz] |
---|---|---|
author | Soonil Nagarkar <sooniln@google.com> | Fri Oct 18 11:22:22 2019 -0700 |
committer | Soonil Nagarkar <sooniln@google.com> | Fri Oct 18 17:22:31 2019 -0700 |
tree | 0c29403c2186948bd0721f66006339da592d30e2 | |
parent | e4f30281d23334d06207f7a2cd4d7e8f22797502 [diff] |
Add expireIn implementation to LocationRequest Clients should no longer need to reset expireIn every time they make a location request. Also allow clients of getCurrentLocation() to set their own timeout if desired, and enforce a timeout for requestSingleUpdate(). Bug: 133356925 Bug: 142956404 Test: atest LocationManagerTest Change-Id: I1b3a4d8d6ef249a2395b0d30bf7b92a8d4cfe933