commit | dc2b792589673434764c74f3f21039ec72c22b4a | [log] [tgz] |
---|---|---|
author | Tianjie <xunchang@google.com> | Mon Feb 08 15:43:06 2021 -0800 |
committer | Tianjie Xu <xunchang@google.com> | Wed Feb 10 18:46:42 2021 +0000 |
tree | 134381facb112a1344a95465d77836449a6e968d | |
parent | 073c6fa95776ebad4213250d9a7cbf1c409ed4c6 [diff] |
Reset binder during unbinding On some rare case, we may encounter a DeadObjectException on wrap() when a new test app is installed. This happens because we reuse the binder from the previous bindToService() call. Always reset the binder to make sure this doesn't happen. Bug: 172780686 Test: run storeRebootEscrowKey twice Change-Id: I36150ef39f870e38a5f1b4bd814465d70f8dbf85