Using context.getString for getting formatted strings, as it works better with different locales
Change-Id: I9639bb11197e656c5cdd3a4d63f913edcc0987cb
This commit is contained in:
@@ -4382,7 +4382,7 @@ public class Workspace extends PagedView
|
||||
|
||||
private String getPageDescription(int page) {
|
||||
int delta = numCustomPages();
|
||||
return String.format(getContext().getString(R.string.workspace_scroll_format),
|
||||
return getContext().getString(R.string.workspace_scroll_format,
|
||||
page + 1 - delta, getChildCount() - delta);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user