Fix references to resources for Settings
Bug: 293810334 Test: m Settings Change-Id: Ie140278f492ef7e1c062ec1ecae2866c521a86aa
This commit is contained in:
@@ -77,10 +77,11 @@ public class UserAdapter extends BaseAdapter {
|
||||
if (userHandle == UserHandle.USER_CURRENT
|
||||
|| userHandle == ActivityManager.getCurrentUser()) {
|
||||
return resources.getString(PERSONAL_CATEGORY_HEADER,
|
||||
() -> context.getString(R.string.category_personal));
|
||||
() -> context.getString(
|
||||
com.android.settingslib.R.string.category_personal));
|
||||
} else {
|
||||
return resources.getString(WORK_CATEGORY_HEADER,
|
||||
() -> context.getString(R.string.category_work));
|
||||
() -> context.getString(com.android.settingslib.R.string.category_work));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user