Populating some more accessibility events.

Change-Id: I7813abdd6dcc0979949caec9e31029486be0396d
This commit is contained in:
Winson Chung committed 2011-06-29 20:11:07 -07:00
1 parent e87b924efa
commit 6a0f57dfaf
7 files changed
+90 -3

No files matched your search

+7
View File
@@ -3477,4 +3477,11 @@ public class Workspace extends SmoothPagedView
@Override
public void syncPageItems(int page) {
}
@Override
protected String getCurrentPageDescription() {
int page = (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage;
return String.format(mContext.getString(R.string.workspace_scroll_format),
page + 1, getChildCount());
}
}