Use https when sharing an app

This commit is contained in:
Daniel Martí 2013-07-22 16:19:41 +02:00
parent e44f8b67a7
commit ff0f3a27f9

View File

@ -198,7 +198,7 @@ public class AppDetails extends ListActivity {
// market://details?id=app.id
appid = data.getQueryParameter("id");
} else {
// http://f-droid.org/app/app.id
// https://f-droid.org/app/app.id
appid = data.getLastPathSegment();
}
} else {
@ -776,7 +776,7 @@ public class AppDetails extends ListActivity {
shareIntent.setType("text/plain");
shareIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, app.name);
shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, "http://f-droid.org/app/"+app.id);
shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, "https://f-droid.org/app/"+app.id);
startActivity(Intent.createChooser(shareIntent, getString(R.string.menu_share)));
}