commit | 10703566c3b719e4e5f5be84bbd28d6a261b83d3 | [log] [tgz] |
---|---|---|
author | Brad Ebinger <breadley@google.com> | Wed Dec 16 21:04:12 2020 +0000 |
committer | Brad Ebinger <breadley@google.com> | Wed Dec 16 21:04:12 2020 +0000 |
tree | a3ad8866b89b37b3a70663de5039c1c12475919b | |
parent | 2aafe6d00c6558db6905874f0067e754108d8044 [diff] |
Set Binder to null if linkToDeath throws RemoteException If linkToDeath throws a RemoteException, set the Binder to null in order to stop unlinkToDeath from causing the phone process to crash. For further safety, catch NoSuchElementException directly if it still happens, as it should just result in a no-op. Bug: 175737956 Test: manual; atest ImsCommonTests Change-Id: I743d1768720cee6ef264ef3168183563652e50c4