Remove ACRA and implement the few bits we need ourselves

This commit is contained in:
Torsten Grote
2020-12-08 18:14:34 -03:00
parent 8d735b3023
commit eb3c2a3566
30 changed files with 1113 additions and 828 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@@ -79,19 +79,20 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/user_email_layout" />
<LinearLayout
android:id="@+id/report_content"
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingStart="@dimen/margin_large"
android:paddingTop="@dimen/margin_small"
android:paddingEnd="@dimen/margin_large"
android:paddingBottom="@dimen/listitem_height_one_line_avatar"
android:paddingBottom="@dimen/margin_large"
android:visibility="gone"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/include_debug_report"
tools:listitem="@layout/list_item_crash"
tools:visibility="visible" />
<ProgressBar
@@ -99,8 +100,7 @@
style="?android:attr/progressBarStyleLarge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true"
android:visibility="gone"
android:visibility="invisible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -109,4 +109,4 @@
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>
</androidx.core.widget.NestedScrollView>

View File

@@ -568,9 +568,21 @@
<string name="include_debug_report_crash">Include anonymous data about the crash</string>
<string name="include_debug_report_feedback">Include anonymous data about this device</string>
<string name="could_not_load_report_data">Could not load report data.</string>
<string name="dev_report_basic_info">Basic information</string>
<string name="dev_report_device_info">Device information</string>
<string name="dev_report_time_info">Time information</string>
<string name="dev_report_memory">Memory</string>
<string name="dev_report_storage">Storage</string>
<string name="dev_report_connectivity">Connectivity</string>
<string name="dev_report_build_config">Build configuration</string>
<string name="dev_report_logcat">App log</string>
<string name="dev_report_device_features">Device Features</string>
<string name="send_report">Send report</string>
<string name="close">Close</string>
<string name="dev_report_sending">Trying to send feedback now…</string>
<string name="dev_report_sent">Feedback sent.</string>
<string name="dev_report_saved">Report saved. It will be sent the next time you log into Briar.</string>
<string name="dev_report_error">Error: Sending report failed.</string>
<!-- Sign Out -->
<string name="progress_title_logout">Signing out of Briar…</string>