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
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user