Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Subsequent calls to FusedLocation's Stop throws Java.Lang.IllegalStateException #139

Open
Cheesebaron opened this issue Sep 27, 2016 · 1 comment

Comments

@Cheesebaron
Copy link
Member

Steps to reproduce

  1. Start listening to location
  2. Stop listening (ok)
  3. Stop listening (not ok)

Expected behavior

Subsequent calls should be ignored as we are already stopped

Actual behavior

IllegalStateException is thrown telling GoogleApi is not connected

Configuration

Version: 4.3.0

Platform: Android

Quick fix would be to check weather Started is true before calling Stop.

@orzech85
Copy link

orzech85 commented Dec 9, 2016

I have tested that and I can't reproduce it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants