From 3fbefffaffb1c32a1006c9195a6efdfc750ff091 Mon Sep 17 00:00:00 2001 From: vng Date: Tue, 16 Oct 2012 13:42:59 +0300 Subject: [PATCH] [android] Do restoring of "My Position" status in onResume. --- android/src/com/mapswithme/maps/MWMActivity.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/android/src/com/mapswithme/maps/MWMActivity.java b/android/src/com/mapswithme/maps/MWMActivity.java index dc8d3ef30d..c26ef1c058 100644 --- a/android/src/com/mapswithme/maps/MWMActivity.java +++ b/android/src/com/mapswithme/maps/MWMActivity.java @@ -139,7 +139,6 @@ public class MWMActivity extends NvEventQueueActivity implements LocationService public void run() { // Run all checks in main thread after rendering is initialized. - checkShouldResumeLocationService(); checkMeasurementSystem(); checkProVersionAvailable(); checkUpdateMaps(); @@ -707,8 +706,7 @@ public class MWMActivity extends NvEventQueueActivity implements LocationService @Override protected void onResume() { - // all actions to restore the current state of the location mark - // are taken in OnRenderingInitialized. + checkShouldResumeLocationService(); startWatchingCompassStatusUpdate();