commit | e684ddac67038526e73f46ed261c34af46ef015c | [log] [tgz] |
---|---|---|
author | Yu-Han Yang <yuhany@google.com> | Thu May 24 10:29:39 2018 -0700 |
committer | Yu-Han Yang <yuhany@google.com> | Fri May 25 19:57:44 2018 -0700 |
tree | 12d312666e9093f04055b91356243263a21bf00b | |
parent | 621fd20f5591a3d5846e7bbdb8d5624e2b8b8dab [diff] |
Catch IllegalArgumentException when calling LocationManager#requestLocationUpdate - Cannot depend on LocationManager#isProviderEnabled, since it always returns false for FLP. Bug: 80199046 Change-Id: I9c85b8a9468bceca0620c5aff16655ed633ee36b Fixes: 80199046 Test: Manually added a CTS test to trigger the flow in AOSP build on device, and successfully caught the exception when requesting location updates from NLP.