From ea13527be031b54371d04686f0772ef1b839bb54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20P=C3=B3=C5=82grabia?= Date: Sat, 10 Sep 2016 00:00:21 +0200 Subject: [PATCH] Fix of compilation error. --- app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java b/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java index fcb4bcc..1e46cbb 100644 --- a/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java +++ b/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java @@ -246,7 +246,7 @@ public class MainActivity extends ActionBarActivity implements GestureDetector.O final Context ctx = this; - locationCallback.setLocationChangedCallback(new StandardLocationListenerCallback() { + locationCallback.addCallback(new StandardLocationListenerCallback() { @Override public void callback(Location location) { double lat = location.getLatitude();