mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-07 06:08:51 +00:00
ErrorReporter: Move report email from string resources to Constants.
This commit is contained in:
parent
37700f49d3
commit
52991c49f8
3 changed files with 3 additions and 3 deletions
|
@ -6,6 +6,5 @@
|
|||
<!-- error reporter -->
|
||||
<string name="error_reporter_crash_mail_subject">Oeffi Crash Report</string>
|
||||
<string name="error_reporter_bug_mail_subject">Oeffi Bug Report</string>
|
||||
<string name="error_reporter_mail_recipient">oeffi.app@gmail.com</string>
|
||||
|
||||
</resources>
|
|
@ -39,6 +39,8 @@ public class Constants {
|
|||
public static final String GOOGLE_PLAY_APP_URL = "https://play.google.com/store/apps/details?id=%s";
|
||||
public static final String BITCOIN_ADDRESS = "1PW21MuBgPnjfUQriwK7TnRADFotEhdysr";
|
||||
|
||||
public static final String REPORT_EMAIL = "oeffi.app@gmail.com";
|
||||
|
||||
public static final long LOCATION_UPDATE_FREQ_MS = 10 * DateUtils.SECOND_IN_MILLIS;
|
||||
public static final int LOCATION_UPDATE_DISTANCE = 3;
|
||||
public static final long LOCATION_TIMEOUT_MS = 2 * DateUtils.MINUTE_IN_MILLIS;
|
||||
|
|
|
@ -251,8 +251,7 @@ public class ErrorReporter implements Thread.UncaughtExceptionHandler {
|
|||
intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, attachments);
|
||||
}
|
||||
|
||||
final String email = context.getString(R.string.error_reporter_mail_recipient);
|
||||
intent.putExtra(Intent.EXTRA_EMAIL, new String[] { email });
|
||||
intent.putExtra(Intent.EXTRA_EMAIL, new String[] { Constants.REPORT_EMAIL });
|
||||
intent.putExtra(Intent.EXTRA_TEXT, report.toString());
|
||||
intent.putExtra(Intent.EXTRA_SUBJECT, subject);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue