Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Yunitsky <yunik@mapswithme.com>2015-09-07 12:31:07 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:03:55 +0300
commit2e99ed192f887281e9c6f41deaf2e62a6a72ac65 (patch)
tree49bf6732c0b9fc812e97f2034e158544b945fda2 /android
parent095d09736053c13901da68c10f3a18878d5f9b7c (diff)
[android] Fixed inproper listeners disconnection.
Diffstat (limited to 'android')
-rw-r--r--android/src/com/mapswithme/maps/MwmActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/com/mapswithme/maps/MwmActivity.java b/android/src/com/mapswithme/maps/MwmActivity.java
index 59ad3ff8e5..7ebead89ee 100644
--- a/android/src/com/mapswithme/maps/MwmActivity.java
+++ b/android/src/com/mapswithme/maps/MwmActivity.java
@@ -969,9 +969,9 @@ public class MwmActivity extends BaseMwmFragmentActivity
@Override
protected void onPause()
{
+ stopLocationStateUpdates();
pauseLocation();
stopWatchingExternalStorage();
- stopLocationStateUpdates();
TtsPlayer.INSTANCE.stop();
LikesManager.INSTANCE.cancelDialogs();
super.onPause();