Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Verify client is connected #167

Merged
merged 8 commits into from
Mar 6, 2017
Merged

Conversation

ecgreb
Copy link
Collaborator

@ecgreb ecgreb commented Feb 24, 2017

Overview

FusedLocationProviderApi should throw an exception if the client instance passed into any of its methods is not currently connected.

Proposed Changes

Updates methods, tests, and documentation to throw an IllegalStateException if the LostApiClient used is not connected.

Also fixes a crash when exiting the multiple client demo activity due to removing location updates after the fragment client has been disconnected.

Fixes #166

@sarahsnow1 sarahsnow1 merged commit eca6652 into master Mar 6, 2017
@sarahsnow1 sarahsnow1 deleted the 166-check-if-client-is-connected branch March 6, 2017 17:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request and remove location updates should throw exception if client not connected
2 participants