This commit is contained in:
Alexey Kulish 2016-11-06 18:03:44 +03:00
parent 5f0add31a3
commit f78bb712f8

View file

@ -95,7 +95,11 @@ public class PluginActivity extends OsmandActionBarActivity {
getButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(plugin.getInstallURL())));
try {
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(plugin.getInstallURL())));
} catch (Exception e) {
//ignored
}
}
});