Catch RuntimeException in NMService notifications
Currently, NetworkManagementService only catches RemoteExceptions when calling the BaseNetworkObserver notification methods (e.g., interfaceStatusChanged). However, if the observer is in the same process, unchecked exceptions can occur as well. When this happens, finishBroadcast does not get called, and no further notifications can be sent, because any attempt to do so fails with a "beginBroadcast() called while already in a broadcast" exception. Fix this by catching RuntimeException as well. Bug: 8397534 Bug: 8276725 Change-Id: Icd6f32128707244978943c48a9ea3a2b952a2957
Loading
Please register or sign in to comment