add package field to crash report
This commit is contained in:
parent
af2cddee91
commit
9bd5aa0da4
20 changed files with 4 additions and 19 deletions
|
|
@ -1,7 +1,6 @@
|
|||
package org.schabi.newpipe;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
|
||||
import org.acra.collector.CrashReportData;
|
||||
import org.acra.sender.ReportSender;
|
||||
|
|
|
|||
|
|
@ -365,6 +365,7 @@ public class ErrorActivity extends AppCompatActivity {
|
|||
+ "\n" + getContentLangString()
|
||||
+ "\n" + info.serviceName
|
||||
+ "\n" + currentTimeStamp
|
||||
+ "\n" + getPackageName()
|
||||
+ "\n" + BuildConfig.VERSION_NAME
|
||||
+ "\n" + getOsString();
|
||||
|
||||
|
|
@ -379,6 +380,7 @@ public class ErrorActivity extends AppCompatActivity {
|
|||
.put("request", errorInfo.request)
|
||||
.put("content_language", getContentLangString())
|
||||
.put("service", errorInfo.serviceName)
|
||||
.put("package", getPackageName())
|
||||
.put("version", BuildConfig.VERSION_NAME)
|
||||
.put("os", getOsString())
|
||||
.put("time", currentTimeStamp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue