This PR fixes bugs that occur when checking LostApiClient connection state in callbacks.
Proposed Changes
This changes FusedLocationServiceConnectionManager and LostApiClientImpl to update their internal state before invoking external callbacks. It also migrates LostApiClientImpl to have its ClientManager injected and cleans up related tests.
Overview
This PR fixes bugs that occur when checking
LostApiClient
connection state in callbacks.Proposed Changes
This changes
FusedLocationServiceConnectionManager
andLostApiClientImpl
to update their internal state before invoking external callbacks. It also migratesLostApiClientImpl
to have itsClientManager
injected and cleans up related tests.