From c5f142553d1efead7827cfab9b83de78917c41e3 Mon Sep 17 00:00:00 2001 From: Koen Rabaey Date: Thu, 24 Apr 2014 08:34:06 +0200 Subject: [PATCH] Need to override onNewIntent otherwise old intent is returned since activity is declared singleTop --- OsmAnd/src/net/osmand/plus/activities/MapActivity.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java index ec24d1644d..64827dc891 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java @@ -242,7 +242,11 @@ public class MapActivity extends AccessibleActivity { return l; } - + @Override + protected void onNewIntent(final Intent intent) + { + setIntent(intent); + } @Override protected void onResume() {