mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-26 07:10:37 +01:00
Fixed plyer bug
This commit is contained in:
parent
7da64a10cf
commit
34ec42fc89
@ -81,6 +81,7 @@ class AndroidGPS(GPS):
|
|||||||
Looper.getMainLooper())
|
Looper.getMainLooper())
|
||||||
|
|
||||||
def _stop(self):
|
def _stop(self):
|
||||||
|
if hasattr(self, "_location_manager") and self._location_manager != None:
|
||||||
self._location_manager.removeUpdates(self._location_listener)
|
self._location_manager.removeUpdates(self._location_listener)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user