OSDN Git Service

Catch the RuntimeException for stopScan()
authoryinxu <yinxu@google.com>
Mon, 12 Mar 2018 22:55:28 +0000 (15:55 -0700)
committeryinxu <yinxu@google.com>
Mon, 12 Mar 2018 22:55:28 +0000 (15:55 -0700)
commit7ea1a49c0aa1bb9bd990060a193507e5e4d0c292
treeda3aea36c65de5546ce1456c7743bf9fb8fbab3f
parentec174b28c40f21a4a3bb99b8785fa3022db74335
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.

Bug:73750871
Test: Unit Test
Change-Id: Ib72e5ce0f20fbbe913b054314ed3942862c0ab95
telephony/java/android/telephony/NetworkScan.java