OSDN Git Service

Update exception type thrown when NetworkStack is missing
authorChiachang Wang <chiachangwang@google.com>
Thu, 25 Apr 2019 05:35:58 +0000 (22:35 -0700)
committerChiachang Wang <chiachangwang@google.com>
Thu, 25 Apr 2019 07:05:48 +0000 (07:05 +0000)
commitf5b7a8547e5889b1dbcf3c68f7aaf2f6352f5c52
treeb6ba564d5354759ebb770e10129c7bc9f49a3e17
parentbf8aec37d43c950366faff16912c9c8cdd306193
Update exception type thrown when NetworkStack is missing

rethrowFromSystemServer is throwing DeadSystemException which
is different from the original log message. Thus, update the
way to rethrow the same RemoteException.

Bug: 130028724
Test: atest FrameworksNetTest
Test: Kill NetworkStack and check the log message
Change-Id: I60862e276dd4e2d143278b272a9ba54219acce26
Merged-In: Ic1766e839f8f06b539d5f6cfecd29547021fd1d9
Merged-In: I67005a5384888e8acaf1249af79484e2d5ed6f1f
(cherry picked from commit 7f581219e1a4706ea2b4438322a299986847b1c2)
services/core/java/com/android/server/ConnectivityService.java