diff options
author | Yu-Han Yang <yuhany@google.com> | 2018-05-24 10:29:39 -0700 |
---|---|---|
committer | Yu-Han Yang <yuhany@google.com> | 2018-05-25 19:57:44 -0700 |
commit | e684ddac67038526e73f46ed261c34af46ef015c (patch) | |
tree | 12d312666e9093f04055b91356243263a21bf00b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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.
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions