mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
fix codacy
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
53b4df7bf8
commit
3022591419
1 changed files with 2 additions and 3 deletions
|
@ -357,9 +357,8 @@ public class Preferences extends PreferenceActivity
|
||||||
if (feedbackEnabled) {
|
if (feedbackEnabled) {
|
||||||
pFeedback.setOnPreferenceClickListener(preference -> {
|
pFeedback.setOnPreferenceClickListener(preference -> {
|
||||||
String feedback = getText(R.string.prefs_feedback) + " - android v" + appVersion;
|
String feedback = getText(R.string.prefs_feedback) + " - android v" + appVersion;
|
||||||
Intent intent = new Intent(Intent.ACTION_SENDTO,
|
Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts("mailto", "", null));
|
||||||
Uri.fromParts("mailto", "", null));
|
intent.putExtra(Intent.EXTRA_EMAIL, new String[]{getString(R.string.mail_feedback)});
|
||||||
intent.putExtra(android.content.Intent.EXTRA_EMAIL,new String[] { getString(R.string.mail_feedback) });
|
|
||||||
intent.putExtra(Intent.EXTRA_SUBJECT, feedback);
|
intent.putExtra(Intent.EXTRA_SUBJECT, feedback);
|
||||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue