diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2019-02-27 10:35:10 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2019-02-27 18:21:22 +0900 |
commit | b313e0c83455b00783e1669f7428e923e3554448 (patch) | |
tree | f5d2d3a710ce7b6e73bed935ecc0ce342e6d29eb /rs/java/android/renderscript/ProgramStore.java | |
parent | d593e298c66d1138240f8e97e92b8a5b8f9eb130 (diff) |
Catch ServiceSpecificException instead of IllegalStateException.
The old NetworkManagementService methods to start clatd threw
IllegalStateException, but the new netd methods throw
ServiceSpecificException. Update the catch clauses so that if
starting clatd fails, the system doesn't crash.
Also stop logging stack traces but only include the exception
message itself.
Bug: 65674744
Test: atest FrameworksNetTests
Test: connecting/disconnecting to v6-only wifi in a loop does not crash
Change-Id: I4a9ec7f104712fbbe08f4f67e3288df03e8ed873
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions