summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2013-03-17 03:21:35 +0900
committerLorenzo Colitti <lorenzo@google.com>2013-03-17 03:21:35 +0900
commitd9b3d55152ca6184caf64667b0d03c08eff02263 (patch)
tree79f995232e74bec2ca4fd02cd2fd7c4bbd670e27 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc8a9fdff4b229b129920aecb1d048d1ff36729b4 (diff)
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
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions