ErrorReporter: Add device manufacturer, brand and model to report subjects.

This commit is contained in:
Andreas Schildbach 2018-12-13 20:12:34 +01:00
parent 51e8350dee
commit 1a4c797c79

View file

@ -240,6 +240,10 @@ public class ErrorReporter implements Thread.UncaughtExceptionHandler {
if (installer != null)
subject.append(", installer ").append(installer);
subject.append(", android ").append(Build.VERSION.RELEASE);
subject.append(", ").append(Build.MANUFACTURER);
if (!Build.BRAND.equalsIgnoreCase(Build.MANUFACTURER))
subject.append(' ').append(Build.BRAND);
subject.append(' ').append(Build.MODEL);
return subject.toString();
}