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 7ea1a49c)
Loading
Please register or sign in to comment