1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-24 00:50:32 +00:00

add package field to crash report

This commit is contained in:
Christian Schabesberger 2016-09-13 23:31:06 +02:00
parent af2cddee91
commit 9bd5aa0da4
20 changed files with 4 additions and 19 deletions

View File

@ -1,7 +1,6 @@
package org.schabi.newpipe; package org.schabi.newpipe;
import android.content.Context; import android.content.Context;
import android.util.Log;
import org.acra.collector.CrashReportData; import org.acra.collector.CrashReportData;
import org.acra.sender.ReportSender; import org.acra.sender.ReportSender;

View File

@ -365,6 +365,7 @@ public class ErrorActivity extends AppCompatActivity {
+ "\n" + getContentLangString() + "\n" + getContentLangString()
+ "\n" + info.serviceName + "\n" + info.serviceName
+ "\n" + currentTimeStamp + "\n" + currentTimeStamp
+ "\n" + getPackageName()
+ "\n" + BuildConfig.VERSION_NAME + "\n" + BuildConfig.VERSION_NAME
+ "\n" + getOsString(); + "\n" + getOsString();
@ -379,6 +380,7 @@ public class ErrorActivity extends AppCompatActivity {
.put("request", errorInfo.request) .put("request", errorInfo.request)
.put("content_language", getContentLangString()) .put("content_language", getContentLangString())
.put("service", errorInfo.serviceName) .put("service", errorInfo.serviceName)
.put("package", getPackageName())
.put("version", BuildConfig.VERSION_NAME) .put("version", BuildConfig.VERSION_NAME)
.put("os", getOsString()) .put("os", getOsString())
.put("time", currentTimeStamp) .put("time", currentTimeStamp)

View File

@ -135,7 +135,6 @@
<string name="autoplay_by_calling_app_summary">Auto-reproduz un videu al llamar a NewPipe dende otra aplicación.</string> <string name="autoplay_by_calling_app_summary">Auto-reproduz un videu al llamar a NewPipe dende otra aplicación.</string>
<string name="autoplay_by_calling_app_title">Auto-reproducir al llamar dende otra aplicación</string> <string name="autoplay_by_calling_app_title">Auto-reproducir al llamar dende otra aplicación</string>
<string name="info_labels">Qué:\\nSolicitú:\\nLlingua conteníu:\\nServiciu:\\nHora GMT:\\nVersión:\\nVersión SO:\\nRangu global d\'IP:</string>
<string name="detail_uploader_thumbnail_view_description">Miniatura del xubidor</string> <string name="detail_uploader_thumbnail_view_description">Miniatura del xubidor</string>
<string name="detail_dislikes_img_view_description">Despréstames</string> <string name="detail_dislikes_img_view_description">Despréstames</string>
<string name="error_querying_decoders">Nun puen consultase los descodificadores del preséu</string> <string name="error_querying_decoders">Nun puen consultase los descodificadores del preséu</string>

View File

@ -91,7 +91,7 @@
<string name="error_snackbar_action">MELDEN</string> <string name="error_snackbar_action">MELDEN</string>
<string name="what_device_headline">Info:</string> <string name="what_device_headline">Info:</string>
<string name="what_happened_headline">Dies ist passiert:</string> <string name="what_happened_headline">Dies ist passiert:</string>
<string name="info_labels">Was:\\nAnfrage:\\nSprache des Inhalts:\\nDienst:\\nZeit (GMT):\\nVersion:\\nOS-Version:\\nGlob. IP-Bereich:</string> <string name="info_labels">Was:\\nAnfrage:\\nSprache des Inhalts:\\nDienst:\\nZeit (GMT):\\nPacket:\\nVersion:\\nOS-Version:\\nGlob. IP-Bereich:</string>
<string name="error_details_headline">Details:</string> <string name="error_details_headline">Details:</string>

View File

@ -99,7 +99,6 @@
<string name="error_snackbar_action">REPORTAR</string> <string name="error_snackbar_action">REPORTAR</string>
<string name="what_device_headline">Información:</string> <string name="what_device_headline">Información:</string>
<string name="what_happened_headline">Qué ha ocurrido:</string> <string name="what_happened_headline">Qué ha ocurrido:</string>
<string name="info_labels">Que:\\nSolicitud:\\nIdioma del contenido:\\nServicio:\\nHora GMT:\\nVersión:\\nVersión del SO:\\nRango global de IP:</string>
<string name="info_searched_lbl">Buscado:</string> <string name="info_searched_lbl">Buscado:</string>
<string name="info_requested_stream_lbl">Stream solicitado:</string> <string name="info_requested_stream_lbl">Stream solicitado:</string>
<string name="your_comment">Su comentario (en Inglés):</string> <string name="your_comment">Su comentario (en Inglés):</string>

View File

@ -81,7 +81,6 @@
<string name="error_snackbar_action">گزارش</string> <string name="error_snackbar_action">گزارش</string>
<string name="what_device_headline">اطّلاعات:</string> <string name="what_device_headline">اطّلاعات:</string>
<string name="what_happened_headline">چه روی داد:</string> <string name="what_happened_headline">چه روی داد:</string>
<string name="info_labels">چه:\\nدرخواست:\\nزبان درخواست:\\nخدمت:\\nزمان GMT:\\nنگارش:\\nنگارش س.ع:\\nبازه آی‌پی:</string>
<string name="info_searched_lbl">جست‌وجو شده برای:</string> <string name="info_searched_lbl">جست‌وجو شده برای:</string>
<string name="info_requested_stream_lbl">جریان درخواستی:</string> <string name="info_requested_stream_lbl">جریان درخواستی:</string>
<string name="your_comment">توضیح شما (به انگلیسی):</string> <string name="your_comment">توضیح شما (به انگلیسی):</string>

View File

@ -121,7 +121,6 @@
<string name="logging_verbose">Verbeux</string> <string name="logging_verbose">Verbeux</string>
<string name="off">[désactivé]</string> <string name="off">[désactivé]</string>
<string name="error_querying_decoders">Impossible d\'accéder aux décodeurs de l\'appareil</string> <string name="error_querying_decoders">Impossible d\'accéder aux décodeurs de l\'appareil</string>
<string name="info_labels">Action :\\nRequête :\\nLangue du contenu :\\nService :\\nHeure GMT :\\nVersion :\\nVersion d\'OS :\\nIntervalle global d\'IP :</string>
<string name="downloads">Téléchargements</string> <string name="downloads">Téléchargements</string>
<string name="downloads_title">Téléchargements</string> <string name="downloads_title">Téléchargements</string>
<string name="settings_title">Paramètres</string> <string name="settings_title">Paramètres</string>

View File

@ -117,7 +117,6 @@
<string name="could_not_load_thumbnails">Nem sikerült az összes előnézeti kép betöltése</string> <string name="could_not_load_thumbnails">Nem sikerült az összes előnézeti kép betöltése</string>
<string name="parsing_error">Nem sikerült a weblap betöltése.</string> <string name="parsing_error">Nem sikerült a weblap betöltése.</string>
<string name="light_parsing_error">Nem sikerült a weblap teljes betöltése.</string> <string name="light_parsing_error">Nem sikerült a weblap teljes betöltése.</string>
<string name="info_labels">Mi:\\nKérés:\\nTartalom nyelve:\\nSzolgáltatás:\\nGMT Idő:\\nVerzió:\\nOS verzió:\\nGlob. IP tartomány:</string>
<string name="error_drm_not_supported">Védett tartalom nincs támogatva 18-as API alatt (Android 4.3)</string> <string name="error_drm_not_supported">Védett tartalom nincs támogatva 18-as API alatt (Android 4.3)</string>
<string name="error_drm_unsupported_scheme">Ez az eszköz nem támogatja a szükséges DRM sémát</string> <string name="error_drm_unsupported_scheme">Ez az eszköz nem támogatja a szükséges DRM sémát</string>
<string name="logging">Naplózás</string> <string name="logging">Naplózás</string>

View File

@ -100,7 +100,6 @@
<string name="error_snackbar_action">SEGNALA</string> <string name="error_snackbar_action">SEGNALA</string>
<string name="what_device_headline">Info:</string> <string name="what_device_headline">Info:</string>
<string name="what_happened_headline">Cosa è successo:</string> <string name="what_happened_headline">Cosa è successo:</string>
<string name="info_labels">Cosa:\\nRichiesta:\\nLingua Contenuto:\\nServizio:\\nOrario GMT:\\nVersione:\\nVersione SO:\\nRange glob. dell\'IP:</string>
<string name="info_searched_lbl">È stato cercato:</string> <string name="info_searched_lbl">È stato cercato:</string>
<string name="info_requested_stream_lbl">Stream richiesto:</string> <string name="info_requested_stream_lbl">Stream richiesto:</string>
<string name="your_comment">Il tuo commento (in inglese):</string> <string name="your_comment">Il tuo commento (in inglese):</string>

View File

@ -93,7 +93,6 @@
<string name="error_snackbar_action">報告</string> <string name="error_snackbar_action">報告</string>
<string name="what_device_headline">情報:</string> <string name="what_device_headline">情報:</string>
<string name="what_happened_headline">何が起こりましたか:</string> <string name="what_happened_headline">何が起こりましたか:</string>
<string name="info_labels">何:\\nリクエスト:\\nコンテンツの言語:\\nサービス:\\nGMT 時間:\\nバージョン:\\nOS バージョン:\\nグローバル IP の範囲:</string>
<string name="info_searched_lbl">検索結果:</string> <string name="info_searched_lbl">検索結果:</string>
<string name="info_requested_stream_lbl">要求したストリーム:</string> <string name="info_requested_stream_lbl">要求したストリーム:</string>
<string name="your_comment">あなたのコメント (英語で):</string> <string name="your_comment">あなたのコメント (英語で):</string>

View File

@ -95,7 +95,6 @@
<string name="error_snackbar_action">보고</string> <string name="error_snackbar_action">보고</string>
<string name="what_device_headline">정보:</string> <string name="what_device_headline">정보:</string>
<string name="what_happened_headline">다음이 발생함:</string> <string name="what_happened_headline">다음이 발생함:</string>
<string name="info_labels">사유:\\n요청t:\\n컨텐츠 언어:\\n서비스:\\nGMT 시간:\\n버전:\\nOS 버전:\\nGlob. IP 범위:</string>
<string name="info_searched_lbl">다음을 검색:</string> <string name="info_searched_lbl">다음을 검색:</string>
<string name="info_requested_stream_lbl">요청된 스트림:</string> <string name="info_requested_stream_lbl">요청된 스트림:</string>
<string name="your_comment">내용 (영어로 작성):</string> <string name="your_comment">내용 (영어로 작성):</string>

View File

@ -117,6 +117,5 @@
<string name="use_exoplayer_summary">Eksperimentelt</string> <string name="use_exoplayer_summary">Eksperimentelt</string>
<string name="duration_live">direkteoverført</string> <string name="duration_live">direkteoverført</string>
<string name="info_labels">Hva:\\nRequest:\\nContent Språk:\\nService:\\nGMT Tid:\\nVersion:\\nOS version:\\nGlob. IP-blokk:</string>
<string name="error_instantiating_decoder">Kunne ikke igangsette dekoder <xliff:g id="decoder_name">%1$s</xliff:g></string> <string name="error_instantiating_decoder">Kunne ikke igangsette dekoder <xliff:g id="decoder_name">%1$s</xliff:g></string>
</resources> </resources>

View File

@ -89,7 +89,6 @@
<string name="error_snackbar_action">Relatório</string> <string name="error_snackbar_action">Relatório</string>
<string name="what_device_headline">Info:</string> <string name="what_device_headline">Info:</string>
<string name="what_happened_headline">O que ocorreu:</string> <string name="what_happened_headline">O que ocorreu:</string>
<string name="info_labels">O quê:\\nPedido:\\nIdioma do conteúdo:\\nServiço:\\nHora GMT:\\nVersão:\\nVersão do So:\\nGlob. IP:</string>
<string name="info_searched_lbl">Pesquisou por:</string> <string name="info_searched_lbl">Pesquisou por:</string>
<string name="info_requested_stream_lbl">Emissão solicitada:</string> <string name="info_requested_stream_lbl">Emissão solicitada:</string>
<string name="your_comment">Comentários (em Inglês):</string> <string name="your_comment">Comentários (em Inglês):</string>

View File

@ -96,7 +96,6 @@
<string name="error_snackbar_action">RAPORTAȚI</string> <string name="error_snackbar_action">RAPORTAȚI</string>
<string name="what_device_headline">Informații:</string> <string name="what_device_headline">Informații:</string>
<string name="what_happened_headline">Ce s-a întâmplat:</string> <string name="what_happened_headline">Ce s-a întâmplat:</string>
<string name="info_labels">Ce:\\nRequest:\\nContent Lang:\\nService:\\nGMT Time:\\nVersion:\\nOS version:\\nGlob. Raza IP-ului:</string>
<string name="info_searched_lbl">S-a căutat pentru:</string> <string name="info_searched_lbl">S-a căutat pentru:</string>
<string name="info_requested_stream_lbl">Fluxul cerut:</string> <string name="info_requested_stream_lbl">Fluxul cerut:</string>
<string name="your_comment">Comentariul tău (în engleză):</string> <string name="your_comment">Comentariul tău (în engleză):</string>

View File

@ -91,7 +91,6 @@
<string name="error_snackbar_action">SPRÁVA</string> <string name="error_snackbar_action">SPRÁVA</string>
<string name="what_device_headline">Info:</string> <string name="what_device_headline">Info:</string>
<string name="what_happened_headline">Čo sa stalo:</string> <string name="what_happened_headline">Čo sa stalo:</string>
<string name="info_labels">Čo:\\nPožiadavka:\\nJazyk obsahu:\\nSlužba:\\nČas v GMT:\\nVerzia:\\nVerzia OS:\\nGlob. rozsah IP:</string>
<string name="info_searched_lbl">Hľadané:</string> <string name="info_searched_lbl">Hľadané:</string>
<string name="info_requested_stream_lbl">Požadované vysielanie:</string> <string name="info_requested_stream_lbl">Požadované vysielanie:</string>
<string name="your_comment">Váš komentár (v Angličtine):</string> <string name="your_comment">Váš komentár (v Angličtine):</string>

View File

@ -107,7 +107,6 @@
<string name="off">[izklopljeno]</string> <string name="off">[izklopljeno]</string>
<string name="use_exoplayer_title">Uporabi ExoPlayer</string> <string name="use_exoplayer_title">Uporabi ExoPlayer</string>
<string name="use_exoplayer_summary">Preizkusne zmožnosti</string> <string name="use_exoplayer_summary">Preizkusne zmožnosti</string>
<string name="info_labels">Predmet:\\nZahteva:\\nJezik vsebine:\\nStoritev:\\nČas po GMT:\\nRazličica:\\nRazličica OS:\\nObseg IP:</string>
<string name="info_searched_lbl">Iskano:</string> <string name="info_searched_lbl">Iskano:</string>
<string name="info_requested_stream_lbl">Zahtevan pretok:</string> <string name="info_requested_stream_lbl">Zahtevan pretok:</string>
<string name="your_comment">Opomba (v angleščini):</string> <string name="your_comment">Opomba (v angleščini):</string>

View File

@ -95,7 +95,6 @@
<string name="error_snackbar_action">ПРИЈАВИ</string> <string name="error_snackbar_action">ПРИЈАВИ</string>
<string name="what_device_headline">Подаци:</string> <string name="what_device_headline">Подаци:</string>
<string name="what_happened_headline">Шта се десило:</string> <string name="what_happened_headline">Шта се десило:</string>
<string name="info_labels">Шта:\\nЗахтев:\\nЈезик садржаја:\\nУслуга:\\nГМТ време:\\nИздање:\\nИздање система:\\nГлоб. ИП опсег:</string>
<string name="your_comment">Ваш коментар (на енглеском):</string> <string name="your_comment">Ваш коментар (на енглеском):</string>
<string name="error_details_headline">Детаљи:</string> <string name="error_details_headline">Детаљи:</string>

View File

@ -79,5 +79,4 @@
<string name="error_snackbar_action">ЗВІТУВАТИ</string> <string name="error_snackbar_action">ЗВІТУВАТИ</string>
<string name="what_device_headline">Інформація:</string> <string name="what_device_headline">Інформація:</string>
<string name="what_happened_headline">Що сталося:</string> <string name="what_happened_headline">Що сталося:</string>
<string name="info_labels">Що:\\nЗапит:\\nМова контенту:\\nСервіс:\\nЧас GMT:\\nВерсія:\\nВерсія ОС:\\nДіапазон IP:</string>
</resources> </resources>

View File

@ -89,7 +89,6 @@
<string name="error_details_headline">详细信息:</string> <string name="error_details_headline">详细信息:</string>
<string name="info_labels">什么:\\n请求\\n内容语言\\n服务\\nGMT 时间:\\n版本\\nOS 版本:\\nGlob. IP 范围:</string>
<string name="report_error">报告错误</string> <string name="report_error">报告错误</string>
<string name="user_report">用户报告</string> <string name="user_report">用户报告</string>

View File

@ -106,7 +106,7 @@
<string name="error_snackbar_action">REPORT</string> <string name="error_snackbar_action">REPORT</string>
<string name="what_device_headline">Info:</string> <string name="what_device_headline">Info:</string>
<string name="what_happened_headline">What happened:</string> <string name="what_happened_headline">What happened:</string>
<string name="info_labels">What:\\nRequest:\\nContent Lang:\\nService:\\nGMT Time:\\nVersion:\\nOS version:\\nGlob. IP range:</string> <string name="info_labels">What:\\nRequest:\\nContent Lang:\\nService:\\nGMT Time:\\nPackage:\\nVersion:\\nOS version:\\nGlob. IP range:</string>
<string name="info_searched_lbl">Searched for:</string> <string name="info_searched_lbl">Searched for:</string>
<string name="info_requested_stream_lbl">Requested stream:</string> <string name="info_requested_stream_lbl">Requested stream:</string>
<string name="your_comment">Your comment (in English):</string> <string name="your_comment">Your comment (in English):</string>