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 Kunin <dkunin@mapswith.me>2013-09-23 15:38:49 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:02:24 +0300
commit34072f92b6c271b8ac7ab4356faabfdd43f3eb26 (patch)
tree1dfd1e57766c841c2f1f85c5671584f4fd17e246
parentcc43226bf250dd36c0ab973d2148bc4f4973feaa (diff)
[yota] reversed setUpProviders/stopListening
-rw-r--r--android/YoPme/src/com/mapswithme/location/LocationRequester.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/YoPme/src/com/mapswithme/location/LocationRequester.java b/android/YoPme/src/com/mapswithme/location/LocationRequester.java
index bca70cb784..c6ded1c7c9 100644
--- a/android/YoPme/src/com/mapswithme/location/LocationRequester.java
+++ b/android/YoPme/src/com/mapswithme/location/LocationRequester.java
@@ -99,8 +99,8 @@ public class LocationRequester implements Handler.Callback
if (newLevel != mBatteryLevel)
{
mBatteryLevel = newLevel;
- setUpProviders();
stopListening();
+ setUpProviders();
startListening();
Log.d(TAG, "Changed providers list due to battery level update.");
}