mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-07 18:38:48 +00:00
ErrorReporter: Add installer to report subjects.
This commit is contained in:
parent
88d50f088d
commit
afcdf3488f
1 changed files with 3 additions and 0 deletions
|
@ -236,6 +236,9 @@ public class ErrorReporter implements Thread.UncaughtExceptionHandler {
|
||||||
final StringBuilder subject = new StringBuilder(context.getString(prefixResId));
|
final StringBuilder subject = new StringBuilder(context.getString(prefixResId));
|
||||||
subject.append(": ");
|
subject.append(": ");
|
||||||
subject.append(versionName);
|
subject.append(versionName);
|
||||||
|
final String installer = Installer.installerPackageName(context);
|
||||||
|
if (installer != null)
|
||||||
|
subject.append(", installer ").append(installer);
|
||||||
return subject.toString();
|
return subject.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue