commit | ccc1c5df4a7ab668a7b6fb38baa486eba7d9ac38 | [log] [tgz] |
---|---|---|
author | Qingxi Li <qingxi@google.com> | Tue Jan 28 16:22:58 2020 -0800 |
committer | Qingxi Li <qingxi@google.com> | Thu Jan 30 10:24:54 2020 -0800 |
tree | 3777f3fbb4733b0147d21b38bbd48f41d7176783 | |
parent | 38c37b5c1b8d2049025ccb511949c660925d492e [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