commit | 600109cb79098824410c09ff7d4e70d75ba8809f | [log] [tgz] |
---|---|---|
author | Stanley Tng <stng@google.com> | Tue Mar 20 16:54:27 2018 -0700 |
committer | Myles Watson <mylesgw@google.com> | Fri Mar 23 21:33:05 2018 +0000 |
tree | 04d69ba5456bccfbd328175e9a285f9f17603538 | |
parent | 2c5fd28b6e2b1b17d49611508d97b1e7412d2fc5 [diff] |
Calls unlinkToDeath in binderDied to deregister When a registered BLE App unexpectedly dies and the binderDied callback is called, the unlinkToDeath is called to remove linkage. Also, refactor code to use an existing function. Test: Manual test by repeatedly killing the gms core process. Bug: 74076974 Change-Id: If47a534ecafe7fceae14f8cf8526987cabd279cd (cherry picked from commit 699f42e24658b74f4b869b10633e9f31a7a9d7a8)