Change tab text to sentense text
- Also remove duplicated string Bug: 141601408 Test: manual Change-Id: I840bdf4c12ca6d815d7c54092aa32a40c80d95e0
This commit is contained in:
@@ -136,13 +136,13 @@ public class AppFilterRegistry {
|
||||
mFilters[FILTER_APPS_PERSONAL] = new AppFilterItem(
|
||||
ApplicationsState.FILTER_PERSONAL,
|
||||
FILTER_APPS_PERSONAL,
|
||||
R.string.filter_personal_apps);
|
||||
R.string.category_personal);
|
||||
|
||||
// Work
|
||||
mFilters[FILTER_APPS_WORK] = new AppFilterItem(
|
||||
ApplicationsState.FILTER_WORK,
|
||||
FILTER_APPS_WORK,
|
||||
R.string.filter_work_apps);
|
||||
R.string.category_work);
|
||||
|
||||
// Usage access screen, never displayed.
|
||||
mFilters[FILTER_APPS_USAGE_ACCESS] = new AppFilterItem(
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user