From d7c858f2c82e25e2e60c27fbba6b116f27a71b25 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 9 Dec 2016 09:42:58 +0100 Subject: [PATCH 1/2] Show dialog --- plugins/Osmand-Skimaps/AndroidManifest.xml | 2 -- .../Osmand-Skimaps/src/net/osmand/skimaps/SkiMapsActivity.java | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/Osmand-Skimaps/AndroidManifest.xml b/plugins/Osmand-Skimaps/AndroidManifest.xml index f2e70094c9..523eb58d5c 100644 --- a/plugins/Osmand-Skimaps/AndroidManifest.xml +++ b/plugins/Osmand-Skimaps/AndroidManifest.xml @@ -14,12 +14,10 @@ - diff --git a/plugins/Osmand-Skimaps/src/net/osmand/skimaps/SkiMapsActivity.java b/plugins/Osmand-Skimaps/src/net/osmand/skimaps/SkiMapsActivity.java index beb3d41494..e4ae9637d5 100644 --- a/plugins/Osmand-Skimaps/src/net/osmand/skimaps/SkiMapsActivity.java +++ b/plugins/Osmand-Skimaps/src/net/osmand/skimaps/SkiMapsActivity.java @@ -44,7 +44,7 @@ public class SkiMapsActivity extends Activity { builder.setPositiveButton(getString(R.string.shared_string_yes), new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { - Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?q=pname:" + OSMAND_COMPONENT_PLUS)); + Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?q=pname:" + OSMAND_COMPONENT)); try { stopService(intent); startActivity(intent); From 86df4953f92fa1368649b0b6cb82ec5ae57ae417 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 9 Dec 2016 09:43:18 +0100 Subject: [PATCH 2/2] Show dialog --- .../Osmand-Skimaps/src/net/osmand/skimaps/SkiMapsActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Osmand-Skimaps/src/net/osmand/skimaps/SkiMapsActivity.java b/plugins/Osmand-Skimaps/src/net/osmand/skimaps/SkiMapsActivity.java index e4ae9637d5..18a4e12c04 100644 --- a/plugins/Osmand-Skimaps/src/net/osmand/skimaps/SkiMapsActivity.java +++ b/plugins/Osmand-Skimaps/src/net/osmand/skimaps/SkiMapsActivity.java @@ -2,7 +2,7 @@ package net.osmand.skimaps; import net.osmand.skimapsPlugin.R; import android.app.Activity; -import android.support.v7.app.AlertDialog; +import android.app.AlertDialog; import android.content.ActivityNotFoundException; import android.content.ComponentName; import android.content.DialogInterface;