Saving/restoring current page in AppsCustomize. (5050168)

Change-Id: Ib868033a2b71383abc4569082675f391d3e4cc76
This commit is contained in:
Winson Chung
2011-07-25 11:53:08 -07:00
parent c273c5814d
commit 5afbf7bdd6
4 changed files with 85 additions and 4 deletions
+1 -1
View File
@@ -1640,7 +1640,7 @@ public abstract class PagedView extends ViewGroup {
// Set a new page as the current page if necessary
if (currentPage > -1) {
setCurrentPage(currentPage);
setCurrentPage(Math.min(getPageCount() - 1, currentPage));
}
// Mark each of the pages as dirty