summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/bugreporthandler
diff options
context:
space:
mode:
authorPaul Chang <changpa@google.com>2019-12-18 09:26:30 +0800
committerPaul Chang <changpa@google.com>2019-12-18 10:07:05 +0800
commit45ca77862f92e046e0ab488f85423ff18a32a8b4 (patch)
treeaee5c481bb27762c7d0fa05bc2489785523f7f7c /src/com/android/settings/bugreporthandler
parent11b1642c82ddbb2645765ee589f6e45d448f390c (diff)
downloadpackages_apps_Settings-45ca77862f92e046e0ab488f85423ff18a32a8b4.tar.gz
packages_apps_Settings-45ca77862f92e046e0ab488f85423ff18a32a8b4.tar.bz2
packages_apps_Settings-45ca77862f92e046e0ab488f85423ff18a32a8b4.zip
Update subtext UI on Bug report handler settings
- Remove parentheses of the subtext on Bug report handler settings - https://screenshot.googleplex.com/TOO4FuW7O8Y BUG: 143017534 Test: Flash device and check the subtext Change-Id: Ia3bee7e87a763fc776f846a03ce380e583308e1d
Diffstat (limited to 'src/com/android/settings/bugreporthandler')
-rw-r--r--src/com/android/settings/bugreporthandler/BugReportHandlerPicker.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/settings/bugreporthandler/BugReportHandlerPicker.java b/src/com/android/settings/bugreporthandler/BugReportHandlerPicker.java
index 9c2ac9e6c8..8dbb6c6e6e 100644
--- a/src/com/android/settings/bugreporthandler/BugReportHandlerPicker.java
+++ b/src/com/android/settings/bugreporthandler/BugReportHandlerPicker.java
@@ -164,13 +164,13 @@ public class BugReportHandlerPicker extends DefaultAppPickerFragment {
private String getDescription(String handlerApp, int handlerUser) {
final Context context = getContext();
if (BugReportHandlerUtil.SHELL_APP_PACKAGE.equals(handlerApp)) {
- return context.getString(R.string.system_default_app);
+ return context.getString(R.string.system_default_app_subtext);
}
final UserHandle managedProfile = Utils.getManagedProfile(mUserManager);
if (managedProfile != null && managedProfile.getIdentifier() == handlerUser) {
- return context.getString(R.string.work_profile_app);
+ return context.getString(R.string.work_profile_app_subtext);
}
- return context.getString(R.string.personal_profile_app);
+ return context.getString(R.string.personal_profile_app_subtext);
}
private static class BugreportHandlerAppInfo extends DefaultAppInfo {