commit | 0b61b3d7164b44beda20e043e1570cfd91c70ae5 | [log] [tgz] |
---|---|---|
author | Qingxi Li <qingxi@google.com> | Tue Jan 28 16:22:58 2020 -0800 |
committer | Qingxi Li <qingxi@google.com> | Fri Jan 31 01:06:17 2020 +0000 |
tree | bbc8e960e7e9f39eabafb2631a76952dce9bae3b | |
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