Android Mock Location locks GPS on status bar
- by Mark Manickaraj
I created an app that uses mock locations to insert GPS coordinates. After removing the test provider via:
mLocationManager.clearTestProviderLocation(mocLocationProvider);
mLocationManager.removeTestProvider(mocLocationProvider);
mLocationManager.removeUpdates(mLocationListener);
When I launch google maps for example after exiting the app the GPS location is found and then never goes away. "Location Set By GPS" always remains on the notification bar even though my app is ended.
Any ideas?