diff --git a/src/main/java/com/owncloud/android/ui/activity/Preferences.java b/src/main/java/com/owncloud/android/ui/activity/Preferences.java index 4cbec4bd2f..34c68914a1 100644 --- a/src/main/java/com/owncloud/android/ui/activity/Preferences.java +++ b/src/main/java/com/owncloud/android/ui/activity/Preferences.java @@ -356,10 +356,10 @@ public class Preferences extends PreferenceActivity if (pFeedback != null) { if (feedbackEnabled) { pFeedback.setOnPreferenceClickListener(preference -> { - String feedbackMail = getString(R.string.mail_feedback); String feedback = getText(R.string.prefs_feedback) + " - android v" + appVersion; - Intent intent = new Intent(Intent.ACTION_SENDTO); - intent.setDataAndType(Uri.parse(feedbackMail), "text/plain"); + Intent intent = new Intent(Intent.ACTION_SENDTO, + Uri.fromParts("mailto", "", null)); + intent.putExtra(android.content.Intent.EXTRA_EMAIL,new String[] { getString(R.string.mail_feedback) }); intent.putExtra(Intent.EXTRA_SUBJECT, feedback); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); diff --git a/src/main/res/values/setup.xml b/src/main/res/values/setup.xml index 61f61e9d81..d172c7f79c 100644 --- a/src/main/res/values/setup.xml +++ b/src/main/res/values/setup.xml @@ -107,7 +107,7 @@ true https://www.gnu.org/licenses/gpl-2.0.html - "mailto:android@nextcloud.com" + android@nextcloud.com "https://play.google.com/store/apps/details?id=com.nextcloud.client" https://nextcloud.com/install