Use https when sharing an app
This commit is contained in:
parent
e44f8b67a7
commit
ff0f3a27f9
@ -198,7 +198,7 @@ public class AppDetails extends ListActivity {
|
|||||||
// market://details?id=app.id
|
// market://details?id=app.id
|
||||||
appid = data.getQueryParameter("id");
|
appid = data.getQueryParameter("id");
|
||||||
} else {
|
} else {
|
||||||
// http://f-droid.org/app/app.id
|
// https://f-droid.org/app/app.id
|
||||||
appid = data.getLastPathSegment();
|
appid = data.getLastPathSegment();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -776,7 +776,7 @@ public class AppDetails extends ListActivity {
|
|||||||
shareIntent.setType("text/plain");
|
shareIntent.setType("text/plain");
|
||||||
|
|
||||||
shareIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, app.name);
|
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)));
|
startActivity(Intent.createChooser(shareIntent, getString(R.string.menu_share)));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user