ErrorReporter: Add installer to report subjects.

This commit is contained in:
Andreas Schildbach 2018-12-13 20:07:51 +01:00
parent 88d50f088d
commit afcdf3488f

View file

@ -236,6 +236,9 @@ public class ErrorReporter implements Thread.UncaughtExceptionHandler {
final StringBuilder subject = new StringBuilder(context.getString(prefixResId));
subject.append(": ");
subject.append(versionName);
final String installer = Installer.installerPackageName(context);
if (installer != null)
subject.append(", installer ").append(installer);
return subject.toString();
}