diff options
author | Qingxi Li <qingxi@google.com> | 2020-01-28 16:22:58 -0800 |
---|---|---|
committer | Qingxi Li <qingxi@google.com> | 2020-01-31 01:06:17 +0000 |
commit | 0b61b3d7164b44beda20e043e1570cfd91c70ae5 (patch) | |
tree | bbc8e960e7e9f39eabafb2631a76952dce9bae3b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 545a87c852f7e225b90390f4d19245059d77d2a6 (diff) |
Remove try-catch from LocationPermissionChecker
Since LocationPermissionChecker#checkLocationPermission will be
used in ConnectivityService and the try-catch style will end up
in unwinding the stack. This CL remove the try-catch block from
this check function.
Bug: 148460709
Test: atest LocationPermissionCheckerTest
Change-Id: Ia97b3d8b1a96aca10fd87876969c290818e7e758
Merged-In: Ia97b3d8b1a96aca10fd87876969c290818e7e758
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions