summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/crashreporter
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-04-23 15:32:23 -0400
committerMatt A. Tobin <email@mattatobin.com>2019-04-23 15:32:23 -0400
commitabe80cc31d5a40ebed743085011fbcda0c1a9a10 (patch)
treefb3762f06b84745b182af281abb107b95a9fcf01 /mobile/android/base/crashreporter
parent63295d0087eb58a6eb34cad324c4c53d1b220491 (diff)
downloadUXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar
UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar.gz
UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar.lz
UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar.xz
UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.zip
Issue #1053 - Drop support Android and remove Fennec - Part 1a: Remove mobile/android
Diffstat (limited to 'mobile/android/base/crashreporter')
-rw-r--r--mobile/android/base/crashreporter/res/drawable-mdpi/crash_reporter.pngbin2833 -> 0 bytes
-rw-r--r--mobile/android/base/crashreporter/res/drawable/textbox_bg.xml22
-rw-r--r--mobile/android/base/crashreporter/res/layout/crash_reporter.xml126
-rw-r--r--mobile/android/base/crashreporter/res/values/colors.xml13
-rw-r--r--mobile/android/base/crashreporter/res/values/styles.xml15
5 files changed, 0 insertions, 176 deletions
diff --git a/mobile/android/base/crashreporter/res/drawable-mdpi/crash_reporter.png b/mobile/android/base/crashreporter/res/drawable-mdpi/crash_reporter.png
deleted file mode 100644
index c9f495d30..000000000
--- a/mobile/android/base/crashreporter/res/drawable-mdpi/crash_reporter.png
+++ /dev/null
Binary files differ
diff --git a/mobile/android/base/crashreporter/res/drawable/textbox_bg.xml b/mobile/android/base/crashreporter/res/drawable/textbox_bg.xml
deleted file mode 100644
index bcc884a08..000000000
--- a/mobile/android/base/crashreporter/res/drawable/textbox_bg.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
- - License, v. 2.0. If a copy of the MPL was not distributed with this
- - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
-
- <item android:state_enabled="true">
- <shape>
- <solid android:color="@color/textbox_background" />
- <stroke android:width="1dp" android:color="@color/textbox_stroke" />
- </shape>
- </item>
-
- <item android:state_enabled="false">
- <shape>
- <solid android:color="@color/textbox_background_disabled" />
- <stroke android:width="1dp" android:color="@color/textbox_stroke_disabled" />
- </shape>
- </item>
-
-</selector>
diff --git a/mobile/android/base/crashreporter/res/layout/crash_reporter.xml b/mobile/android/base/crashreporter/res/layout/crash_reporter.xml
deleted file mode 100644
index b7285dc20..000000000
--- a/mobile/android/base/crashreporter/res/layout/crash_reporter.xml
+++ /dev/null
@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
- - License, v. 2.0. If a copy of the MPL was not distributed with this
- - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fillViewport="true">
-
- <LinearLayout android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:background="@color/toolbar_grey">
-
- <LinearLayout android:layout_width="match_parent"
- android:layout_height="0dp"
- android:orientation="vertical"
- android:padding="10dp"
- android:layout_weight="1">
-
- <TextView android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="10dip"
- android:textSize="30sp"
- android:textColor="#000"
- android:layout_gravity="center_horizontal"
- android:fontFamily="sans-serif-light"
- android:text="@string/crash_sorry"/>
-
- <TextView android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="10dip"
- android:textAppearance="@style/TextAppearance"
- android:text="@string/crash_message2"/>
-
- <CheckBox android:id="@+id/send_report"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:checked="true"
- android:textColor="@color/primary_text"
- android:layout_marginBottom="10dp"
- android:text="@string/crash_send_report_message3"/>
-
- <EditText android:id="@+id/comment"
- style="@style/CrashReporter.EditText"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ems="10"
- android:inputType="textMultiLine"
- android:lines="5"
- android:gravity="top"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginBottom="10dp"
- android:hint="@string/crash_comment" />
-
- <CheckBox android:id="@+id/include_url"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="@color/primary_text"
- android:textAppearance="@style/TextAppearance"
- android:layout_marginBottom="10dp"
- android:text="@string/crash_include_url2"/>
-
- <CheckBox android:id="@+id/allow_contact"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="@color/primary_text"
- android:textAppearance="@style/TextAppearance"
- android:layout_marginBottom="10dp"
- android:text="@string/crash_allow_contact2"/>
-
- <org.mozilla.gecko.widget.ClickableWhenDisabledEditText
- android:id="@+id/email"
- style="@style/CrashReporter.EditText"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ems="10"
- android:inputType="textEmailAddress"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:enabled="false"
- android:clickable="true"
- android:hint="@string/crash_email" />
-
- </LinearLayout>
-
- <View android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#999" />
-
- <LinearLayout android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_gravity="bottom">
-
- <Button android:id="@+id/close"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1.0"
- android:padding="15dp"
- android:onClick="onCloseClick"
- android:text="@string/crash_close_label"
- android:textAppearance="?android:attr/textAppearance"
- android:background="@drawable/action_bar_button"/>
-
- <View android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="#999" />
-
- <Button android:id="@+id/restart"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1.0"
- android:padding="15dp"
- android:onClick="onRestartClick"
- android:text="@string/crash_restart_label"
- android:textAppearance="?android:attr/textAppearance"
- android:background="@drawable/action_bar_button"/>
-
- </LinearLayout>
-
- </LinearLayout>
-
-</ScrollView>
diff --git a/mobile/android/base/crashreporter/res/values/colors.xml b/mobile/android/base/crashreporter/res/values/colors.xml
deleted file mode 100644
index 7eeab5b69..000000000
--- a/mobile/android/base/crashreporter/res/values/colors.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
- - License, v. 2.0. If a copy of the MPL was not distributed with this
- - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-<resources>
- <!-- Crash Reporter Colors -->
- <color name="textbox_background">#FFF</color>
- <color name="textbox_background_disabled">#DDD</color>
- <color name="textbox_stroke">#000</color>
- <color name="textbox_stroke_disabled">#666</color>
-</resources>
-
diff --git a/mobile/android/base/crashreporter/res/values/styles.xml b/mobile/android/base/crashreporter/res/values/styles.xml
deleted file mode 100644
index 17f5409e4..000000000
--- a/mobile/android/base/crashreporter/res/values/styles.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
- - License, v. 2.0. If a copy of the MPL was not distributed with this
- - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-<resources xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
- <!-- Crash Reporter Styles -->
- <style name="CrashReporter" />
-
- <style name="CrashReporter.EditText">
- <item name="android:background">@drawable/textbox_bg</item>
- <item name="android:padding">10dp</item>
- <item name="android:textAppearance">@style/TextAppearance</item>
- </style>
-</resources>