commit | 97922be2ac27d3de159b57c8eb2dad4be63a3830 | [log] [tgz] |
---|---|---|
author | yinxu <yinxu@google.com> | Mon Mar 12 15:55:28 2018 -0700 |
committer | yinxu <yinxu@google.com> | Wed Mar 14 11:32:09 2018 -0700 |
tree | ead7feaf978b59d70225866032b0fcca053594a8 | |
parent | 57479b64b776cfe24b70073e41badab5f77aa39f [diff] |
Catch the RuntimeException for stopScan() Some RuntimeExceptions will be thrown across the binder so we need to catch RuntimeException even we already catch the RemoteException. This is a clean cherry-pick from https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/3725821 Bug:73750871 Test: Unit Test Change-Id: Ib72e5ce0f20fbbe913b054314ed3942862c0ab95 Merged-in: Ib72e5ce0f20fbbe913b054314ed3942862c0ab95 (cherry picked from commit 7ea1a49c0aa1bb9bd990060a193507e5e4d0c292)