Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3701cae0 authored by Rambo Wang's avatar Rambo Wang
Browse files

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
parent 9e30d795
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment