mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-07 23:28:47 +00:00
ErrorReporter: Add device manufacturer, brand and model to report subjects.
This commit is contained in:
parent
51e8350dee
commit
1a4c797c79
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue