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

Skip to content
Commit ed5a2005 authored by Soonil Nagarkar's avatar Soonil Nagarkar
Browse files

Fix rebind issue in ServiceWatcher

ServiceWatcher is not rebinding properly when the binder dies. This
appears to have been a very long standing bug - it's not entirely clear
how this was never seen before. Possibly package changes after upgrade
always forced a rebind anyways. When gcore is installed by the
LocationHostTest it breaks ServiceWatcher's binding to gcore, and this
is never refreshed until there are further gcore package changes. This
was possibly exacerbated by a race condition in LocationProviderProxy
which could make the provider appear enabled even though it wasn't.

Bug: 148242856
Test: atest GtsGmscoreHostTestCases:LocationHostTest#testLocationProviders
Change-Id: Ibc11e5b0f04e16dc2d3734e02b271358c884072e
parent 017ed9b3
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