bugfix: use correct string format for geo intent including zoom

This commit is contained in:
Philipp Schaefer 2014-02-19 01:19:40 +01:00
parent 5a53e88a41
commit bda40fa331

View File

@ -106,7 +106,7 @@ public class IntentGenerator {
public ArrayList<Intent> getGeoIntents(final String title, final String mLl, final int mZoom) {
final Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse(String.format("geo:%s&z=%d", mLl, mZoom)))
Uri.parse(String.format("geo:%s?z=%d", mLl, mZoom)))
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
final ArrayList<Intent> targets = resolveTargets(intent);