mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-12-05 20:55:19 +00:00
add package field to crash report
This commit is contained in:
1 parent
af2cddee91
commit
9bd5aa0da4
20 files changed
+4
-19
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user