set intent to null when handled
This commit is contained in:
parent
6ef225980f
commit
68bcae42a2
2 changed files with 3 additions and 0 deletions
|
@ -351,6 +351,7 @@ public class MapActivity extends AccessibleActivity {
|
|||
{
|
||||
showImportedGpx(new File(data.getPath()));
|
||||
}
|
||||
setIntent(null);
|
||||
}
|
||||
else if("google.navigation".equals(scheme) || "osmand.navigation".equals(scheme))
|
||||
{
|
||||
|
@ -376,6 +377,7 @@ public class MapActivity extends AccessibleActivity {
|
|||
{
|
||||
AccessibleToast.makeText(this, getString(R.string.navigation_intent_invalid, schemeSpecificPart), Toast.LENGTH_LONG).show(); //$NON-NLS-1$
|
||||
}
|
||||
setIntent(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -76,6 +76,7 @@ public class GeoIntentActivity extends OsmandListActivity {
|
|||
progress.setCancelable(true);
|
||||
|
||||
task.execute();
|
||||
setIntent(null);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue