summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2019-05-20 19:48:14 -0700
committerJoe Onorato <joeo@google.com>2019-05-21 13:07:31 -0700
commit2ea4955fcdc3698216c04519724b3cab50fd33ab (patch)
treefa2fdecb4e92e211f3d4a2434cfeb07a7e717a3c /res/values
parentd6cd584e4f6f1371948c02b9010c5fd12145eaf6 (diff)
downloadandroid_packages_apps_PackageInstaller-2ea4955fcdc3698216c04519724b3cab50fd33ab.tar.gz
android_packages_apps_PackageInstaller-2ea4955fcdc3698216c04519724b3cab50fd33ab.tar.bz2
android_packages_apps_PackageInstaller-2ea4955fcdc3698216c04519724b3cab50fd33ab.zip
Show reason text from incident report in incident confirmation dialog.
Bug: 132890298 Test: bit GtsIncidentManagerTestCases:* Change-Id: I8b0823694bf30a2bf7dab145c3ce17e44a275ed6
Diffstat (limited to 'res/values')
-rw-r--r--res/values/attrs.xml1
-rw-r--r--res/values/colors.xml1
-rw-r--r--res/values/dimens.xml3
-rw-r--r--res/values/strings.xml6
4 files changed, 11 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index f8144d74..cc93effd 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -36,4 +36,5 @@
<!-- START: Car Settings Preferences -->
<attr name="carDividerColor" format="color"/>
<!-- END: Car Settings Preferences -->
+
</resources>
diff --git a/res/values/colors.xml b/res/values/colors.xml
index a5e85e16..277c8b8a 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -19,4 +19,5 @@
<color name="bigIconColor">#C8CCCE</color>
<color name="google_grey_800">#3C4043</color>
<color name="system_notification_accent_color">#ff607D8B</color>
+ <color name="incident_reason_bullet_color">#de000000</color>
</resources>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 04ec00ce..42c0fbec 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -53,6 +53,9 @@
<!-- Incident report confirmation -->
<dimen name="incident_image_width">150dp</dimen>
<dimen name="incident_image_height">200dp</dimen>
+ <dimen name="incident_reason_padding">32dp</dimen>
+ <dimen name="incident_reason_bullet_size">3dp</dimen>
+ <dimen name="incident_reason_bullet_indent">10dp</dimen>
<!-- Auto related dimensions -->
<dimen name="car_action_bar_height">@*android:dimen/car_app_bar_height</dimen>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index c03934da..fd242871 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -812,6 +812,12 @@
<!-- Title for the incident / bug report confirmation dialog. [CHAR LIMIT=50] -->
<string name="incident_report_dialog_title">Share Debugging Data</string>
+ <!-- Title text for introduction to incident / bug report confirmation dialog.
+ Following this text is a bulleted list of reasons that a bug is being collected (e.g. "bad
+ battery life detected"). Please try to keep this as short as possible (<40 chars if possible).
+ The dialog is getting full, but going over is ok if necessary. [CHAR LIMIT=60] -->
+ <string name="incident_report_dialog_intro">The system has detected a problem.</string>
+
<!-- Content for dialog shown when the user should confirm an incident / bug report.
[CHAR LIMIT=none] -->
<string name="incident_report_dialog_text">"<xliff:g id="app_name" example="Gmail">%1$s</xliff:g> is requesting to upload a bug report from this device taken on <xliff:g id="date" example="December 26, 2018">%2$s</xliff:g> at <xliff:g id="time" example="1:20 PM">%3$s</xliff:g>. Bug reports include personal information about your device or logged by apps, for example, user names, location data, device identifiers, and network information. Only share bug reports with people and apps you trust with this information.