commit | f4494591c645eba410affaac8405ec9e5d2ebf43 | [log] [tgz] |
---|---|---|
author | Chen Bai <chenbai@google.com> | Wed Mar 13 10:06:52 2024 -0700 |
committer | Chen Bai <chenbai@google.com> | Wed Mar 20 14:36:21 2024 -0700 |
tree | f4880850f62399ffb3e757b72f46f78cc99720b5 | |
parent | 47019508acf0ac16c04936d28aee3791995432f4 [diff] |
cts: actively request for location when run magnetic field tests Instead of using getLastKnownLocation, use getCurrentLocation to actively request for location. Otherwise, its very likely the tests aren't getting any location at all. Test: CtsVerifier: Magnetic Field Measurement Test Bug: 319176581 Change-Id: I1da49d10f336afbb509d1f097d043f9790978d62