Change tab text to sentense text

- Also remove duplicated string

Bug: 141601408
Test: manual
Change-Id: I840bdf4c12ca6d815d7c54092aa32a40c80d95e0
This commit is contained in:
Raff Tsai
2019-12-11 15:34:47 +08:00
parent 1e00dbf41c
commit c75aea1552
5 changed files with 9 additions and 13 deletions

View File

@@ -128,9 +128,9 @@ public class EnterpriseSetDefaultAppsListPreferenceController extends
final PreferenceCategory category = new PreferenceCategory(prefContext);
screen.addPreference(category);
if (userInfo.isManagedProfile()) {
category.setTitle(R.string.managed_device_admin_title);
category.setTitle(R.string.category_work);
} else {
category.setTitle(R.string.personal_device_admin_title);
category.setTitle(R.string.category_personal);
}
category.setOrder(i);
createPreferences(prefContext, category, mApps.get(i));