commit | 3701cae0af267753efe1ebe8779c85ee650d082b | [log] [tgz] |
---|---|---|
author | Rambo Wang <rambowang@google.com> | Tue Sep 28 15:42:33 2021 -0700 |
committer | Rambo Wang <rambowang@google.com> | Wed Sep 29 11:03:02 2021 -0700 |
tree | 40ed2a8b907fa581d05dab98692b17ebb9773cc0 | |
parent | 9e30d7954fe62c5869886d8756f7bf357d9b04c7 [diff] |
CarrierServiceBindHelper: context mismatch in bindService vs unbindservice Two issues are observed due to the context mismatch: 1. unbindservice throw IAE with msg "Service not registered" 2. Binding connection leaks in various scenarios To fix the issue, the context is created in the constructor and used ever since. Bug: 197274279 Test: atest CarrierServiceBindHelperTest Change-Id: I0b6ebf88c5de71a8602f22d324cea91141c3c97c