98504571be86b272c072fc7de680cd4590b88567
When the network stack crashes, the system will rebind to it. Existing references are no longer useful (they just throw RemoteException) but if the system is still up, then the user can at least recover the situation by taking actions such as going into airplane mode, toggling wifi, etc. This CL stops ConnectivityService from crashing the system when it cannot talk to NetworkMonitor. This is arguably better than crashing the system, because crashing the system is disruptive and carries the serious risk of a bootloop from which it is not possible to recover. NetworkStackClient already contains code to crash the system when the network stack crashes. This change help ensure that if a crash occurs, it is the result of an explicit decision by that code instead of an unchecked exception in one of the callers of the network stack. Bug: 133725814 Test: builds, boots Test: atest FrameworksNetTests NetworkStackTests Change-Id: Ib9a15fececd8579fc5b139fe0341275a45512e0f Merged-In: Ib9a15fececd8579fc5b139fe0341275a45512e0f (cherry picked from commit ac29a97d10fe8ea0720763f4ca4657cac85732a1)
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%