Merge "Focus handling null pointer exception during monkey tests." into ub-launcher3-burnaby
This commit is contained in:
commit
df41097194
2 files changed
+12
-3
No files matched your search
@@ -476,13 +476,14 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
|
||||
/**
|
||||
* Returns the index of the currently displayed page.
|
||||
*
|
||||
* @return The index of the currently displayed page.
|
||||
*/
|
||||
int getCurrentPage() {
|
||||
return mCurrentPage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the index of page to be shown immediately afterwards.
|
||||
*/
|
||||
int getNextPage() {
|
||||
return (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user