forked from organicmaps/organicmaps
Added device info to bug report mail.
This commit is contained in:
parent
dfc97ca7a9
commit
b88974b8a4
1 changed files with 4 additions and 1 deletions
|
@ -306,7 +306,10 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
|
|||
{
|
||||
Statistics.INSTANCE.trackSimpleNamedEvent(Statistics.EventName.REPORT_BUG);
|
||||
final Intent intent = new Intent(Intent.ACTION_SENDTO);
|
||||
intent.setData(Utils.buildMailUri(Constants.Url.MAIL_MAPSME_BUGS, "", ""));
|
||||
intent.setData(Utils.buildMailUri(Constants.Url.MAIL_MAPSME_BUGS, "",
|
||||
"Android version : " + Build.VERSION.RELEASE + "\n" +
|
||||
"Device name : " + android.os.Build.MANUFACTURER + " " + android.os.Build.MODEL + "\n\n"
|
||||
));
|
||||
startActivity(intent);
|
||||
}
|
||||
else if (key.equals(getString(R.string.pref_like_fb)))
|
||||
|
|
Loading…
Add table
Reference in a new issue